Skip to content


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

arian opened this Issue · 0 comments

1 participant

MooTools member

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 added a commit that closed this issue
@arian arian Fixes #2289 - Transform the values passed into setProperty to strings…
…, so .toString() methods are called when an object is passed.
@arian arian closed this in 330b1d4
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.