| author | Yves-Marie Haussonne <ymh.work+github@gmail.com> |
| Fri, 09 May 2014 18:35:26 +0200 | |
| changeset 656 | a84519031134 |
| parent 0 | 40c8f766c9b8 |
| permissions | -rw-r--r-- |
| 0 | 1 |
/* |
2 |
Copyright (c) 2009, Yahoo! Inc. All rights reserved. |
|
3 |
Code licensed under the BSD License: |
|
4 |
http://developer.yahoo.net/yui/license.txt |
|
5 |
version: 3.0.0b1 |
|
6 |
build: 1163 |
|
7 |
*/ |
|
8 |
YUI.add("queue-base",function(B){function A(){this._init();this.add.apply(this,arguments);}A.prototype={_init:function(){this._q=[];},next:function(){return this._q.shift();},add:function(){B.Array.each(B.Array(arguments,0,true),function(C){this._q.push(C);},this);return this;},size:function(){return this._q.length;}};B.Queue=A;},"3.0.0b1"); |