Ai
2 Star 0 Fork 0

mirrors_WebReflection/interface

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
min.es5.js 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
Andrea Giammarchi 提交于 2017-06-20 17:05 +08:00 . simplified interface
/*! Copyright (c) 2017, Andrea Giammarchi, @WebReflection */
!function(t,e,o){"use strict";function n(t){function o(){return e.setPrototypeOf(t.apply(this,arguments)||this,o.prototype)}return e.setPrototypeOf(o.prototype,t.prototype),e.setPrototypeOf(o,t)}function r(){}function p(t,e){var o=u(e);"function"==typeof e?(delete o.prototype,f(t,o),f(t.prototype,u(e.prototype))):i(t.prototype,e)}function i(t,e){if(e instanceof r)f(t,u(e));else{for(var o=u(e),n=c(o),p=0,i=n.length;p<i;p++)o[n[p]].enumerable=!1;f(t,o)}}if(!("implements"in t)){var f=e.defineProperties,u=e.getOwnPropertyDescriptors,c=o.ownKeys;r.prototype=e.create(null),e.defineProperty(t,"implements",{configurable:!0,value:function(){for(var t=this===e,o=t?{}:n(this),r=t?o:o.prototype,p=0,i=arguments.length;p<i;p++)f(r,u(arguments[p]));return o}}),e.defineProperty(t,"interface",{configurable:!0,value:function(){for(var t="function"==typeof arguments[arguments.length-1],e=t?n(r):new r,o=t?p:i,f=0,u=arguments.length;f<u;f++)o(e,arguments[f]);return e}})}}(Function.prototype,Object,Reflect);
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_WebReflection/interface.git
git@gitee.com:mirrors_WebReflection/interface.git
mirrors_WebReflection
interface
interface
master

搜索帮助