summaryrefslogtreecommitdiffstats
path: root/js/vendor/es6-shim/es6-sham.min.js
blob: 47e04c644092128434519ec6c1a4763038e8045f (plain)
1
2
(function(t){"use strict";var r=new Function("return this;");var e=function(){var t=r();var e=t.Object;if(!e.setPrototypeOf)(function(){var t=function(t,r){i(r).forEach(function(e){o(t,e,a(r,e))});return t};var r=function(r,e){return t(n(e),r)};var n=e.create;var o=e.defineProperty;var f=e.getPrototypeOf;var i=e.getOwnPropertyNames;var a=e.getOwnPropertyDescriptor;var c=e.prototype;var u,_;try{u=a(c,"__proto__").set;u.call({},null);_=function(t,r){u.call(t,r);return t}}catch(p){u={__proto__:null};if(u instanceof e){_=r}else{u.__proto__=c;if(u instanceof e){_=function(t,r){t.__proto__=r;return t}}else{_=function(t,e){return f(t)?(t.__proto__=e,t):r(t,e)}}}}e.setPrototypeOf=_})()};if(typeof define==="function"&&define.amd){define(e)}else{e()}})();
//# sourceMappingURL=es6-sham.map