#1 RequireJS "shim" is used incorrectly

Geschlossen
vor 8 Jahren geöffnet von nero · 0 Kommentare

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).
herby hat vor 8 Jahren geschlossen
Anmelden, um an der Diskussion teilzunehmen.
Kein Label
Kein Meilenstein
Niemand zuständig
1 Beteiligte
Laden…
Abbrechen
Speichern
Hier gibt es bis jetzt noch keinen Inhalt.