-
Notifications
You must be signed in to change notification settings - Fork 98
IE7 - non-functioning; script error #49
Comments
+1 |
Any details on error type, line number, etc? I don't have a windows machine anymore, so hard for me to debug old-IE. |
For me problem is not in jReject itself but in jquery. |
That actually makes sense. I hadn't thought of that. Since 2.x has deprecated old versions of IE, it wouldn't make sense to run jReject on 2.x. Unless you were interested in specifically blocking modern browsers. It is rather frustrating though. Since the point of jReject is to block old browsers, having to partially support them by using jQuery 1.x kind of defeats the purpose. Nobody really wants to use two versions of jQuery either. I'll have to see if there is a middle ground, where somehow the key jQuery components in 2.x can be serviced to use on old-IE. Any alternative suggestions would be welcomed. |
@BluSyn What are your thoughts on moving away from a jQuery altogether plugin? I see you're using jQuery Browser Plugin right now but if we could replace that dependecy, bowser might be worth a look, maybe we could avoid this problem altogether. I only say this because you're dead-on about the point of jReject. As a dev I want to use jQuery 2.x because it gets rid of a lot of OLD browser bloat. Having to use two jQuery versions is not cool but having to use the 1.X version of jQuery is just as gross, if not worse. |
+1 SCRIPT1028: Expected identifier, string or number |
As @teokosmo said its an issue with an extra comma after the chrome link that makes the script invalid in IE7. Not specifically a jQuery issue although i'm sure there are issues if you use jQuery 2.0. I got the code from here http://jreject.turnwheel.com/ which seems to be different to the github code, so perhaps that just needs changing to github link or updating. |
jReject is currently broken in IE7.
Symptoms: a script error (in typical old-IE fashion it is terse and difficult to see exactly where the issue lies)
Steps to reproduce: View any jReject site in IE7 that has IE7 rejection enabled. The jReject demos page has the problem.
Update: the problem goes away when the script is compressed. Whitespace issue maybe? IE7 can sometimes is a bit weird about line-breaks and such when declaring lists of variables.
The text was updated successfully, but these errors were encountered: