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
IE9 Nightmare #141
Comments
oh. I afraid i have to spend some time to find a IE 9 browser case i don't have a windows. Actually, IE 9 have a dev tool can help you to debug. you can set some interrupt point to see which step is not working. |
I think it has something to do with getting data from a remote source i.e. |
@erswelljustin this is what At.js do while data is a string (in # load data from local or remote with callback
#
# @param data [Array|String] data to load.
_load: (data) ->
if typeof data is "string"
$.ajax(data, dataType: "json").done (data) => this.save(data)
else
this.save data it just use jQuery's ajax method. if you could, take a look at this. |
Sorry, do I have to have the coffee files included? |
oh. no. my bad. just in Model.prototype._load = function(data) {
if (typeof data === "string") {
return $.ajax(data, {
dataType: "json"
}).done((function(_this) {
return function(data) {
return _this.save(data);
};
})(this));
} else {
return this.save(data);
}
}; |
Thanks @ichord could you show an example in gist perhaps of how, I am a little confused, sorry & thanks! |
i have just had a try on IE 9, and it work fine. And i think that i'm not explain clearly. What i means is just to put some |
BTW. this is some tips how i debug in IE 9 |
oh..... i'm sorry and i really want to help. But it's so difficult that your website is blocked by GFW and i try to setup a VNP on a windows machine. but it not work well. may be you can do this to see if IE8 's json parser is the same with others. Model.prototype._load = function(data) {
if (typeof data === "string") {
return $.ajax(data, {
dataType: "json"
}).done((function(_this) {
return function(data) {
console.log(data); // set a interrupt point here.
return _this.save(data);
};
})(this));
} else {
return this.save(data);
}
}; |
I Understand mate, you are being really great so far so thanks for that, I am getting a |
I did read the readme and because I am supporting IE9, which is the problem, and up I proceeded, this is not being used in IE8, I Promise ;) |
i get little confuse. 😄 |
I have tested in almost every other browser and everything is fine and dandy however when I test in in IE9, nothing, I mean nothing no errors coming through and the script is firing I think as my callback->remote_filter logs are displaying
Is there something obvious here?
The text was updated successfully, but these errors were encountered: