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
These are the scripts I use to build CanJS 3 in AMD format. |
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
/*[global-shim-start]*/ | |
(function(exports, global, doEval){ // jshint ignore:line | |
var origDefine = global.define; | |
var get = function(name){ | |
var parts = name.split("."), | |
cur = global, | |
i; | |
for(i = 0 ; i < parts.length; i++){ | |
if(!cur) { |
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
x |