Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Avatar for KuCalc : devops.
Download
50663 views
1
/*
2
* app.js: Core Application object for managing plugins and features in broadway
3
*
4
* (C) 2011, Nodejitsu Inc.
5
* MIT LICENSE
6
*
7
*/
8
9
var fs = require('fs'),
10
path = require('path'),
11
util = require('util'),
12
broadway = require('broadway'),
13
directories = broadway.common.directories,
14
constants = require('./constants');
15
16
var App = exports.App = function (options) {
17
broadway.App.call(this, options);
18
};
19
20
//
21
// Inherit from `broadway.App`.
22
//
23
util.inherits(App, broadway.App);
24
25
//
26
// ### function init (callback)
27
// #### @callback {function} Continuation to respond to when complete.
28
// Initializes this instance of `flatiron.App`
29
//
30
App.prototype.init = function () {
31
broadway.App.prototype.init.apply(this, Array.prototype.slice.call(arguments));
32
};
33