This commit is contained in:
Michael Teeuw 2016-04-18 20:03:12 +02:00
parent 6c47de0170
commit 3892ce3ed4

View File

@ -433,4 +433,8 @@ var MM = (function() {
})();
// Add polyfill for Object.assign.
if (typeof Object.assign != 'function') { (function () { Object.assign = function (target) { 'use strict'; if (target === undefined || target === null) { throw new TypeError('Cannot convert undefined or null to object'); } var output = Object(target); for (var index = 1; index < arguments.length; index++) { var source = arguments[index]; if (source !== undefined && source !== null) { for (var nextKey in source) { if (source.hasOwnProperty(nextKey)) { output[nextKey] = source[nextKey]; } } } } return output; }; })(); }
MM.init();