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

.set('href', ...) doesn't trigger toString() #2289

Closed
arian opened this issue Feb 13, 2012 · 0 comments · Fixed by #2293
Closed

.set('href', ...) doesn't trigger toString() #2289

arian opened this issue Feb 13, 2012 · 0 comments · Fixed by #2293

Comments

@arian
Copy link
Member

arian commented Feb 13, 2012

Running the mootools-more specs, this one fails:

expect(new Element('a').set('href', new URI()).get('href')).toEqual(new URI().toString());

apparently .set('href', ...) used to call .toString() or something similar, but it doesn't anymore.

@arian arian closed this as completed in 330b1d4 Feb 16, 2012
cpojer added a commit to ibolmo/mootools-core that referenced this issue Feb 17, 2012
…ring

Fixes mootools#2289 - use '' + value for values passed into setProperty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant