From b08a6e522f3c98c81377ac10e58fd4020b3b47e6 Mon Sep 17 00:00:00 2001 From: goldquest Date: Wed, 17 Apr 2013 16:51:21 +0200 Subject: IE8 complains, if catch block is missing --- src/static/js/changesettracker.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/static/js/changesettracker.js') diff --git a/src/static/js/changesettracker.js b/src/static/js/changesettracker.js index d0c91e3d..92d55092 100644 --- a/src/static/js/changesettracker.js +++ b/src/static/js/changesettracker.js @@ -57,6 +57,7 @@ function makeChangesetTracker(scheduler, apool, aceCallbacksProvider) { changeCallback(); } + catch(pseudoError) {} finally { changeCallbackTimeout = null; -- cgit v1.2.3 From 566034ddf0d3ede031389b58253939967a170343 Mon Sep 17 00:00:00 2001 From: goldquest Date: Wed, 17 Apr 2013 16:51:43 +0200 Subject: IE8 don't knows the Array.forEach function (simple version fix) --- src/static/js/changesettracker.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/static/js/changesettracker.js') diff --git a/src/static/js/changesettracker.js b/src/static/js/changesettracker.js index 92d55092..b93fcc17 100644 --- a/src/static/js/changesettracker.js +++ b/src/static/js/changesettracker.js @@ -162,6 +162,16 @@ function makeChangesetTracker(scheduler, apool, aceCallbacksProvider) } else { + + // add forEach function to Array.prototype for IE8 + if (!('forEach' in Array.prototype)) { + Array.prototype.forEach= function(action, that /*opt*/) { + for (var i= 0, n= this.length; i Date: Wed, 17 Apr 2013 18:17:14 +0200 Subject: fixed spacing --- src/static/js/changesettracker.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/static/js/changesettracker.js') diff --git a/src/static/js/changesettracker.js b/src/static/js/changesettracker.js index b93fcc17..7e95cc75 100644 --- a/src/static/js/changesettracker.js +++ b/src/static/js/changesettracker.js @@ -163,14 +163,14 @@ function makeChangesetTracker(scheduler, apool, aceCallbacksProvider) else { - // add forEach function to Array.prototype for IE8 - if (!('forEach' in Array.prototype)) { - Array.prototype.forEach= function(action, that /*opt*/) { - for (var i= 0, n= this.length; i