moog-require
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -8,2 +8,3 @@ var async = require('async'); | ||
module.exports = function(options) { | ||
var self = require('moog')(options); | ||
@@ -10,0 +11,0 @@ |
{ | ||
"name": "moog-require", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "moog-require extends moog with support for type definitions in local files and npm modules.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -717,25 +717,25 @@ var assert = require('assert'); | ||
// describe('error handling', function() { | ||
// it('should prevent cyclical module definitions', function(done) { | ||
// var synth = require('../index.js')({ | ||
// localModules: __dirname + '/project_modules', | ||
// root: module | ||
// }); | ||
describe('error handling', function() { | ||
it('should prevent cyclical module definitions', function(done) { | ||
var synth = require('../index.js')({ | ||
localModules: __dirname + '/project_modules', | ||
root: module | ||
}); | ||
// synth.define({ | ||
// 'myNewModuleOne': { | ||
// extend: 'myNewModuleTwo' | ||
// }, | ||
// 'myNewModuleTwo': { | ||
// extend: 'myNewModuleOne' | ||
// } | ||
// }); | ||
synth.define({ | ||
'myNewModuleOne': { | ||
extend: 'myNewModuleTwo' | ||
}, | ||
'myNewModuleTwo': { | ||
extend: 'myNewModuleOne' | ||
} | ||
}); | ||
// synth.createAll({ }, { }, function(err, modules) { | ||
// assert(err); | ||
// return done(); | ||
// }); | ||
// }); | ||
// }); | ||
synth.createAll({ }, { }, function(err, modules) { | ||
assert(err); | ||
return done(); | ||
}); | ||
}); | ||
}); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37669