Skip to content
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

remove the (unused) DOMParser shim #176

Merged
merged 1 commit into from
Apr 2, 2015

Conversation

Rayman
Copy link
Contributor

@Rayman Rayman commented Apr 2, 2015

The current DOMParser shim is not used, you can verify this by fixing the package.json:

"../util/DOMParser": "./src/util/shim/DOMParser.js"

The xmlshim package provides its own shim (which is already used in the roslibjs build). This pull request makes it more clear which shim is used.

@megawac
Copy link
Contributor

megawac commented Apr 2, 2015

This will include the xmlshim in the browser no?

@Rayman
Copy link
Contributor Author

Rayman commented Apr 2, 2015

xmlshim provides the browserify field in the package.json. This will result in this file being used as shim: https://github.com/znerol/node-xmlshim/blob/master/browser.js

The roslibjs build will be almost exactly be the same because this file was already used. The only difference is that it is now more clear.

@megawac
Copy link
Contributor

megawac commented Apr 2, 2015

Cool looks good in that case

rctoris added a commit that referenced this pull request Apr 2, 2015
remove the (unused) DOMParser shim
@rctoris rctoris merged commit 43d36ea into RobotWebTools:develop Apr 2, 2015
@Rayman Rayman deleted the fix-domparser-shim branch September 7, 2015 09:57
k-aguete pushed a commit to k-aguete/roslibjs that referenced this pull request Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants