Closed anwalkers closed 8 years ago
I have all the example, unit tests, and have this library integrated in my application from my forked git code repo. The biggest change was removing the initialization of i18next out of the provider and onto the window prior to bootstrapping angular. It is a much cleaner solution. I am going to update the documentation in my fork for the developers in my organization. They will be using the forked version until this is potentially merged.
Someone will need to add the typescript, typings, and rollup.js to the build process if you want to have a green build. I can do it if I can get contributor rights.
Andy
I got the build green. I am updating the docs...
Wow, awesome :+1: I was on vacation for the last week, so I did'n have the time to merge this. Thank you very much :)
All I can say is a $filter backed by a $provider that loads its data asynchronously is asking for trouble...
$i18next('key')
will need to change to$i18next.t('key')
.You will need to do the following to get the branch compiling...
You know the rest of the drill. I was using VS Code as my editor, but all the major editors have TypeScript Support.
I am going to try upgrading my application to use the code from my repo and see how it goes. I'll let you know the result