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

Use native doc.getElementById when available #61

Merged
merged 1 commit into from
Aug 29, 2016

Conversation

bantic
Copy link
Contributor

@bantic bantic commented Aug 23, 2016

SimpleDOM doesn't have getElementById, but in a browser it is
more efficient to use the native getElementById instead of walking the
dom.

SimpleDOM doesn't have `getElementById`, but in a browser it is
more efficient to use the native `getElementById` instead of walking the
dom.
@chrislopresto
Copy link
Contributor

Looks good to me. Thoughts, @lukemelia?

@lukemelia lukemelia merged commit 3f0b1ff into yapplabs:master Aug 29, 2016
@lukemelia
Copy link
Contributor

Thanks @bantic!

@bantic bantic deleted the use-native-get-element-by-id branch October 11, 2016 16:15
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