UNPKG

1.07 kBJavaScriptView Raw
1/*
2Copyright (c) 2019-present NAVER Corp.
3name: @egjs/children-differ
4license: MIT
5author: NAVER Corp.
6repository: https://github.com/naver/egjs-children-differ
7version: 1.0.1
8*/
9!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("@egjs/list-differ")):"function"==typeof define&&define.amd?define(["@egjs/list-differ"],e):((t=t||self).eg=t.eg||{},t.eg.ChildrenDiffer=e(t.eg.ListDiffer))}(this,function(n){"use strict";var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var e,r="function"==typeof Map?void 0:(e=0,function(t){return t.__DIFF_KEY__||(t.__DIFF_KEY__=++e)}),t=function(e){function t(t){return void 0===t&&(t=[]),e.call(this,t,r)||this}return function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(t,e),t}(n);return t.diff=function(t,e){return n.diff(t,e,r)},t});
10//# sourceMappingURL=children-differ.min.js.map