mirror of
https://github.com/BorysLevytskyi/BitwiseCmd.git
synced 2026-01-06 03:52:39 +01:00
Implemented templated views in script tags
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
(function(app){
|
||||
(function(app, is){
|
||||
app.modelView = function (modelCtor, builder) {
|
||||
var name = getKey(modelCtor);
|
||||
app.di.register(name, builder);
|
||||
@@ -18,4 +18,4 @@
|
||||
var str = func.toString();
|
||||
return str.substr(8, str.indexOf('(') - 8).trim();
|
||||
}
|
||||
})(window.app);
|
||||
})(window.app, window.is);
|
||||
Reference in New Issue
Block a user