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

Don't pass an object to goog.dom.createDom for the class name #2893

Merged
merged 1 commit into from
Oct 30, 2014

Conversation

fredj
Copy link
Member

@fredj fredj commented Oct 30, 2014

If the second argument to goog.dom.createDom is a string, then this is the className of the new element. No need to create an object.

Depends on #2781

@elemoine
Copy link
Member

+1

@tschaub
Copy link
Member

tschaub commented Oct 30, 2014

Did you mean to base 3313338 on master?

@fredj
Copy link
Member Author

fredj commented Oct 30, 2014

Did you mean to base 3313338 on master?

yes

If the second argument to goog.dom.createDom is a string, then this is
the className of the new element.
fredj added a commit that referenced this pull request Oct 30, 2014
Don't pass an object to goog.dom.createDom for the class name
@fredj fredj merged commit 127818f into openlayers:master Oct 30, 2014
@fredj fredj deleted the simplify-createDom branch October 30, 2014 16:58
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.

None yet

3 participants