Skip to content
This repository

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

Closed
arian opened this Issue February 13, 2012 · 0 comments

1 participant

Arian Stolwijk
Arian Stolwijk
Owner

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 Stolwijk arian closed this issue from a commit February 16, 2012
Arian Stolwijk Fixes #2289 - Transform the values passed into setProperty to strings…
…, so .toString() methods are called when an object is passed.
330b1d4
Arian Stolwijk arian closed this in 330b1d4 February 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.