@@ -162,7 +162,7 @@ var ZeroClipboard = {
162
162
// URL to movie
163
163
nextId : 1 ,
164
164
// ID of next movie
165
- $ : function ( thingy ) {
165
+ jQuery : function ( thingy ) {
166
166
// simple DOM lookup utility function
167
167
if ( typeof ( thingy ) == 'string' ) thingy = document . getElementById ( thingy ) ;
168
168
if ( ! thingy . addClass ) {
@@ -275,7 +275,7 @@ ZeroClipboard.Client.prototype = {
275
275
glue : function ( elem , appendElem , stylesToAdd ) {
276
276
// glue to DOM element
277
277
// elem can be ID or actual DOM element object
278
- this . domElement = ZeroClipboard . $ ( elem ) ;
278
+ this . domElement = ZeroClipboard . jQuery ( elem ) ;
279
279
280
280
// float just above object, or zIndex 99 if dom element isn't set
281
281
var zIndex = 99 ;
@@ -284,7 +284,7 @@ ZeroClipboard.Client.prototype = {
284
284
}
285
285
286
286
if ( typeof ( appendElem ) == 'string' ) {
287
- appendElem = ZeroClipboard . $ ( appendElem ) ;
287
+ appendElem = ZeroClipboard . jQuery ( appendElem ) ;
288
288
} else if ( typeof ( appendElem ) == 'undefined' ) {
289
289
appendElem = document . getElementsByTagName ( 'body' ) [ 0 ] ;
290
290
}
@@ -296,7 +296,7 @@ ZeroClipboard.Client.prototype = {
296
296
this . div = document . createElement ( 'div' ) ;
297
297
this . div . className = "zclip" ;
298
298
this . div . id = "zclip-" + this . movieId ;
299
- $ ( this . domElement ) . data ( 'zclipId' , 'zclip-' + this . movieId ) ;
299
+ jQuery ( this . domElement ) . data ( 'zclipId' , 'zclip-' + this . movieId ) ;
300
300
var style = this . div . style ;
301
301
style . position = 'absolute' ;
302
302
style . left = '' + box . left + 'px' ;
@@ -366,7 +366,7 @@ ZeroClipboard.Client.prototype = {
366
366
// reposition our floating div, optionally to new container
367
367
// warning: container CANNOT change size, only position
368
368
if ( elem ) {
369
- this . domElement = ZeroClipboard . $ ( elem ) ;
369
+ this . domElement = ZeroClipboard . jQuery ( elem ) ;
370
370
if ( ! this . domElement ) this . hide ( ) ;
371
371
}
372
372
0 commit comments