• Register
  • Log In
  • Home
  • Quick Start
    • Configurator
    • Download YUI 3
  • Documentation
    • User Guides
    • Examples
    • API Docs
    • Environments
    • Tutorials
  • Community
    • Gallery
    • Blog
    • Forums
    • YUI Theater
    • Calendar
  • Contribute
    • YUI on GitHub »
    • File a Ticket
    • View Tickets
    • Dashboard
  • Other Projects
    • Shifter »
    • Yogi »
    • YUI 2
    • YUI Doc »
    • YUI Test
    • YUI Website
    • YUI Compressor »
    • YUI Builder »
    • YUI PHP Loader
    • Grid Builder »
    • Skin Builder »
  • YUI
  • >
  • Community
  • >
  • Gallery

Gallery

Modules

  • Home
  • Featured
  • Popular
  • New
  • All

Documentation

  • Yogi Documentation
  • Shifter Documentation
  • Developer Guide
  • Module Setup

Tag Cloud

Context Navigation

    Build Tag: gallery-2012.05.23-19-56

    Return to Object Extras

    YUI({
        //Last Gallery Build of this module
        gallery: 'gallery-2012.05.23-19-56'
    }).use('gallery-object-extras', function(Y)
    {
    	var result = Y.Object.filter({a:1,b:2,c:3,d:4}, function(value, key)
    	{
    		return value >= 3 || key == 'a';
    	});
     
    	var key = Y.Object.keyOf({a:1,b:2,c:3,d:4}, 3);
     
    	var squares = Y.Object.map({a:1,b:2,c:3,d:4}, function(value, key)
    	{
    		return v*v;
    	});
     
    	var sum = Y.Object.reduce({a:1,b:2,c:3,d:4}, 0, function(sum, value)
    	{
    		return sum + value;
    	});
    });

    Build Output

    /home/y/libexec/ant/bin/ant all
    Buildfile: build.xml
         [echo] Starting Build For gallery-object-extras
    
    clean:
    
    init:
        [mkdir] Created dir: /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-object-extras/build_tmp
         [echo] Starting Build For gallery-object-extras
    
    -lint-server:
         [echo] Starting Build For gallery-object-extras
    
    -node:
         [echo] For faster builds, install Node.js.
    
    -concatdebug:
         [copy] Copying 2 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-object-extras/build_tmp/ant
       [delete] Deleting directory /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-object-extras/build_tmp/ant
    
    -registerdebug:
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-object-extras/build_tmp
    
    -prependdebug:
    
    -appenddebug:
    
    builddebug:
    
    -createcore:
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-object-extras/build_tmp
    
    -loggerregex:
    
    buildcore:
    
    -rollupjs:
    
    -concatskins:
    
    -buildskins:
    
    -rollupcss:
    
    buildskins:
    
    -buildlangs:
    
    -rolluplangs:
    
    buildlangs:
    
    build:
    
    minify:
    [yuicompressor] Compressing /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-object-extras/build_tmp/gallery-object-extras.js
    [yuicompressor] 
    [yuicompressor] [WARNING] Invalid hint syntax: use strict
    [yuicompressor] add("gallery-object-extras",function(Y){ ---> "use strict" <--- ;Y.mix(Y.Object,{
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] {var result={};for( ---> var  <--- k in o){var v=o[
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ;for(var k in o){ ---> var  <--- v=o[k];if((
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] {for(var k in o){ ---> var  <--- v=o[k];if((
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ),result={};for( ---> var  <--- k in o){var v=o[
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ;for(var k in o){ ---> var  <--- v=o[k];if(o
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] {var result={};for( ---> var  <--- k in o){if(proto||o
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ,rejects:{}};for( ---> var  <--- k in o){var v=o[
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ;for(var k in o){ ---> var  <--- v=o[k];if(proto
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ||o.hasOwnProperty(k)){ ---> var  <--- set=f.call(c,v,
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ){var result=init;for( ---> var  <--- k in o){if(proto||o
    [yuicompressor] Compressed to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-object-extras/build_tmp/gallery-object-extras-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-object-extras/build_tmp/gallery-object-extras.js
         [java]  
         [java] 
         [java] 	72, 9: The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype.
         [java] 	for (var k in o)
         [java] 
         [java] 	103, 9: The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype.
         [java] 	for (var k in o)
         [java] 
         [java] 	158, 9: The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype.
         [java] 	for (var k in o)
         [java] 
         [java] 	226, 9: The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype.
         [java] 	for (var k in o)
         [java] 
         [java]  
         [java] 
    
    local:
    
    deploybuild:
         [copy] Copying 3 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-object-extras
    
    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