YUI({
//Last Gallery Build of this module
gallery: 'gallery-2012.10.03-20-02'
}).use('gallery-layout', function(Y)
{
// instantiate the component -- automatically scans the DOM
var layout = new Y.PageLayout();
// rescan the DOM after adding/removing modules or switching between row-based and column-based layouts
layout.rescanBody();
});/home/y/libexec/ant/bin/ant all
Buildfile: build.xml
[echo] Starting Build For gallery-layout
clean:
init:
[mkdir] Created dir: /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-layout/build_tmp
[echo] Starting Build For gallery-layout
-lint-server:
[echo] Starting Build For gallery-layout
-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-layout/build_tmp/ant
[delete] Deleting directory /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-layout/build_tmp/ant
-registerdebug:
[copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-layout/build_tmp
-prependdebug:
-appenddebug:
builddebug:
-createcore:
[copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-layout/build_tmp
-loggerregex:
buildcore:
-rollupjs:
-concatskins:
[copy] Copying 2 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-layout/build_tmp/ant
[delete] Deleting directory /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-layout/build_tmp/ant
[yuicompressor] Compressing /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-layout/build_tmp/assets/skins/sam/gallery-layout.css
[yuicompressor] Compressed to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-layout/build_tmp/assets/skins/sam/gallery-layout.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-layout/build_tmp/gallery-layout.js
[move] Moving 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-layout/build_tmp
[move] Moving 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-layout/build_tmp
minify:
[yuicompressor] Compressing /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-layout/build_tmp/gallery-layout.js
[yuicompressor]
[yuicompressor] [WARNING] Invalid hint syntax: use strict
[yuicompressor] add("gallery-layout",function(Y){ ---> "use strict" <--- ;functionPageLayout(){PageLayout.superclass.
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] "body")).get("children"); ---> var <--- list=page_blocks.filter("."+PageLayout.
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] =this.body_container.vertMarginBorderPadding(); ---> var <--- m=this.body_container.get("className")
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] 10):0);}); ---> var <--- info=Y.reduce(sizes,[0
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] ;}}returnvalue;}); ---> var <--- sum=info[0],blank_count=info
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] ];if(blank_count>0){ ---> var <--- blank_size=Math.max((100-sum
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] FIT_TO_VIEWPORT:this.get("mode"); ---> var <--- sticky_footer=this.get("stickyFooter");this
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] PageLayout.FIT_TO_CONTENT?"scroll":"hidden"); ---> var <--- viewport={w:Y.DOM.winWidth
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] Y.DOM.winHeight()}; ---> var <--- resize_event=arguments[0]&&arguments[0
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] viewport;this.fire("beforeReflow"); ---> var <--- min_width=Y.Node.emToPx(this.
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] (this.get("minWidth")); ---> var <--- body_width=Math.max(this.viewport.
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] this.body_container.get("clientWidth"); ---> var <--- h=this.viewport.h;var h_min
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] var h=this.viewport.h; ---> var <--- h_min=Y.Node.emToPx(this.
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] mode===Y.PageLayout.FIT_TO_VIEWPORT){ ---> var <--- body_height=h-this.body_vert_mbp;}else
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] &&p.hasClass(collapsed_class)){ ---> var <--- children=this._analyzeModule(p);this
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] !p.hasClass(collapsed_class)){ ---> var <--- children=this._analyzeModule(p);this
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] all("div."+PageLayout.module_rows_class); ---> var <--- plugin_data=plugin_info.row;if(outer_list.
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] }this.body_info.outers=outer_list; ---> var <--- collapse_nub_pattern="("+PageLayout.collapse_vert_nub_class+"|"+
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] +"|"+PageLayout.collapse_right_nub_class+")"; ---> var <--- expand_nub_pattern="("+PageLayout.expand_vert_nub_class+"|"+
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] +"|"+PageLayout.expand_right_nub_class+")"; ---> var <--- row_count=this.body_info.outers.size(
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] outer_sizes.push(100/row_count); ---> var <--- list=row.all("div."+PageLayout.
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] row;this.single_module=true;} ---> var <--- self=this;Y.use(plugin_data.
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] expand_vert_nub_class);if(!nub){ ---> var <--- expand_horiz_nub_pattern="("+PageLayout.expand_left_nub_class+"|"+
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] collapse_vert_nub_class);if(!nub){ ---> var <--- collapse_horiz_nub_pattern="("+PageLayout.collapse_left_nub_class+"|"+
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] bd:null,ft:null}; ---> var <--- bd=root.one("."+PageLayout.
[yuicompressor]
[yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
[yuicompressor] (!bd){returnresult;} ---> var <--- list=bd.siblings().filter(
[yuicompressor]
[yuicompressor] [WARNING] The symbol row_id is declared but is apparently never used.
[yuicompressor] This code can probably be written in a more compact way.
[yuicompressor] .outers,function(row){var ---> row_id <--- =row.generateID();this.body_info
[yuicompressor] Compressed to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-layout/build_tmp/gallery-layout-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-layout/build_tmp/gallery-layout.js
[java]
[java]
[java] 483, 38: 'resize' is not defined.
[java] Y.one(Y.config.win).on('resize', resize, this);
[java]
[java] 485, 5: 'updateFitClass' is not defined.
[java] updateFitClass.call(this);
[java]
[java] 486, 5: 'reparentFooter' is not defined.
[java] reparentFooter.call(this);
[java]
[java] 493, 9: 'updateFitClass' is not defined.
[java] updateFitClass.call(this);
[java]
[java] 500, 9: 'reparentFooter' is not defined.
[java] reparentFooter.call(this);
[java]
[java] 501, 9: 'resize' is not defined.
[java] resize.call(this);
[java]
[java] 504, 34: 'resize' is not defined.
[java] this.after('minWidthChange', resize);
[java]
[java] 505, 35: 'resize' is not defined.
[java] this.after('minHeightChange', resize);
[java]
[java] 509, 9: 'reparentFooter' is not defined.
[java] reparentFooter.call(this);
[java]
[java] 510, 9: 'resize' is not defined.
[java] resize.call(this);
[java]
[java] 513, 44: 'resize' is not defined.
[java] this.after('matchColumnHeightsChange', resize);
[java]
[java] 691, 55: 'body_height' used out of scope.
[java] this.layout_plugin.resize(this, mode, body_width, body_height);
[java]
[java] 701, 24: 'checkViewportSize' is not defined.
[java] Y.later(100, this, checkViewportSize);
[java]
[java]
[java]
local:
deploybuild:
[copy] Copying 4 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-layout
deployassets:
[copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-layout/assets
deployskins:
[copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-layout/assets/skins/sam
[copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-layout/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