Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
arian opened this Issue · 0 comments

1 participant

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