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

Modules

  • Home
  • Featured
  • Popular
  • New
  • All

Documentation

  • FAQ
  • Developer FAQ
  • Developer Guide
  • Module Setup

Context Navigation

    Build Tag: gallery-2009.10.27

    Return to YQL Query

    <script src="http://yui.yahooapis.com/3.0.0/build/yui/yui-min.js"></script>
    YUI({
        modules: {
            'gallery-yql': {
                fullpath: 'http://yui.yahooapis.com/gallery-2010.01.27-20/build/gallery-yql/gallery-yql-min.js',
                requires: ['get','event-custom'],
                optional: [],
                supersedes: []
          }
     
        }
    }).use('gallery-yql', function(Y) {
        //Using events
        var q1 = new Y.yql('select * from github.user.info where (id = "davglass")');
        q1.on('query', function(r) {
            //Do something here.
        });
        q1.on('error', function(r) {
            //Do something here.
        });
        //Or the callback approach
        new Y.yql('select * from github.user.info where (id = "davglass")', function(r) {
            //Do something here.
            r.query; //The result
            r.error; //The error message
        });
    });

    Build Output

    /home/y/libexec/ant/bin/ant all
    Buildfile: build.xml
         [echo] Starting Build For gallery-yql
         [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-test/build_tmp/src/yui3-gallery/src/gallery-yql/build.xml
         [echo] Local Build Properties
         [echo]     version : 3
         [echo]     srcdir : /home/y/var/builds/workspace/gallery-test/build_tmp/src/yui3-gallery
         [echo]     builddir : ../../../builder/componentbuild
         [echo]     component : gallery-yql
         [echo]     component.basefilename : gallery-yql
         [echo]     component.basedir : /home/y/var/builds/workspace/gallery-test/build_tmp/src/yui3-gallery/src/gallery-yql
         [echo]     component.builddir : /home/y/var/builds/workspace/gallery-test/build_tmp/src/yui3-gallery/src/gallery-yql/build_tmp
         [echo] Global Build Properties
         [echo]     global.build.base : /home/y/var/builds/workspace/gallery-test/build_tmp/src/yui3-gallery/build
         [echo]     global.build.component : /home/y/var/builds/workspace/gallery-test/build_tmp/src/yui3-gallery/build/gallery-yql
         [echo]     global.build.component.assets : /home/y/var/builds/workspace/gallery-test/build_tmp/src/yui3-gallery/build/gallery-yql/assets
    
    clean:
    
    init:
        [mkdir] Created dir: /home/y/var/builds/workspace/gallery-test/build_tmp/src/yui3-gallery/src/gallery-yql/build_tmp
    
    -concatdebug:
         [echo] Concatenating
         [echo]     Source Files : yql.js
         [echo]     In Source Dir : /home/y/var/builds/workspace/gallery-test/build_tmp/src/yui3-gallery/src/gallery-yql/js
         [echo]     To : /home/y/var/builds/workspace/gallery-test/build_tmp/src/yui3-gallery/src/gallery-yql/build_tmp/gallery-yql-debug.js
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery-test/build_tmp/src/yui3-gallery/src/gallery-yql/build_tmp/ant
       [delete] Deleting directory /home/y/var/builds/workspace/gallery-test/build_tmp/src/yui3-gallery/src/gallery-yql/build_tmp/ant
    
    -registerdebug:
         [echo] Wrapping /home/y/var/builds/workspace/gallery-test/build_tmp/src/yui3-gallery/src/gallery-yql/build_tmp/gallery-yql-debug.js in YUI.add module
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery-test/build_tmp/src/yui3-gallery/src/gallery-yql/build_tmp
    
    -prependdebug:
    
    -appenddebug:
    
    builddebug:
    
    -createcore:
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery-test/build_tmp/src/yui3-gallery/src/gallery-yql/build_tmp
    
    -loggerregex:
         [echo] Replacing Logger Statements in /home/y/var/builds/workspace/gallery-test/build_tmp/src/yui3-gallery/src/gallery-yql/build_tmp/gallery-yql.js
    
    buildcore:
    
    -rollupjs:
    
    -concatskins:
    
    -buildskins:
    
    -rollupcss:
    
    buildskins:
    
    build:
    
    minify:
         [echo] Running yuicompressor on /home/y/var/builds/workspace/gallery-test/build_tmp/src/yui3-gallery/src/gallery-yql/build_tmp/gallery-yql.js
         [java] 
         [java] [INFO] Using charset UTF-8
         [java] 
         [java] [WARNING] Found an undeclared symbol: YUI
         [java]  ---> YUI <--- .add("gallery-yql",function(Y){
    
    lint:
         [java] Running JSLint on : /home/y/var/builds/workspace/gallery-test/build_tmp/src/yui3-gallery/src/gallery-yql/build_tmp/gallery-yql-debug.js
         [java] - OK
         [java] Running JSLint on : /home/y/var/builds/workspace/gallery-test/build_tmp/src/yui3-gallery/src/gallery-yql/build_tmp/gallery-yql-min.js
         [java] - OK
         [java] Running JSLint on : /home/y/var/builds/workspace/gallery-test/build_tmp/src/yui3-gallery/src/gallery-yql/build_tmp/gallery-yql.js
         [java] - OK
    
    local:
    
    deploybuild:
         [copy] Copying 3 files to /home/y/var/builds/workspace/gallery-test/build_tmp/src/yui3-gallery/build/gallery-yql
    
    deployassets:
    
    deployskins:
    
    deploydocs:
    
    deploy:
    
    all:
    
    BUILD SUCCESSFUL
    Total time: 2 seconds
    YUI Projects
    • All YUI Downloads
    • YUI 2
    • YUI 3
    • YUIDoc
    • YUICompressor
    • 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