~ted/lazr-js/annoying-debug-message

« back to all changes in this revision

Viewing changes to src-js/lazrjs/yui/collection/arraylist-min.js

  • Committer: Launchpad Patch Queue Manager
  • Date: 2010-09-09 14:20:30 UTC
  • mfrom: (182.1.3 yui-3.2)
  • Revision ID: launchpad@pqm.canonical.com-20100909142030-13w6vo0ixfysxc15
[r=beuno] Update lazr-js to yui-3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
3
3
Code licensed under the BSD License:
4
4
http://developer.yahoo.com/yui/license.html
5
 
version: 3.1.2
6
 
build: 56
 
5
version: 3.2.0
 
6
build: 2676
7
7
*/
8
 
YUI.add("arraylist",function(E){var D=E.Array,C=D.each,A;function B(F){if(F!==undefined){this._items=E.Lang.isArray(F)?F:D(F);}else{this._items=this._items||[];}}A={item:function(F){return this._items[F];},each:function(G,F){C(this._items,function(I,H){I=this.item(H);G.call(F||I,I,H,this);},this);return this;},some:function(G,F){return D.some(this._items,function(I,H){I=this.item(H);return G.call(F||I,I,H,this);},this);},indexOf:function(F){return D.indexOf(this._items,F);},size:function(){return this._items.length;},isEmpty:function(){return !this.size();}};A._item=A.item;B.prototype=A;E.mix(B,{addMethod:function(F,G){G=D(G);C(G,function(H){F[H]=function(){var J=D(arguments,0,true),I=[];C(this._items,function(M,L){M=this._item(L);var K=M[H].apply(M,J);if(K!==undefined&&K!==M){I.push(K);}},this);return I.length?I:this;};});}});E.ArrayList=B;},"3.1.2");
 
 
b'\\ No newline at end of file'
 
8
YUI.add("arraylist",function(e){var d=e.Array,c=d.each,a;function b(f){if(f!==undefined){this._items=e.Lang.isArray(f)?f:d(f);}else{this._items=this._items||[];}}a={item:function(f){return this._items[f];},each:function(g,f){c(this._items,function(j,h){j=this.item(h);g.call(f||j,j,h,this);},this);return this;},some:function(g,f){return d.some(this._items,function(j,h){j=this.item(h);return g.call(f||j,j,h,this);},this);},indexOf:function(f){return d.indexOf(this._items,f);},size:function(){return this._items.length;},isEmpty:function(){return !this.size();}};a._item=a.item;b.prototype=a;e.mix(b,{addMethod:function(f,g){g=d(g);c(g,function(h){f[h]=function(){var j=d(arguments,0,true),i=[];c(this._items,function(m,l){m=this._item(l);var k=m[h].apply(m,j);if(k!==undefined&&k!==m){i.push(k);}},this);return i.length?i:this;};});}});e.ArrayList=b;},"3.2.0");
 
 
b'\\ No newline at end of file'