app/assets/javascripts/i18n/shims.js in i18n-js-3.9.0 vs app/assets/javascripts/i18n/shims.js in i18n-js-3.9.1

- old
+ new

@@ -31,11 +31,11 @@ return -1; } } // Production steps of ECMA-262, Edition 5, 15.4.4.18 -// Reference: http://es5.github.com/#x15.4.4.18 +// Reference: https://es5.github.com/#x15.4.4.18 // https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array/forEach if ( !Array.prototype.forEach ) { Array.prototype.forEach = function forEach( callback, thisArg ) { @@ -51,11 +51,11 @@ // 2. Let lenValue be the result of calling the Get internal method of O with the argument "length". // 3. Let len be ToUint32(lenValue). var len = O.length >>> 0; // Hack to convert O.length to a UInt32 // 4. If IsCallable(callback) is false, throw a TypeError exception. - // See: http://es5.github.com/#x9.11 + // See: https://es5.github.com/#x9.11 if ( {}.toString.call(callback) !== "[object Function]" ) { throw new TypeError( callback + " is not a function" ); } // 5. If thisArg was supplied, let T be thisArg; else let T be undefined. @@ -137,10 +137,10 @@ // method of O with the argument "length". // 3. Let len be ToUint32(lenValue). var len = O.length >>> 0; // 4. If IsCallable(callback) is false, throw a TypeError exception. - // See: http://es5.github.com/#x9.11 + // See: https://es5.github.com/#x9.11 if (typeof callback !== 'function') { throw new TypeError(callback + ' is not a function'); } // 5. If thisArg was supplied, let T be thisArg; else let T be undefined.