Created
October 1, 2015 16:21
-
-
Save deniaz/5728859126ba51079639 to your computer and use it in GitHub Desktop.
Terrific.js Bug
This file contains 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'; | |
T.Module.Foo.Bar = T.createDecorator({ | |
start: function (resolve) { | |
var $ctx = $(this._ctx); | |
this.bar(); | |
this._parent.start(resolve); | |
}, | |
bar: function() {} | |
}); | |
}(T.$)); |
This file contains 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'; | |
T.Module.Foo = T.createModule({ | |
start: function(resolve) { | |
var $ctx = $(this._ctx); | |
console.log('Foo'); | |
resolve(); | |
} | |
}); | |
}(T.$)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment