Fails on IE due to missing string.trim() #20

Closed
djpowell opened this Issue Nov 29, 2011 · 1 comment

Comments

Projects
None yet
3 participants
@djpowell

IE8 doesn't have String.trim(), which prevents tryclj from working at all.

If you add trim() to String's prototype, then everything works well.

https://en.wikipedia.org/wiki/Trim_(programming)#JavaScript

@mpenet

This comment has been minimized.

Show comment Hide comment
@mpenet

mpenet Nov 29, 2011

Contributor

You can just use jQuery.trim, jquerys' will use the native version if available and uses an internal version if not.

Contributor

mpenet commented Nov 29, 2011

You can just use jQuery.trim, jquerys' will use the native version if available and uses an internal version if not.

@Raynes Raynes closed this in 2974c81 Nov 29, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment