• 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-2011.02.09-21-32

    Return to AlloyUI Rating

    YUI({
        //Last Gallery Build of this module
        gallery: 'gallery-2011.02.09-21-32',
        modules: {
            'gallery-aui-skin-base': {
                fullpath: 'http://yui.yahooapis.com/gallery-2011.02.09-21-32/build/gallery-aui-skin-base/css/gallery-aui-skin-base-min.css',
                type: 'css'
            },
            'gallery-aui-skin-classic': {
                fullpath: 'http://yui.yahooapis.com/gallery-2011.02.09-21-32/build/gallery-aui-skin-classic/css/gallery-aui-skin-classic-min.css',
                type: 'css',
                requires: ['gallery-aui-skin-base']
            }
        }
    }).use('gallery-aui-rating', function(Y) {
    	// Basic StarRating
    	var rating1 = new Y.StarRating({
    		boundingBox: '#rating1',
    		defaultSelected: 3,
    		disabled: false,
    		label: 'Label...',
    		on: {
    			itemOver: function() {
    				Y.log('itemOver 1', arguments);
    			},
    			itemOut: function() {
    				Y.log('itemOut 1', arguments);
    			},
    			itemClick: function(event) {
    				Y.log('itemClick 1', arguments);
    			},
    			itemSelect: function(event) {
    				var instance = event.target;
     
    				Y.log('itemSelect 1', arguments);
    			}
    		}
    	}).render();
    });

    Build Output

    /home/y/libexec/ant/bin/ant all
    Buildfile: build.xml
         [echo] Starting Build For gallery-aui-rating
         [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-aui-rating/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-aui-rating
         [echo]     component.basefilename : gallery-aui-rating
         [echo]     component.basedir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating
         [echo]     component.builddir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/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-aui-rating
         [echo]     global.build.component.assets : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-aui-rating/assets
    
    clean:
    
    init:
        [mkdir] Created dir: /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/build_tmp
         [echo] Starting Build For gallery-aui-rating
         [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-aui-rating/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-aui-rating
         [echo]     component.basefilename : gallery-aui-rating
         [echo]     component.basedir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating
         [echo]     component.builddir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/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-aui-rating
         [echo]     global.build.component.assets : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-aui-rating/assets
    
    -lint-server:
    
    -concatdebug:
         [echo] Concatenating
         [echo]     Source Files : gallery-aui-rating.js
         [echo]     In Source Dir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/js
         [echo]     To : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/build_tmp/gallery-aui-rating-debug.js
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/build_tmp/ant
       [delete] Deleting directory /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/build_tmp/ant
    
    -registerdebug:
         [echo] Wrapping /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/build_tmp/gallery-aui-rating-debug.js in YUI.add module
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/build_tmp
    
    -prependdebug:
    
    -appenddebug:
    
    builddebug:
    
    -createcore:
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/build_tmp
    
    -loggerregex:
         [echo] Replacing Logger Statements in /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/build_tmp/gallery-aui-rating.js
    
    buildcore:
    
    -rollupjs:
    
    -concatskins:
         [echo] Concatenating
         [echo]     Source Files : gallery-aui-rating-core.css, skins/sam/gallery-aui-rating-skin.css
         [echo]     In Source Dir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/assets
         [echo]     To : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/build_tmp/assets/skins/sam/gallery-aui-rating.css
         [copy] Copying 2 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/build_tmp/ant
       [delete] Deleting directory /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/build_tmp/ant
    [yuicompressor] Compressing /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/build_tmp/assets/skins/sam/gallery-aui-rating.css
    [yuicompressor] Compressed to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/build_tmp/assets/skins/sam/gallery-aui-rating.css
    
    -buildskins:
    
    -rollupcss:
    
    buildskins:
    
    -buildlangs:
    
    -rolluplangs:
    
    buildlangs:
    
    build:
    
    minify:
    [yuicompressor] Compressing /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/build_tmp/gallery-aui-rating.js
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] var map=disabled?MAP_RATING_EL_DISABLED:MAP_RATING_EL; ---> var  <--- buffer=["<",map.tagName,map
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] buffer.join("");}; ---> var  <--- Rating=A.Component.create({NAME
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] function(){var instance=this; ---> var  <--- contentBox=instance.get(CONTENT_BOX);contentBox
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] (index){var instance=this; ---> var  <--- oldIndex=instance.get(SELECTED_INDEX);var 
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] oldIndex=instance.get(SELECTED_INDEX); ---> var  <--- canReset=instance.get(CAN_RESET);if
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] instance.set(SELECTED_INDEX,index); ---> var  <--- selectedIndex=instance.get(SELECTED_INDEX);var 
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] selectedIndex=instance.get(SELECTED_INDEX); ---> var  <--- data=instance._getInputData(selectedIndex);var 
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] data=instance._getInputData(selectedIndex); ---> var  <--- title=(TITLE in data)?data.
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] data)?data.title:BLANK; ---> var  <--- value=(VALUE in data)?data.
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] instance.set(VALUE,value); ---> var  <--- hiddenInput=instance.get("hiddenInput");hiddenInput
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] (event){var instance=this; ---> var  <--- domTarget=event.domEvent.target;return!
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] function(){var instance=this; ---> var  <--- elements=[];var ratingTPL=FN_GET_RATING_TPL(
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] =this;var elements=[]; ---> var  <--- ratingTPL=FN_GET_RATING_TPL(instance.get(DISABLED)
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] .get(DISABLED));for( ---> var  <--- i=0,size=this.get(
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] {elements.push(ratingTPL);} ---> var  <--- elementFrag=A.DOM.create(elements.
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] function(){var instance=this; ---> var  <--- publish=function(name,fn){instance
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] (event){var instance=this; ---> var  <--- domEvent=event.domEvent;instance.fire(
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] (event){var instance=this; ---> var  <--- domTarget=event.domEvent.target;instance.
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] (event){var instance=this; ---> var  <--- index=instance.indexOf(event.domEvent.
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] function(){var instance=this; ---> var  <--- boundingBox=instance.get(BOUNDING_BOX);var 
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] boundingBox=instance.get(BOUNDING_BOX); ---> var  <--- inputs=boundingBox.all(INPUT);var 
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] inputs=boundingBox.all(INPUT); ---> var  <--- size=inputs.size();var inputName
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] var size=inputs.size(); ---> var  <--- inputName=instance.get(INPUT_NAME);var 
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] inputName=instance.get(INPUT_NAME); ---> var  <--- hiddenInput=A.Node.create('')
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] instance.set(SIZE,size); ---> var  <--- labels=boundingBox.getElementsByTagName("label");inputs
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] id=node.get(ID); ---> var  <--- label=EMPTY_STR;if(id){var 
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] label=EMPTY_STR;if(id){ ---> var  <--- labelEl=labels.filter('[for="'+id+
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] (elements){var instance=this; ---> var  <--- contentBox=instance.get(CONTENT_BOX);var 
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] contentBox=instance.get(CONTENT_BOX); ---> var  <--- elements=instance.get(ELEMENTS);if
    [yuicompressor] 
    [yuicompressor] [WARNING] The variable elements has already been declared in the same scope...
    [yuicompressor] =instance.get(CONTENT_BOX);var  ---> elements <--- =instance.get(ELEMENTS);if(
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] data=instance._getInputData(i); ---> var  <--- content=data.content;var title=data
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] );var content=data.content; ---> var  <--- title=data.title||instance.get(
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] function(){var instance=this; ---> var  <--- selectedIndex=instance.get(DEFAULT_SELECTED)-1
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] function(){var instance=this; ---> var  <--- labelText=instance.get(LABEL);instance
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] _syncLabelUI();}}}); ---> var  <--- DOWN="down",THUMB="thumb",THUMB_RATING=
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] getCN(RATING,THUMB,UP); ---> var  <--- ThumbRating=A.Component.create({NAME
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] renderUI.apply(this,arguments); ---> var  <--- elements=instance.get(ELEMENTS);elements
    [yuicompressor] 
    [yuicompressor] [WARNING] The symbol TPL_RATING_EL is declared but is apparently never used.
    [yuicompressor] This code can probably be written in a more compact way.
    [yuicompressor] attrs:'href="'+HREF_JAVASCRIPT+'"'}, ---> TPL_RATING_EL <--- ='',TPL_RATING_EL_DISABLED=""
    [yuicompressor] 
    [yuicompressor] [WARNING] The symbol TPL_RATING_EL_DISABLED is declared but is apparently never used.
    [yuicompressor] This code can probably be written in a more compact way.
    [yuicompressor] ,TPL_RATING_EL='', ---> TPL_RATING_EL_DISABLED <--- ="",TPL_RATING_CLASS_ATTR=' class="'+CSS_RATING_EL+'"'
    [yuicompressor] Compressed to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/build_tmp/gallery-aui-rating-min.js
    
    lint:
    
    local:
    
    deploybuild:
         [copy] Copying 3 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-aui-rating
         [copy] Copying /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/build_tmp/gallery-aui-rating-min.js to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-aui-rating/gallery-aui-rating-min.js
         [copy] Copying /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/build_tmp/gallery-aui-rating.js to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-aui-rating/gallery-aui-rating.js
         [copy] Copying /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/build_tmp/gallery-aui-rating-debug.js to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-aui-rating/gallery-aui-rating-debug.js
    
    deployassets:
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-aui-rating/assets
         [copy] Copying /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/assets/gallery-aui-rating-core.css to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-aui-rating/assets/gallery-aui-rating-core.css
    
    deployskins:
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-aui-rating/assets/skins/sam
         [copy] Copying /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/build_tmp/assets/skins/sam/gallery-aui-rating.css to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-aui-rating/assets/skins/sam/gallery-aui-rating.css
         [copy] Copying 3 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-aui-rating/assets/skins/sam
         [copy] Copying /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/assets/skins/sam/rating_thumbs.png to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-aui-rating/assets/skins/sam/rating_thumbs.png
         [copy] Copying /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/assets/skins/sam/gallery-aui-rating-skin.css to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-aui-rating/assets/skins/sam/gallery-aui-rating-skin.css
         [copy] Copying /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-rating/assets/skins/sam/rating.png to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-aui-rating/assets/skins/sam/rating.png
    
    deploylang:
    
    deploydocs:
    
    deploy:
    
    all:
    
    BUILD SUCCESSFUL
    Total time: 1 second

    © 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