Permalink
Browse files

Gallery Build Tag: gallery-2011.03.30-19-47

  • Loading branch information...
1 parent 8211504 commit d1e450080f8dd17bfcff5e4342bf6b44bbaf47c6 YUI Builder committed Mar 30, 2011
@@ -184,4 +184,4 @@ YUI.add('gallery-ellipsis', function(Y) {
Y.NodeList.importMethod(Y.Node.prototype, 'ellipsis');
-}, 'gallery-2011.02.02-21-07' ,{requires:['base','node']});
+}, 'gallery-2011.03.30-19-47' ,{requires:['base','node']});

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -184,4 +184,4 @@ YUI.add('gallery-ellipsis', function(Y) {
Y.NodeList.importMethod(Y.Node.prototype, 'ellipsis');
-}, 'gallery-2011.02.02-21-07' ,{requires:['base','node']});
+}, 'gallery-2011.03.30-19-47' ,{requires:['base','node']});
@@ -16,8 +16,7 @@ YUI.add('gallery-xarno-clipboard', function(Y) {
moveToAndCopy : function(target) {
Y.log('moveToAndCopy','info','Y.Xarno.Clipboard');
- this.moveTo(target);
- this.copy(target);
+ this.moveTo(target).copy(target);
},
hide : function() {
@@ -37,12 +36,14 @@ YUI.add('gallery-xarno-clipboard', function(Y) {
width: target.getComputedStyle('width'),
height: target.getComputedStyle('height')
});
+
+ return this;
},
copy : function(target) {
var copyTarget = this.get('clipTarget');
- if (target !== null) {
+ if (target !== null && target !== undefined) {
copyTarget = target;
} else {
copyTarget = Y.one(copyTarget);
@@ -51,10 +52,14 @@ YUI.add('gallery-xarno-clipboard', function(Y) {
if (copyTarget) {
this.setText( copyTarget.getContent() );
}
+
+ return this;
},
setText : function(text) {
this._swfCall('setText', [ text ]);
+
+ return this;
},
_movieReady : function() {
@@ -149,4 +154,4 @@ YUI.add('gallery-xarno-clipboard', function(Y) {
});
-}, 'gallery-2011.03.11-23-49' ,{requires:['node','event','base-build','swf']});
+}, 'gallery-2011.03.30-19-47' ,{requires:['node','event','base-build','swf']});

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -14,8 +14,7 @@ YUI.add('gallery-xarno-clipboard', function(Y) {
moveToAndCopy : function(target) {
- this.moveTo(target);
- this.copy(target);
+ this.moveTo(target).copy(target);
},
hide : function() {
@@ -34,12 +33,14 @@ YUI.add('gallery-xarno-clipboard', function(Y) {
width: target.getComputedStyle('width'),
height: target.getComputedStyle('height')
});
+
+ return this;
},
copy : function(target) {
var copyTarget = this.get('clipTarget');
- if (target !== null) {
+ if (target !== null && target !== undefined) {
copyTarget = target;
} else {
copyTarget = Y.one(copyTarget);
@@ -48,10 +49,14 @@ YUI.add('gallery-xarno-clipboard', function(Y) {
if (copyTarget) {
this.setText( copyTarget.getContent() );
}
+
+ return this;
},
setText : function(text) {
this._swfCall('setText', [ text ]);
+
+ return this;
},
_movieReady : function() {
@@ -140,4 +145,4 @@ YUI.add('gallery-xarno-clipboard', function(Y) {
});
-}, 'gallery-2011.03.11-23-49' ,{requires:['node','event','base-build','swf']});
+}, 'gallery-2011.03.30-19-47' ,{requires:['node','event','base-build','swf']});
@@ -135,4 +135,4 @@ YUI.add('gallery-yql', function(Y) {
-}, 'gallery-2010.01.27-20' ,{requires:['get', 'event-custom']});
+}, 'gallery-2011.03.30-19-47' ,{requires:['get', 'event-custom']});

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -135,4 +135,4 @@ YUI.add('gallery-yql', function(Y) {
-}, 'gallery-2010.01.27-20' ,{requires:['get', 'event-custom']});
+}, 'gallery-2011.03.30-19-47' ,{requires:['get', 'event-custom']});

0 comments on commit d1e4500

Please sign in to comment.