Closed jairovsky closed 9 years ago
Hi!
Reading i18next's code (https://github.com/i18next/i18next/blob/master/i18next.js#L93) I found that, when jQuery is a global, i18next registers itself inside jQuery's $, and not inside window.
$
window
Problem is that, currently, ng-i18next only verifies if i18next is registered into window (see https://github.com/i18next/ng-i18next/blob/master/src/provider.js#L21).
Is there a possibility to fix this?
Really sorry for opening this issue. After some more research I found that i18next registers for both $ and window, and I'm actually being affected by #81. This has nothing to do with jQuery.
Hi!
Reading i18next's code (https://github.com/i18next/i18next/blob/master/i18next.js#L93) I found that, when jQuery is a global, i18next registers itself inside jQuery's
$
, and not insidewindow
.Problem is that, currently, ng-i18next only verifies if i18next is registered into
window
(see https://github.com/i18next/ng-i18next/blob/master/src/provider.js#L21).Is there a possibility to fix this?