Support for AMD loaders other than RequireJS
dchekanov opened this issue · 1 comments
dchekanov commented
AMD modules can be loaded by a number of different loaders, for example by SystemJS via jspm. Currently HTML5-History-API won't work with them because it assumes that requirejs
is available if define
is a function (https://github.com/devote/HTML5-History-API/blob/master/history.js#L19).
An additional simple check if requirejs
is available should fix this.
devote commented
Yes, you right!