We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I added x2js on my bower.json file
"x2js": "~1.2.0"
Then add in my main.js requirejs config file
paths: { 'x2js': '../vendor/x2js/xml2json.min' .... } shim: { 'x2js' : { exports : 'X2JS' }, .... 'admin-lte' : { deps: [ 'jquery', 'jquery.bootstrap', 'toastr', 'bootstrap-datepicker', 'jquery.transform', 'x2js' ] } }
In my script
var x2js = new X2JS(); var json_obj = x2js.xml_str2json(xml_str); console.log('module [json obj]: ', json_obj);
I've this error:
ReferenceError: X2JS is not defined
The text was updated successfully, but these errors were encountered:
any leads to this issue? I am facing the same issue
Sorry, something went wrong.
No branches or pull requests
I added x2js on my bower.json file
"x2js": "~1.2.0"
Then add in my main.js requirejs config file
In my script
I've this error:
ReferenceError: X2JS is not defined
The text was updated successfully, but these errors were encountered: