* Upgrade Moment.js to v2.7.0.
* (bug 67042) Added support for the HTML5 <rtc> tag for East Asian typography.
* Upgrade Sinon.JS to 1.10.3.
+* Added the es5-shim polyfill for older or non-compliant javascript engines.
=== Bug fixes in 1.24 ===
* (bug 49116) Footer copyright notice is now always displayed in user language
ArrayPrototype.splice.call(obj, 0, 0, 1);
return obj.length === 1;
}());
-var omittingSecondSpliceArgIsNoop = [1].splice(0).length === 0;
defineProperties(ArrayPrototype, {
splice: function splice(start, deleteCount) {
if (arguments.length === 0) { return []; }
if (arguments.length > 0 && typeof deleteCount !== 'number') {
args = _Array_slice_.call(arguments);
if (args.length < 2) {
- args.push(toInteger(deleteCount));
+ args.push(this.length - start);
} else {
args[1] = toInteger(deleteCount);
}
}
return array_splice.apply(this, args);
}
-}, !omittingSecondSpliceArgIsNoop || !spliceWorksWithEmptyObject);
+}, !spliceWorksWithEmptyObject);
// ES5 15.4.4.12
// http://es5.github.com/#x15.4.4.13