mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-26 03:00:25 +00:00
fixed some of the IE bugs
This commit is contained in:
parent
748e91ba92
commit
1a730a9996
2 changed files with 1 additions and 2 deletions
|
|
@ -67,7 +67,7 @@ Browser.prototype = {
|
|||
script.src = url.replace('JSON_CALLBACK', callbackId);
|
||||
this.head.append(script);
|
||||
window[callbackId] = function(data){
|
||||
delete window[callbackId];
|
||||
window[callbackId] = undefined;
|
||||
callback(200, data);
|
||||
};
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -63,7 +63,6 @@ describe('browser', function(){
|
|||
window[url[1]]('data');
|
||||
expect(log).toEqual('200:data;');
|
||||
expect(typeof window[url[1]]).toEqual('undefined');
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue