Permalink
Browse files

Gallery Build Tag: gallery-2011.03.16-21-24

  • Loading branch information...
1 parent 124d304 commit c9f473d27739202445cd65a362f2393af5276d72 YUI Builder committed Mar 16, 2011
Showing with 3,925 additions and 937 deletions.
  1. +79 −0 build/gallery-asynchronouscommandqueue/gallery-asynchronouscommand-debug.js
  2. +1 −0 build/gallery-asynchronouscommandqueue/gallery-asynchronouscommand-min.js
  3. +79 −0 build/gallery-asynchronouscommandqueue/gallery-asynchronouscommand.js
  4. +115 −0 build/gallery-asynchronouscommandqueue/gallery-asynchronouscommandqueue-base-debug.js
  5. +1 −0 build/gallery-asynchronouscommandqueue/gallery-asynchronouscommandqueue-base-min.js
  6. +115 −0 build/gallery-asynchronouscommandqueue/gallery-asynchronouscommandqueue-base.js
  7. +3 −3 build/gallery-asynchronouscommandqueue/gallery-asynchronouscommandqueue-debug.js
  8. +1 −1 build/gallery-asynchronouscommandqueue/gallery-asynchronouscommandqueue-min.js
  9. +3 −3 build/gallery-asynchronouscommandqueue/gallery-asynchronouscommandqueue.js
  10. +2 −0 build/gallery-carousel/assets/gallery-carousel-core.css
  11. +3 −3 build/gallery-carousel/assets/skins/sam/gallery-carousel-skin.css
  12. +1 −1 build/gallery-carousel/assets/skins/sam/gallery-carousel.css
  13. +522 −436 build/gallery-carousel/gallery-carousel-debug.js
  14. +2 −2 build/gallery-carousel/gallery-carousel-min.js
  15. +515 −429 build/gallery-carousel/gallery-carousel.js
  16. +626 −0 build/gallery-complexnumber/gallery-complexnumber-debug.js
  17. +1 −0 build/gallery-complexnumber/gallery-complexnumber-min.js
  18. +626 −0 build/gallery-complexnumber/gallery-complexnumber.js
  19. +16 −4 build/gallery-graphics-svg/gallery-graphics-svg-debug.js
  20. +2 −2 build/gallery-graphics-svg/gallery-graphics-svg-min.js
  21. +16 −4 build/gallery-graphics-svg/gallery-graphics-svg.js
  22. +17 −9 build/gallery-graphics-vml/gallery-graphics-vml-debug.js
  23. +2 −2 build/gallery-graphics-vml/gallery-graphics-vml-min.js
  24. +17 −9 build/gallery-graphics-vml/gallery-graphics-vml.js
  25. +1 −1 build/gallery-graphics/gallery-graphics-debug.js
  26. +1 −1 build/gallery-graphics/gallery-graphics-min.js
  27. +1 −1 build/gallery-graphics/gallery-graphics.js
  28. +9 −5 build/gallery-io-multiresponse/gallery-io-multiresponse-debug.js
  29. +1 −1 build/gallery-io-multiresponse/gallery-io-multiresponse-min.js
  30. +9 −5 build/gallery-io-multiresponse/gallery-io-multiresponse.js
  31. +159 −0 build/gallery-math/gallery-math-debug.js
  32. +1 −0 build/gallery-math/gallery-math-min.js
  33. +159 −0 build/gallery-math/gallery-math.js
  34. +9 −7 build/gallery-nodelist-extras/gallery-nodelist-extras-debug.js
  35. +1 −1 build/gallery-nodelist-extras/gallery-nodelist-extras-min.js
  36. +9 −7 build/gallery-nodelist-extras/gallery-nodelist-extras.js
  37. +104 −0 build/gallery-scroll-beacon/gallery-scroll-beacon-debug.js
  38. +1 −0 build/gallery-scroll-beacon/gallery-scroll-beacon-min.js
  39. +104 −0 build/gallery-scroll-beacon/gallery-scroll-beacon.js
  40. +4 −0 build/gallerycss-xarno-skins/gallerycss-xarno-skins-min.css
  41. +587 −0 build/gallerycss-xarno-skins/gallerycss-xarno-skins.css
@@ -0,0 +1,79 @@
+YUI.add('gallery-asynchronouscommand', function(Y) {
+
+'use strict';
+
+var _class;
+
+_class = function (config) {
+ _class.superclass.constructor.call(this, config);
+};
+
+_class.ATTRS = {
+ args: {
+ value: [],
+ writeOnce: 'initOnly'
+ },
+ completed: {
+ readOnly: true,
+ value: false
+ },
+ context: {
+ value: Y.config.win,
+ writeOnce: 'initOnly'
+ },
+ delay: {
+ readOnly: true,
+ value: 0
+ },
+ fn: {
+ value: function (asynchronousCommand) {
+ asynchronousCommand.fire('complete');
+ },
+ writeOnce: 'initOnly'
+ },
+ started: {
+ readOnly: true,
+ value: false
+ }
+};
+_class.NAME = 'AsynchronousCommand';
+
+Y.extend(_class, Y.Base, {
+ execute: function () {
+ Y.later(this.get('delay'), this, function () {
+ this.fire('start');
+ this.get('fn').apply(this.get('context'), this.get('args'));
+ });
+ return this;
+ },
+ initializer: function () {
+ this.publish('complete', {
+ fireOnce: true
+ });
+ this.publish('start', {
+ fireOnce: true
+ });
+
+ var args = this.get('args');
+
+ if (!Y.Lang.isArray(args)) {
+ args = [args];
+ }
+
+ args.unshift(this);
+ this._set('args', args);
+
+ this.on('complete', function () {
+ this._set('completed', true);
+ }, this);
+
+ this.on('start', function () {
+ this._set('started', true);
+ }, this);
+ }
+});
+
+Y.AsynchronousCommand = _class;
+
+
+}, 'gallery-2011.03.16-21-24' ,{requires:['base'], skinnable:false});
@@ -0,0 +1 @@
+YUI.add("gallery-asynchronouscommand",function(b){var a;a=function(c){a.superclass.constructor.call(this,c);};a.ATTRS={args:{value:[],writeOnce:"initOnly"},completed:{readOnly:true,value:false},context:{value:b.config.win,writeOnce:"initOnly"},delay:{readOnly:true,value:0},fn:{value:function(c){c.fire("complete");},writeOnce:"initOnly"},started:{readOnly:true,value:false}};a.NAME="AsynchronousCommand";b.extend(a,b.Base,{execute:function(){b.later(this.get("delay"),this,function(){this.fire("start");this.get("fn").apply(this.get("context"),this.get("args"));});return this;},initializer:function(){this.publish("complete",{fireOnce:true});this.publish("start",{fireOnce:true});var c=this.get("args");if(!b.Lang.isArray(c)){c=[c];}c.unshift(this);this._set("args",c);this.on("complete",function(){this._set("completed",true);},this);this.on("start",function(){this._set("started",true);},this);}});b.AsynchronousCommand=a;},"gallery-2011.03.16-21-24",{requires:["base"],skinnable:false});
@@ -0,0 +1,79 @@
+YUI.add('gallery-asynchronouscommand', function(Y) {
+
+'use strict';
+
+var _class;
+
+_class = function (config) {
+ _class.superclass.constructor.call(this, config);
+};
+
+_class.ATTRS = {
+ args: {
+ value: [],
+ writeOnce: 'initOnly'
+ },
+ completed: {
+ readOnly: true,
+ value: false
+ },
+ context: {
+ value: Y.config.win,
+ writeOnce: 'initOnly'
+ },
+ delay: {
+ readOnly: true,
+ value: 0
+ },
+ fn: {
+ value: function (asynchronousCommand) {
+ asynchronousCommand.fire('complete');
+ },
+ writeOnce: 'initOnly'
+ },
+ started: {
+ readOnly: true,
+ value: false
+ }
+};
+_class.NAME = 'AsynchronousCommand';
+
+Y.extend(_class, Y.Base, {
+ execute: function () {
+ Y.later(this.get('delay'), this, function () {
+ this.fire('start');
+ this.get('fn').apply(this.get('context'), this.get('args'));
+ });
+ return this;
+ },
+ initializer: function () {
+ this.publish('complete', {
+ fireOnce: true
+ });
+ this.publish('start', {
+ fireOnce: true
+ });
+
+ var args = this.get('args');
+
+ if (!Y.Lang.isArray(args)) {
+ args = [args];
+ }
+
+ args.unshift(this);
+ this._set('args', args);
+
+ this.on('complete', function () {
+ this._set('completed', true);
+ }, this);
+
+ this.on('start', function () {
+ this._set('started', true);
+ }, this);
+ }
+});
+
+Y.AsynchronousCommand = _class;
+
+
+}, 'gallery-2011.03.16-21-24' ,{requires:['base'], skinnable:false});
@@ -0,0 +1,115 @@
+YUI.add('gallery-asynchronouscommandqueue-base', function(Y) {
+
+'use strict';
+
+var _class;
+
+_class = function (config) {
+ _class.superclass.constructor.call(this, config);
+};
+
+_class.ATTRS = {
+ completed: {
+ readOnly: true,
+ value: false
+ },
+ paused: {
+ value: false
+ },
+ started: {
+ readOnly: true,
+ value: false
+ },
+ queue: {
+ value: [],
+ writeOnce: 'initOnly'
+ }
+};
+_class.NAME = 'AsynchronousCommandQueue';
+
+Y.extend(_class, Y.Base, {
+ addCommand: function (asynchronousCommand) {
+ this.get('queue').push(asynchronousCommand);
+ return this;
+ },
+ getCommandCount: function () {
+ return this.get('queue.length');
+ },
+ initializer: function () {
+ this.publish('complete', {
+ fireOnce: true
+ });
+ this.publish('pause');
+ this.publish('resume');
+ this.publish('start', {
+ fireOnce: true
+ });
+
+ this.on('complete', function (eventFacade, response, args) {
+ this._set('completed', true);
+ }, this);
+
+ this.on('start', function (eventFacade, response, args) {
+ this._set('started', true);
+ }, this);
+ },
+ pauseQueue: function () {
+ this.set('paused', true);
+ this.fire('pause');
+ return this;
+ },
+ resumeQueue: function () {
+ this.set('paused', false);
+ this.fire('resume');
+ return this.startQueue();
+ },
+ startAll: function () {
+ var commandCount,
+ completeCount = 0,
+ i,
+ startCommand,
+ queue = this.get('queue');
+
+ startCommand = function (asynchronousCommand) {
+ asynchronousCommand.execute().on('complete', function () {
+ completeCount += 1;
+ if (completeCount === commandCount) {
+ this._set('queue', queue.slice(commandCount));
+ if (this.get('queue.length')) {
+ this.startAll();
+ } else {
+ this.fire('complete');
+ }
+ }
+ }, this);
+ };
+
+ this.fire('start');
+
+ for (i = 0, commandCount = queue.length; i < commandCount; i += 1) {
+ startCommand.call(this, queue[i]);
+ }
+
+ return this;
+ },
+ startQueue: function () {
+ if (this.get('paused')) {
+ return this;
+ } else if (!this.get('queue.length')) {
+ this.fire('complete');
+ return this;
+ }
+
+ this.fire('start');
+ this.get('queue').shift().execute().on('complete', function () {
+ this.startQueue();
+ }, this);
+
+ return this;
+ }
+});
+
+Y.AsynchronousCommandQueue = _class;
+
+
+}, 'gallery-2011.03.16-21-24' ,{requires:['base'], skinnable:false});
@@ -0,0 +1 @@
+YUI.add("gallery-asynchronouscommandqueue-base",function(b){var a;a=function(c){a.superclass.constructor.call(this,c);};a.ATTRS={completed:{readOnly:true,value:false},paused:{value:false},started:{readOnly:true,value:false},queue:{value:[],writeOnce:"initOnly"}};a.NAME="AsynchronousCommandQueue";b.extend(a,b.Base,{addCommand:function(c){this.get("queue").push(c);return this;},getCommandCount:function(){return this.get("queue.length");},initializer:function(){this.publish("complete",{fireOnce:true});this.publish("pause");this.publish("resume");this.publish("start",{fireOnce:true});this.on("complete",function(e,c,d){this._set("completed",true);},this);this.on("start",function(e,c,d){this._set("started",true);},this);},pauseQueue:function(){this.set("paused",true);this.fire("pause");return this;},resumeQueue:function(){this.set("paused",false);this.fire("resume");return this.startQueue();},startAll:function(){var d,e=0,f,g,c=this.get("queue");g=function(h){h.execute().on("complete",function(){e+=1;if(e===d){this._set("queue",c.slice(d));if(this.get("queue.length")){this.startAll();}else{this.fire("complete");}}},this);};this.fire("start");for(f=0,d=c.length;f<d;f+=1){g.call(this,c[f]);}return this;},startQueue:function(){if(this.get("paused")){return this;}else{if(!this.get("queue.length")){this.fire("complete");return this;}}this.fire("start");this.get("queue").shift().execute().on("complete",function(){this.startQueue();},this);return this;}});b.AsynchronousCommandQueue=a;},"gallery-2011.03.16-21-24",{requires:["base"],skinnable:false});
@@ -0,0 +1,115 @@
+YUI.add('gallery-asynchronouscommandqueue-base', function(Y) {
+
+'use strict';
+
+var _class;
+
+_class = function (config) {
+ _class.superclass.constructor.call(this, config);
+};
+
+_class.ATTRS = {
+ completed: {
+ readOnly: true,
+ value: false
+ },
+ paused: {
+ value: false
+ },
+ started: {
+ readOnly: true,
+ value: false
+ },
+ queue: {
+ value: [],
+ writeOnce: 'initOnly'
+ }
+};
+_class.NAME = 'AsynchronousCommandQueue';
+
+Y.extend(_class, Y.Base, {
+ addCommand: function (asynchronousCommand) {
+ this.get('queue').push(asynchronousCommand);
+ return this;
+ },
+ getCommandCount: function () {
+ return this.get('queue.length');
+ },
+ initializer: function () {
+ this.publish('complete', {
+ fireOnce: true
+ });
+ this.publish('pause');
+ this.publish('resume');
+ this.publish('start', {
+ fireOnce: true
+ });
+
+ this.on('complete', function (eventFacade, response, args) {
+ this._set('completed', true);
+ }, this);
+
+ this.on('start', function (eventFacade, response, args) {
+ this._set('started', true);
+ }, this);
+ },
+ pauseQueue: function () {
+ this.set('paused', true);
+ this.fire('pause');
+ return this;
+ },
+ resumeQueue: function () {
+ this.set('paused', false);
+ this.fire('resume');
+ return this.startQueue();
+ },
+ startAll: function () {
+ var commandCount,
+ completeCount = 0,
+ i,
+ startCommand,
+ queue = this.get('queue');
+
+ startCommand = function (asynchronousCommand) {
+ asynchronousCommand.execute().on('complete', function () {
+ completeCount += 1;
+ if (completeCount === commandCount) {
+ this._set('queue', queue.slice(commandCount));
+ if (this.get('queue.length')) {
+ this.startAll();
+ } else {
+ this.fire('complete');
+ }
+ }
+ }, this);
+ };
+
+ this.fire('start');
+
+ for (i = 0, commandCount = queue.length; i < commandCount; i += 1) {
+ startCommand.call(this, queue[i]);
+ }
+
+ return this;
+ },
+ startQueue: function () {
+ if (this.get('paused')) {
+ return this;
+ } else if (!this.get('queue.length')) {
+ this.fire('complete');
+ return this;
+ }
+
+ this.fire('start');
+ this.get('queue').shift().execute().on('complete', function () {
+ this.startQueue();
+ }, this);
+
+ return this;
+ }
+});
+
+Y.AsynchronousCommandQueue = _class;
+
+
+}, 'gallery-2011.03.16-21-24' ,{requires:['base'], skinnable:false});
Oops, something went wrong. Retry.

0 comments on commit c9f473d

Please sign in to comment.