fixed spacing
This commit is contained in:
parent
896f72311f
commit
98c43aff43
|
@ -163,14 +163,14 @@ function makeChangesetTracker(scheduler, apool, aceCallbacksProvider)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
||||||
// add forEach function to Array.prototype for IE8
|
// add forEach function to Array.prototype for IE8
|
||||||
if (!('forEach' in Array.prototype)) {
|
if (!('forEach' in Array.prototype)) {
|
||||||
Array.prototype.forEach= function(action, that /*opt*/) {
|
Array.prototype.forEach= function(action, that /*opt*/) {
|
||||||
for (var i= 0, n= this.length; i<n; i++)
|
for (var i= 0, n= this.length; i<n; i++)
|
||||||
if (i in this)
|
if (i in this)
|
||||||
action.call(that, this[i], i, this);
|
action.call(that, this[i], i, this);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get my authorID
|
// Get my authorID
|
||||||
var authorId = parent.parent.pad.myUserInfo.userId;
|
var authorId = parent.parent.pad.myUserInfo.userId;
|
||||||
|
|
|
@ -82,11 +82,11 @@ window.html10n = (function(window, document, undefined) {
|
||||||
|
|
||||||
// fix Array.prototype.forEach in IE
|
// fix Array.prototype.forEach in IE
|
||||||
if (!('forEach' in Array.prototype)) {
|
if (!('forEach' in Array.prototype)) {
|
||||||
Array.prototype.forEach= function(action, that /*opt*/) {
|
Array.prototype.forEach= function(action, that /*opt*/) {
|
||||||
for (var i= 0, n= this.length; i<n; i++)
|
for (var i= 0, n= this.length; i<n; i++)
|
||||||
if (i in this)
|
if (i in this)
|
||||||
action.call(that, this[i], i, this);
|
action.call(that, this[i], i, this);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue