mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 06:25:51 +03:00
469aaa398c
resolves #1920 - updates all files to conform to style settings.
23 lines
461 B
JavaScript
23 lines
461 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;
|