YUI({
//Last Gallery Build of this module
gallery: 'gallery-2012.11.07-21-32'
}).use('gallery-itsadialogbox', function(Y) {
Y.Global.ItsaDialog.showWarning('Oops, something went wrong.');
});
YUI({
//Last Gallery Build of this module
gallery: 'gallery-2012.11.07-21-32'
}).use('gallery-itsadialogbox', function(Y) {
var callback = function(e) {
alert(e.buttonName+' --> '+e.value);
};
Y.Global.ItsaDialog.getNumber('Only Adults', 'Enter your age:', 25, 18, 100, callback);
});/home/y/libexec/ant/bin/ant all
Buildfile: build.xml
[echo] Starting Build For gallery-itsadialogbox
clean:
init:
[mkdir] Created dir: /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-itsadialogbox/build_tmp
[echo] Starting Build For gallery-itsadialogbox
-lint-server:
[echo] Starting Build For gallery-itsadialogbox
-node:
[echo] For faster builds, install Node.js.
-concatdebug:
[copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-itsadialogbox/build_tmp/ant
[delete] Deleting directory /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-itsadialogbox/build_tmp/ant
-registerdebug:
[copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-itsadialogbox/build_tmp
-prependdebug:
-appenddebug:
builddebug:
-createcore:
[copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-itsadialogbox/build_tmp
-loggerregex:
buildcore:
-rollupjs:
-concatskins:
[copy] Copying 2 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-itsadialogbox/build_tmp/ant
[delete] Deleting directory /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-itsadialogbox/build_tmp/ant
[yuicompressor] Compressing /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-itsadialogbox/build_tmp/assets/skins/sam/gallery-itsadialogbox.css
[yuicompressor] Compressed to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-itsadialogbox/build_tmp/assets/skins/sam/gallery-itsadialogbox.css
-buildskins:
-rollupcss:
buildskins:
-buildlangs:
-rolluplangs:
buildlangs:
build:
build-coverage:
[echo] Creating coverage file for: /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-itsadialogbox/build_tmp/gallery-itsadialogbox.js
[move] Moving 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-itsadialogbox/build_tmp
[move] Moving 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-itsadialogbox/build_tmp
minify:
[yuicompressor] Compressing /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-itsadialogbox/build_tmp/gallery-itsadialogbox.js
[yuicompressor]
[yuicompressor] [WARNING] Invalid hint syntax: use strict
[yuicompressor] add("gallery-itsadialogbox",function(Y){ ---> "use strict" <--- ;var Lang=Y.Lang,ITSADIALOG_ICON_TEMPLATE=
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] .dd.addHandle(".yui3-widget-hd");} ---> var <--- ITSAFORM_TABLETEMPLATE='{label} '+'{element} ',ITSAFORM_INLINETEMPLATE='{label}'+
[yuicompressor]
[yuicompressor] [WARNING] The symbol ITSADIALOG_INLINEFORM is declared but is apparently never used.
[yuicompressor] This code can probably be written in a more compact way.
[yuicompressor] ,ITSADIALOG_ICON_TEMPLATE="",ITSADIALOG_BODY_TEMPLATE="{bdtext}", ---> ITSADIALOG_INLINEFORM <--- ="itsa-dialog-inlineform";Y.ITSADIALOGBOX=Y.Base
[yuicompressor]
[yuicompressor] [WARNING] The symbol bodyMessage is declared but is apparently never used.
[yuicompressor] This code can probably be written in a more compact way.
[yuicompressor] ,customIconclass){var instance=this, ---> bodyMessage <--- ,inputElement;instance.inputElement=new Y.
[yuicompressor]
[yuicompressor] [WARNING] The symbol inputElement is declared but is apparently never used.
[yuicompressor] This code can probably be written in a more compact way.
[yuicompressor] ){var instance=this,bodyMessage, ---> inputElement <--- ;instance.inputElement=new Y.ITSAFORMELEMENT(
[yuicompressor]
[yuicompressor] [WARNING] The symbol bodyMessage is declared but is apparently never used.
[yuicompressor] This code can probably be written in a more compact way.
[yuicompressor] ,customIconclass){var instance=this, ---> bodyMessage <--- ,withMinValue=Lang.isNumber(minvalue),
[yuicompressor]
[yuicompressor] [WARNING] The symbol inputElement is declared but is apparently never used.
[yuicompressor] This code can probably be written in a more compact way.
[yuicompressor] withMaxValue=Lang.isNumber(maxvalue), ---> inputElement <--- ,validationMessage="",eventArguments={};
[yuicompressor]
[yuicompressor] [WARNING] The symbol instance is declared but is apparently never used.
[yuicompressor] This code can probably be written in a more compact way.
[yuicompressor] ,_serializeForm:function(masterNode){var ---> instance <--- =this,formelements=masterNode.all(".itsa-formelement"
[yuicompressor] Compressed to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-itsadialogbox/build_tmp/gallery-itsadialogbox-min.js
lint:
[echo] Using Rhino. Install nodejs to improve jslint speed, or skip with -Dlint.skip=true
[java] Running JSLint on : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-itsadialogbox/build_tmp/gallery-itsadialogbox.js
[java]
[java]
[java] 1072, 29: Bad line breaking before '+'.
[java] +'{element} ',
[java]
[java] 1074, 29: Bad line breaking before '+'.
[java] +'{element}';
[java]
[java]
[java]
local:
deploybuild:
[copy] Copying 4 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-itsadialogbox
deployassets:
[copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-itsadialogbox/assets
deployskins:
[copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-itsadialogbox/assets/skins/sam
[copy] Copying 2 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-itsadialogbox/assets/skins/sam
deploylang:
deploydocs:
deploy:
all:
BUILD SUCCESSFUL
Total time: 4 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