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

cannot use in ie8 #226

Open
zhaozailin opened this issue Oct 14, 2015 · 4 comments
Open

cannot use in ie8 #226

zhaozailin opened this issue Oct 14, 2015 · 4 comments

Comments

@zhaozailin
Copy link

sorry for my poor english,I use it for backbone project,the version of jquery is 1.11.3,when I call the view.modelBinder.bind(....), jquery encounter a error , it seems that ModelBinder use jQuery.event.add method that has code:types = ( types || "" ).match( rnotwhite ) || [ "" ]; But ie8 cannot support match method. anyone has a solution? thanks very much! I'm so like this plugin!

@platinumazure
Copy link
Contributor

You're talking about String.prototype.match not being defined, right?
Could we rewrite that to use RegExp.prototype.test?
On Oct 14, 2015 2:55 AM, "zhaozailin" [email protected] wrote:

sorry for my poor english,I use it for backbone project,the version of
jquery is 1.11.3,when I call the view.modelBinder.bind(....), jquery
encounter a error , it seems that ModelBinder use jQuery.event.add method
that has code:types = ( types || "" ).match( rnotwhite ) || [ "" ]; But ie8
cannot support match method. anyone has a solution? thanks very much! I'm
so like this plugin!


Reply to this email directly or view it on GitHub
#226.

@zhaozailin
Copy link
Author

yes,i hope 'test' is suit for ie8, thanks for reply me

@amakhrov
Copy link
Contributor

String.prototype.match exists in IE8 (and I believe in earlier versions too).
There issue must be with something else.

@platinumazure
Copy link
Contributor

@zhaozailin Can you please provide more information? Exact error messages and line numbers, as well as any relevant code (e.g., View code, especially bindings) would help us track this down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants