src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Collection.min.js
changeset 566 a1707c607eec
parent 565 318533413200
child 567 bca1726b1d85
--- a/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Collection.min.js	Sun Jul 19 02:02:20 2020 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-define("tinymce/ui/Collection",["tinymce/util/Tools","tinymce/ui/Selector","tinymce/util/Class"],function(d,a,b){var e,f,c=Array.prototype.push,g=Array.prototype.slice;f={length:0,init:function(h){if(h){this.add(h)}},add:function(i){var h=this;if(!d.isArray(i)){if(i instanceof e){h.add(i.toArray())}else{c.call(h,i)}}else{c.apply(h,i)}return h},set:function(k){var j=this,h=j.length,l;j.length=0;j.add(k);for(l=j.length;l<h;l++){delete j[l]}return j},filter:function(h){var k=this,n,j,p=[],o,m;if(typeof h==="string"){h=new a(h);m=function(i){return h.match(i)}}else{m=h}for(n=0,j=k.length;n<j;n++){o=k[n];if(m(o)){p.push(o)}}return new e(p)},slice:function(){return new e(g.apply(this,arguments))},eq:function(h){return h===-1?this.slice(h):this.slice(h,+h+1)},each:function(h){d.each(this,h);return this},toArray:function(){return d.toArray(this)},indexOf:function(k){var h=this,j=h.length;while(j--){if(h[j]===k){break}}return j},reverse:function(){return new e(d.toArray(this).reverse())},hasClass:function(h){return this[0]?this[0].hasClass(h):false},prop:function(i,l){var h=this,j,k;if(l!==j){h.each(function(m){if(m[i]){m[i](l)}});return h}k=h[0];if(k&&k[i]){return k[i]()}},exec:function(j){var h=this,i=d.toArray(arguments).slice(1);h.each(function(k){if(k[j]){k[j].apply(k,i)}});return h},remove:function(){var h=this.length;while(h--){this[h].remove()}return this}};d.each("fire on off show hide addClass removeClass append prepend before after reflow".split(" "),function(h){f[h]=function(){var i=d.toArray(arguments);this.each(function(j){if(h in j){j[h].apply(j,i)}});return this}});d.each("text name disabled active selected checked visible parent value data".split(" "),function(h){f[h]=function(i){return this.prop(h,i)}});e=b.extend(f);a.Collection=e;return e});
\ No newline at end of file