1.0.4 • Published 2 years ago

angular-x2js-wrapper v1.0.4

Weekly downloads
6
License
MIT
Repository
github
Last release
2 years ago

angular-x2js-wrapper

Version build release Downloads (total) License: MIT

npm.io

I made this repo because I had troubles with X2JS in a webpack/angularjs/Meteor based application. If you also face this kind of issues using angular-x2js (seems no more maintained):

ReferenceError: X2JS is not defined

The solution is to replace the dependency on angular-x2js by angular-x2js-wrapper in your package.json file.

And update Angular dependency injection accordingly:

angular.module('your_module_name', ['fmd.x2js'])

Actually angular-x2js works only if X2JS variable is defined directly in window.

On the other hand, angular-x2js-wrapper doesn't require you to manually handle external dependencies, it's working out of the box. Enjoy it! 🎉

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago