-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
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
One Single source JS file to be used in browsers #19
Comments
To have a file for browsers use, I use browserify. You can try it. |
Hi Nicolas, i tried the following:
But I am getting the error: "uncaught ReferenceError: XMLWriter is not defined(…)" while try to instantiate XMLWriter. What am i missing? Please advice Also if i try using xml-writer.js as is by commenting out the line - "module.exports = XMLWriter;" it works fine. Does that mean this file is already browserified? |
Hi @gandhirajan , I am also getting the error: "uncaught ReferenceError: XMLWriter is not defined(…)" while try to instantiate XMLWriter. Thanks - Siddharth |
@siddharthnaik7 , we were planning to use this earlier for xml building but later decided to use this - https://github.com/oozcitak/xmlbuilder-js So i m not sure whether someone managed to resolve this. |
@gandhirajan thanks for your input. |
Hi, Is it possible to get single JS file with the complete source that do not require nodejs depedency to be used in the browser by including it in HTML? Is it possible by any chance?
The text was updated successfully, but these errors were encountered: