YUI({
//Last Gallery Build of this module
gallery: 'gallery-2012.06.13-20-30'
}).use('gallery-matrix-credits', function(Y) {
var mc = new Y.MatrixCredits(
{
width: 400,
height: 400,
charRange: [ 'A', 'Z' ],
textSequence:
[
{ lines: [ 'KEANU REEVES' ] },
{ lines: [ 'LAURENCE FISHBURNE' ] },
{ lines: [ '"THE MATRIX"' ] },
{ lines: [ 'CARRIE-ANNE MOSS' ] },
{ lines: [ 'HUGO WEAVING' ] },
{
intro: [ 'and' ],
lines: [ 'JOE PANTOLIANO' ]
},
{
intro: [ 'Written and Directed by' ],
lines: [ 'THE WACHOWSKI BROTHERS' ]
},
{
intro: [ 'Produced by' ],
lines: [ 'JOEL SILVER' ]
}
]
});
mc.render('#matrix');
});/home/y/libexec/ant/bin/ant all
Buildfile: build.xml
[echo] Starting Build For gallery-matrix-credits
clean:
init:
[mkdir] Created dir: /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-matrix-credits/build_tmp
[echo] Starting Build For gallery-matrix-credits
-lint-server:
[echo] Starting Build For gallery-matrix-credits
-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-matrix-credits/build_tmp/ant
[delete] Deleting directory /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-matrix-credits/build_tmp/ant
-registerdebug:
[copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-matrix-credits/build_tmp
-prependdebug:
-appenddebug:
builddebug:
-createcore:
[copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-matrix-credits/build_tmp
-loggerregex:
buildcore:
-rollupjs:
-concatskins:
[copy] Copying 2 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-matrix-credits/build_tmp/ant
[delete] Deleting directory /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-matrix-credits/build_tmp/ant
[yuicompressor] Compressing /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-matrix-credits/build_tmp/assets/skins/sam/gallery-matrix-credits.css
[yuicompressor] Compressed to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-matrix-credits/build_tmp/assets/skins/sam/gallery-matrix-credits.css
-buildskins:
-rollupcss:
buildskins:
-buildlangs:
-rolluplangs:
buildlangs:
build:
minify:
[yuicompressor] Compressing /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-matrix-credits/build_tmp/gallery-matrix-credits.js
[yuicompressor]
[yuicompressor] [WARNING] Invalid hint syntax: use strict
[yuicompressor] add("gallery-matrix-credits",function(Y){ ---> "use strict" <--- ;functionMatrixCredits(config){this.timer
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] cursor:30,spin:10}; ---> var <--- rnd=Y.Plugin.MatrixBackground.rnd;
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] =Y.Plugin.MatrixBackground.rnd; ---> var <--- startTimer=Y.Plugin.MatrixBackground.startTimer;
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] =Y.Plugin.MatrixBackground.startTimer; ---> var <--- stopTimer=Y.Plugin.MatrixBackground.stopTimer;
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] =Y.Plugin.MatrixBackground.stopTimer; ---> var <--- getCharacterRange=Y.Plugin.MatrixBackground.getCharacterRange;
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] pages=this.get("textSequence"); ---> var <--- page=pages[this.page_index];var
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] page=pages[this.page_index]; ---> var <--- key=(this.page_index==pages.length
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] ){this.page_index=0;} ---> var <--- page=pages[this.page_index];var
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] page=pages[this.page_index]; ---> var <--- intro=Y.reduce(page.intro||
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] ||" ")+"";}); ---> var <--- lines=Y.reduce(page.lines||
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] if(this.spin_index>0){ ---> var <--- frame_line=this.frame_lines.item(this.
[yuicompressor]
[yuicompressor] [WARNING] The variable c_range has already been declared in the same scope...
[yuicompressor] item(this.cursor_pt.row), ---> c_range <--- =getCharacterRange.call(this),done=
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] this),done=0;for( ---> var <--- i=0;i var <--- container=this.get("boundingBox");container
[yuicompressor]
[yuicompressor] [WARNING] The symbol interval is declared but is apparently never used.
[yuicompressor] This code can probably be written in a more compact way.
[yuicompressor] :{writeOnce:true}};var ---> interval <--- ={cursor:30,spin:10}
[yuicompressor] Compressed to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-matrix-credits/build_tmp/gallery-matrix-credits-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-matrix-credits/build_tmp/gallery-matrix-credits.js
[java]
[java]
[java] 191, 48: 'nextPage' is not defined.
[java] Y.later(page.pause || this.get(key), this, nextPage);
[java]
[java] 223, 54: Missing semicolon.
[java] this.frame.setStyle('top', this.frame_top + 'px')
[java]
[java] 231, 9: 'startCursor' is not defined.
[java] startCursor.call(this);
[java]
[java] 232, 9: 'startSpin' is not defined.
[java] startSpin.call(this);
[java]
[java] 270, 9: 'checkLineFinished' is not defined.
[java] checkLineFinished.call(this);
[java]
[java] 298, 49: 'updateSpin' is not defined.
[java] this.spin_handle = this.bkgd.on('spin', updateSpin, this);
[java]
[java] 330, 24: 'c_range' is already defined.
[java] c_range = getCharacterRange.call(this),
[java]
[java] 356, 13: 'checkLineFinished' is not defined.
[java] checkLineFinished.call(this);
[java]
[java]
[java]
local:
deploybuild:
[copy] Copying 3 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-matrix-credits
deployassets:
[copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-matrix-credits/assets
deployskins:
[copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-matrix-credits/assets/skins/sam
[copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-matrix-credits/assets/skins/sam
deploylang:
deploydocs:
deploy:
all:
BUILD SUCCESSFUL
Total time: 3 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