YUILibrary - Open source JavaScript and CSS for building richly interactive software.
Fork YUI on GitHub
  • Home
  • Gallery
  • Forums
  • YUI 2
  • YUI 3
  • YUI Compressor
  • YUI Doc
  • More
  • Gallery Forums
  • Gallery Stats
  • Gallery Calendar
  • Register
  • Login

Modules

  • Home
  • Featured
  • Popular
  • New
  • All

Documentation

  • FAQ
  • Developer FAQ
  • Developer Guide
  • Module Setup

Tag Cloud

nzakas adam yui2 port html5 node jsonp lsmith foxxtrot plugin form jafl skinnable widget slideshow rgrove io ajax filter overlay apipkin animation event davglass caridy ericf

Context Navigation

    Build Tag: gallery-2010.03.11-21

    Return to Smart List

    <script src="http://yui.yahooapis.com/3.1.0/build/yui/yui-min.js"></script>
    YUI({
        //Last Gallery Build of this module
        gallery: 'gallery-2010.03.11-21'
    }).use('event', 'node', 'gallery-smart-list', function(Y) {
     
        Y.one("#applications").plug(Y.Plugin.SmartList, {
            selector: 'li'
        });
     
        mylist = Y.one("#applications").smartlist;
     
        Y.one('#buttondisplayall').on('click', function(e) {
            mylist.set('filter', ''); // setting filter to empty
        });
     
        Y.one('#buttondisplayapps').on('click', function(e) {
            mylist.set('filter', 'li[data-type=app]');  // setting the filter to display elements with data-type = app
        });
     
        Y.one('#buttondisplayutils').on('click', function(e) {
            mylist.set('filter', 'li[class=util]'); // setting the filter to display elements with class util
        });
     
    });

    Build Output

    /home/y/libexec/ant/bin/ant all
    Buildfile: build.xml
         [echo] Starting Build For gallery-smart-list
         [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-smart-list/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-smart-list
         [echo]     component.basefilename : gallery-smart-list
         [echo]     component.basedir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-smart-list
         [echo]     component.builddir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-smart-list/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-smart-list
         [echo]     global.build.component.assets : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-smart-list/assets
    
    clean:
    
    init:
        [mkdir] Created dir: /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-smart-list/build_tmp
    
    -concatdebug:
         [echo] Concatenating
         [echo]     Source Files : gallery-smart-list.js
         [echo]     In Source Dir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-smart-list/js
         [echo]     To : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-smart-list/build_tmp/gallery-smart-list-debug.js
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-smart-list/build_tmp/ant
       [delete] Deleting directory /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-smart-list/build_tmp/ant
    
    -registerdebug:
         [echo] Wrapping /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-smart-list/build_tmp/gallery-smart-list-debug.js in YUI.add module
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-smart-list/build_tmp
    
    -prependdebug:
    
    -appenddebug:
    
    builddebug:
    
    -createcore:
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-smart-list/build_tmp
    
    -loggerregex:
         [echo] Replacing Logger Statements in /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-smart-list/build_tmp/gallery-smart-list.js
    
    buildcore:
    
    -rollupjs:
    
    -concatskins:
    
    -buildskins:
    
    -rollupcss:
    
    buildskins:
    
    -buildlangs:
    
    -rolluplangs:
    
    buildlangs:
    
    build:
    
    minify:
         [echo] Running yuicompressor on /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-smart-list/build_tmp/gallery-smart-list.js
         [java] 
         [java] [WARNING] Found an undeclared symbol: YUI
         [java]  ---> YUI <--- .add("gallery-smart-list",function(Y){
         [java] 
         [java] [WARNING] The symbol UA is declared but is apparently never used.
         [java] This code can probably be written in a more compact way.
         [java] ("gallery-smart-list",function(Y){var  ---> UA <--- =Y.UA,WIDTH="width",HEIGHT
         [java] 
         [java] [WARNING] The symbol WIDTH is declared but is apparently never used.
         [java] This code can probably be written in a more compact way.
         [java] ){var UA=Y.UA, ---> WIDTH <--- ="width",HEIGHT="height",PX="px"
         [java] 
         [java] [WARNING] The symbol HEIGHT is declared but is apparently never used.
         [java] This code can probably be written in a more compact way.
         [java] =Y.UA,WIDTH="width", ---> HEIGHT <--- ="height",PX="px",HOST="host"
         [java] 
         [java] [WARNING] The symbol sort is declared but is apparently never used.
         [java] This code can probably be written in a more compact way.
         [java] (ATTR_ACTIVE),emerging=[], ---> sort <--- =this.get(ATTR_SORT),query=
    
    lint:
         [java] Running JSLint on : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-smart-list/build_tmp/gallery-smart-list-debug.js
         [java] - OK
         [java] Running JSLint on : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-smart-list/build_tmp/gallery-smart-list-min.js
         [java] - OK
         [java] Running JSLint on : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-smart-list/build_tmp/gallery-smart-list.js
         [java] - OK
    
    local:
    
    deploybuild:
         [copy] Copying 3 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-smart-list
    
    deployassets:
    
    deployskins:
    
    deploylang:
    
    deploydocs:
    
    deploy:
    
    all:
    
    BUILD SUCCESSFUL
    Total time: 3 seconds
    YUI Projects
    • All YUI Downloads
    • YUI 2
    • YUI 3
    • YUI Doc
    • YUI Compressor
    • YUILibrary.com
    • YUI Build Tool
    • YUI PHP Loader
    Pages & Links
    • All YUI Downloads
    • Git FAQ
    • Graded Browser Support
    • Contribute to YUI
    • Forum Stats
    • Gallery Stats
    • YUI Calendar
    Contribute
    • Submit a Bug
    • Request a Feature
    • Write Code
    • Meet the Team
    Follow YUI
    • on GitHub
    • on Twitter
    • on FriendFeed
    • on Facebook
    • on IRC
    • YUI Blog
    • YUI Theater
    • YUI Forums

    © 2010 YUI Library - Site Credits