#1 RequireJS "shim" is used incorrectly

已關閉
nero8 年之前創建 · 0 條評論

Originally at 2015-01-21T10:27:43Z by Herbert Vojčík closed at 2016-04-25T20:39:50Z

RequireJS "shim" is used here to add dependencies to existing AMD module (amber/boot). This is not correct use of it.

Another solution must be found. Possibilities are using the "map trick" (as used for jQuery.noConflict in RequireJS docs), or hooking es5-shim and es5-sham to browser-compatibility (which is not not AMD module, though it will break once it's changed to AMD).

Originally at 2015-01-21T10:27:43Z by Herbert Vojčík closed at 2016-04-25T20:39:50Z RequireJS "shim" is used here to add dependencies to existing AMD module (amber/boot). This is not correct use of it. Another solution must be found. Possibilities are using the "map trick" (as used for jQuery.noConflict in RequireJS docs), or hooking es5-shim and es5-sham to browser-compatibility (which is not not AMD module, though it will break once it's changed to AMD).
herby8 年之前 關閉
登入 才能加入這對話。
未選擇標籤
未選擇里程碑
未指派成員
1 參與者
正在加載...
取消
保存
尚未有任何內容