#1 RequireJS "shim" is used incorrectly

Zavřený
otevřeno před 8 roky uživatelem nero · 0 komentářů

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).
Přihlaste se pro zapojení do konverzace.
Bez štítku
Bez milníku
Bez zpracovatele
1 účastníků
Načítání...
Zrušit
Uložit
Není zde žádný obsah.