Front end of the Slack clone application.

async.js 304B

123456789101112131415
  1. 'use strict'
  2. var runner = require('./runner')
  3. var schemas = require('./schemas')
  4. module.exports = function (data, cb) {
  5. return runner(schemas.har, data, cb)
  6. }
  7. Object.keys(schemas).map(function (name) {
  8. module.exports[name] = function (data, cb) {
  9. return runner(schemas[name], data, cb)
  10. }
  11. })