YUI({
//Last Gallery Build of this module
gallery: 'gallery-2010.03.30-17-26'
}).use('gallery-yquery', function(Y) {
var jQueryPlugins = ['swift.js', 'gps.jquery.js']; // YQuery accepts both an array of plugins or just a single string
Y.YQuery().use( jQueryPlugins, function(e) {
// jQuery loaded do $() functions here now
});
// or just load jQuery
Y.YQuery().use( function(e) {
// jQuery loaded do $() functions here now
});
// or override the latest jQuery version and use an older version
var jq = Y.YQuery();
jq.version = '1.3.2';
jq.use( function() {
alert( 'jquery ' + $.fn.jquery + ' loaded' ); // Will show that 1.3.2 loaded successfully
});
// More options available just check out the examples link
});/home/y/libexec/ant/bin/ant all
Buildfile: build.xml
[echo] Starting Build For gallery-yquery
[echo] Ant Properties
[echo] Home : /home/y/libexec/ant
[echo] Ant Version : Apache Ant version 1.7.1 compiled on June 27 2008
[echo] Build File : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-yquery/build.xml
[echo] Local Build Properties
[echo] version : 3
[echo] srcdir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery
[echo] builddir : ../../../builder/componentbuild
[echo] component : gallery-yquery
[echo] component.basefilename : gallery-yquery
[echo] component.basedir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-yquery
[echo] component.builddir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-yquery/build_tmp
[echo] Global Build Properties
[echo] global.build.base : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build
[echo] global.build.component : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-yquery
[echo] global.build.component.assets : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-yquery/assets
clean:
init:
[mkdir] Created dir: /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-yquery/build_tmp
-concatdebug:
[echo] Concatenating
[echo] Source Files : yquery.js
[echo] In Source Dir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-yquery/js
[echo] To : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-yquery/build_tmp/gallery-yquery-debug.js
[copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-yquery/build_tmp/ant
[delete] Deleting directory /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-yquery/build_tmp/ant
-registerdebug:
[echo] Wrapping /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-yquery/build_tmp/gallery-yquery-debug.js in YUI.add module
[copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-yquery/build_tmp
-prependdebug:
-appenddebug:
builddebug:
-createcore:
[copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-yquery/build_tmp
-loggerregex:
[echo] Replacing Logger Statements in /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-yquery/build_tmp/gallery-yquery.js
buildcore:
-rollupjs:
-concatskins:
-buildskins:
-rollupcss:
buildskins:
-buildlangs:
-rolluplangs:
buildlangs:
build:
minify:
[echo] Running yuicompressor on /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-yquery/build_tmp/gallery-yquery.js
[java]
[java] [WARNING] Try to use a single 'var' statement per scope.
[java] .timeout;opts.scope=this; ---> var <--- type=(this.type==="production")?
[java]
[java] [WARNING] Try to use a single 'var' statement per scope.
[java] "undefined"&&this.autodetect){for( ---> var <--- i=0;i var <--- url=JQUERY_BASE+this.version[i]
[java]
[java] [WARNING] Try to use a single 'var' statement per scope.
[java] .version+"/jquery"+type+".js"; ---> var <--- c=(queue.length<=0&&i
[java]
[java] [WARNING] Found an undeclared symbol: YUI
[java] ---> YUI <--- .add("gallery-yquery",function(Y){
lint:
[java] Running JSLint on : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-yquery/build_tmp/gallery-yquery-debug.js
[java]
[java]
[java] 52, 29: 'jQuery' is undefined.
[java] if ( typeof( jQuery ) === 'undefined' && this.autodetect && ! Y.Lang.isObject( this.version ) ) {
[java]
[java] 58, 33: 'jQuery' is undefined.
[java] if ( typeof( jQuery) === 'undefined' && this.autodetect ) {
[java]
[java] 72, 98: 'jQuery' is undefined.
[java] if ( ! Y.Lang.isUndefined( d.data.space ) ) { win[d.data.space] = jQuery.noConflict( true ); }
[java]
[java] 74, 29: Be careful when making functions within a loop. Consider putting the function in a closure.
[java] };
[java]
[java] 76, 98: 'jQuery' is undefined.
[java] if ( ! Y.Lang.isUndefined( d.data.space ) ) { win[d.data.space] = jQuery.noConflict( true ); }
[java]
[java] 78, 29: Be careful when making functions within a loop. Consider putting the function in a closure.
[java] };
[java]
[java]
[java]
[java] Running JSLint on : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-yquery/build_tmp/gallery-yquery-min.js
[java]
[java]
[java] 0, 493: 'jQuery' is undefined.
[java] [Code Evidence Omitted: Greater than 500 chars]
[java]
[java] 0, 654: 'jQuery' is undefined.
[java] [Code Evidence Omitted: Greater than 500 chars]
[java]
[java] 0, 972: 'jQuery' is undefined.
[java] [Code Evidence Omitted: Greater than 500 chars]
[java]
[java] 0, 1045: Be careful when making functions within a loop. Consider putting the function in a closure.
[java] [Code Evidence Omitted: Greater than 500 chars]
[java]
[java] 0, 1124: 'jQuery' is undefined.
[java] [Code Evidence Omitted: Greater than 500 chars]
[java]
[java] 0, 1197: Be careful when making functions within a loop. Consider putting the function in a closure.
[java] [Code Evidence Omitted: Greater than 500 chars]
[java]
[java]
[java]
[java] Running JSLint on : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-yquery/build_tmp/gallery-yquery.js
[java]
[java]
[java] 52, 29: 'jQuery' is undefined.
[java] if ( typeof( jQuery ) === 'undefined' && this.autodetect && ! Y.Lang.isObject( this.version ) ) {
[java]
[java] 58, 33: 'jQuery' is undefined.
[java] if ( typeof( jQuery) === 'undefined' && this.autodetect ) {
[java]
[java] 72, 98: 'jQuery' is undefined.
[java] if ( ! Y.Lang.isUndefined( d.data.space ) ) { win[d.data.space] = jQuery.noConflict( true ); }
[java]
[java] 74, 29: Be careful when making functions within a loop. Consider putting the function in a closure.
[java] };
[java]
[java] 76, 98: 'jQuery' is undefined.
[java] if ( ! Y.Lang.isUndefined( d.data.space ) ) { win[d.data.space] = jQuery.noConflict( true ); }
[java]
[java] 78, 29: Be careful when making functions within a loop. Consider putting the function in a closure.
[java] };
[java]
[java]
[java]
local:
deploybuild:
[copy] Copying 3 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-yquery
deployassets:
deployskins:
deploylang:
deploydocs:
deploy:
all:
BUILD SUCCESSFUL
Total time: 2 seconds
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info