Last active
January 2, 2018 15:23
-
-
Save dlueth/b57d739d7546a9f1e8ec47a7c82b32fc to your computer and use it in GitHub Desktop.
Qoopido.demand: Extended module with configuration settings - see https://github.com/dlueth/qoopido.demand for further details
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
function definition(demand, provide, path, isObject) { | |
var settings; | |
function onPostConfigure(options) { | |
settings = isObject(options) ? options : {}; | |
} | |
demand.on('postConfigure:' + path, onPostConfigure); | |
function MyExtendedModule() { | |
} | |
MyExtendedModule.prototype = { | |
}; | |
return MyExtendedModule; | |
} | |
provide([ 'demand', 'provide', 'path', '/demand/validator/isObject' ], definition); | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment