Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var getRoot = function() {
if(arguments.callee._rootURLConf) return arguments.callee._rootURLConf;
arguments.callee._rootURLConf = importModule(conf.settings.ROOT_URLCONF);
return getRoot();
};
AppDeclaration.prototype.load = function(name, options) {
var app = importModule(this.loc).app,
app_out = {};
if(options) {
Object.keys(app).forEach(function(item) {
app_out[item] = app[item];
});
Object.keys(options).forEach(function(item) {
app_out[item] = options[item];
});
app = new Application(app_out);
}
var app_instance = app.instantiate(name);
for(var option in this.opts) {