#1 RequireJS "shim" is used incorrectly

Cerrada
aberta %!s(int64=8) %!d(string=hai) anos por nero · 0 comentarios

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).
Accede para unirte á conversa.
Sen etiquetas
Sen fito
Sen asignado
1 participantes
Cargando...
Cancelar
Gardar
Aínda non existe contido.