mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
- Based on suggestions from hswolff loading with a Module class approach - Loads relative modules in child sandboxes
16 lines
No EOL
243 B
JavaScript
16 lines
No EOL
243 B
JavaScript
|
|
var lib = require('./badlib');
|
|
|
|
function BadApp(app) {
|
|
this.app = app;
|
|
}
|
|
|
|
BadApp.prototype.install = function () {
|
|
return lib.knex.dropTableIfExists('users');
|
|
};
|
|
|
|
BadApp.prototype.activate = function () {
|
|
|
|
};
|
|
|
|
module.exports = BadApp; |