mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-16 20:43:01 +03:00
6bcc08e874
- this is needed to make #6925 mergable
23 lines
467 B
JavaScript
23 lines
467 B
JavaScript
var path = require('path'),
|
|
util = require('./goodlib.js'),
|
|
nested = require('./nested/goodnested');
|
|
|
|
function GoodApp(app) {
|
|
this.app = app;
|
|
}
|
|
|
|
GoodApp.prototype.install = function () {
|
|
// Goes through app to do data
|
|
this.app.something = 42;
|
|
this.app.util = util;
|
|
this.app.nested = nested;
|
|
this.app.path = path.join(__dirname, 'good.js');
|
|
|
|
return true;
|
|
};
|
|
|
|
GoodApp.prototype.activate = function () {
|
|
};
|
|
|
|
module.exports = GoodApp;
|