• 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.06.20-20-07

    Return to Boolean Expression Builder

    YUI({
        //Last Gallery Build of this module
        gallery: 'gallery-2013.01.16-21-05'
    }).use('gallery-exprbuilder', function(Y) {
     
    	var form = new Y.FormManager('expr_form');
    	form.prepareForm();
     
    	var expr = new Y.ExpressionBuilder({
    		fieldName:    'sql_expr',
    		fieldId:      'sql-expr',
    		formMgr:      form,
    		queryBuilder: new Y.QueryBuilder(...)
    	});
    	expr.render(...);
     
    });

    Build Output

    /home/y/libexec/ant/bin/ant all
    Buildfile: build.xml
         [echo] Starting Build For gallery-exprbuilder
    
    clean:
    
    init:
        [mkdir] Created dir: /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-exprbuilder/build_tmp
         [echo] Starting Build For gallery-exprbuilder
    
    -lint-server:
         [echo] Starting Build For gallery-exprbuilder
    
    -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-exprbuilder/build_tmp/ant
       [delete] Deleting directory /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-exprbuilder/build_tmp/ant
    
    -registerdebug:
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-exprbuilder/build_tmp
    
    -prependdebug:
    
    -appenddebug:
    
    builddebug:
    
    -createcore:
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-exprbuilder/build_tmp
    
    -loggerregex:
    
    buildcore:
    
    -rollupjs:
    
    -concatskins:
         [copy] Copying 2 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-exprbuilder/build_tmp/ant
       [delete] Deleting directory /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-exprbuilder/build_tmp/ant
    [yuicompressor] Compressing /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-exprbuilder/build_tmp/assets/skins/sam/gallery-exprbuilder.css
    [yuicompressor] Compressed to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-exprbuilder/build_tmp/assets/skins/sam/gallery-exprbuilder.css
    
    -buildskins:
    
    -rollupcss:
    
    buildskins:
    
    -buildlangs:
    
    -rolluplangs:
    
    buildlangs:
    
    build:
    
    minify:
    [yuicompressor] Compressing /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-exprbuilder/build_tmp/gallery-exprbuilder.js
    [yuicompressor] 
    [yuicompressor] [WARNING] Invalid hint syntax: use strict
    [yuicompressor] add("gallery-exprbuilder",function(Y){ ---> "use strict" <--- ;functionExpressionBuilder(config){ExpressionBuilder.superclass
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] );if(el.setSelectionRange){ ---> var  <--- start=el.selectionStart;el.value=
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] selectionEnd,el.value.length); ---> var  <--- index=start+offset;el.setSelectionRange(
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] document.selection.createRange();} ---> var  <--- r=this.ie_range.duplicate();
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] e.halt();return;} ---> var  <--- query=qb.toDatabaseQuery();if(
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] if(query.length===0){ ---> var  <--- el=qb.get("contentBox").one
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] e.halt();return;} ---> var  <--- map=this.get("combinatorMap");var 
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] map=this.get("combinatorMap"); ---> var  <--- s="";var op=" "+this
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ("combinatorMap");var s=""; ---> var  <--- op=" "+this.get("andLabel")
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] get("andLabel")+" ";for( ---> var  <--- i=0;i var  <--- q=query[i];if(i
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ;}s+=q[0]; ---> var  <--- pattern=q[1];if(pattern
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] -1){pattern+="{value}";} ---> var  <--- combinator=map&&map[q[1]
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] {return;}var self=this; ---> var  <--- orig_validateForm=f.validateForm;f.validateForm=
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] on("click",paren,this); ---> var  <--- op=["and","or","not"];
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] "and","or","not"];for( ---> var  <--- i=0;i var  <--- qb=this.get("queryBuilder");if
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] s=e.get("value"); ---> var  <--- paren=0;var pi=-1;
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ("value");var paren=0; ---> var  <--- pi=-1;var quote=false;
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] =0;var pi=-1; ---> var  <--- quote=false;var qi=-1;
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] =-1;var quote=false; ---> var  <--- qi=-1;for(var i=
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ;var qi=-1;for( ---> var  <--- i=0;i var  <--- c=s.charAt(i);if
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] --;if(paren<0){ ---> var  <--- msg=Y.Lang.substitute(this.
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ===0||qi var  <--- msg=Y.Lang.substitute(this.
    [yuicompressor] 
    [yuicompressor] [WARNING] The variable msg has already been declared in the same scope...
    [yuicompressor] 0||qi msg <--- =Y.Lang.substitute(this.get
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] else{if(paren>0){ ---> var  <--- msg=Y.Lang.substitute(this.
    [yuicompressor] 
    [yuicompressor] [WARNING] The variable msg has already been declared in the same scope...
    [yuicompressor] {if(paren>0){var  ---> msg <--- =Y.Lang.substitute(this.get
    [yuicompressor] Compressed to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-exprbuilder/build_tmp/gallery-exprbuilder-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-exprbuilder/build_tmp/gallery-exprbuilder.js
         [java]  
         [java] 
         [java] 	542, 21: 'msg' is already defined.
         [java] 	var msg = Y.Lang.substitute(this.get('unmatchedSingleQuoteError'),
         [java] 
         [java] 	551, 21: 'msg' is already defined.
         [java] 	var msg = Y.Lang.substitute(this.get('unclosedParenError'),
         [java] 
         [java]  
         [java] 
    
    local:
    
    deploybuild:
         [copy] Copying 3 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-exprbuilder
    
    deployassets:
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-exprbuilder/assets
    
    deployskins:
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-exprbuilder/assets/skins/sam
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-exprbuilder/assets/skins/sam
    
    deploylang:
    
    deploydocs:
    
    deploy:
    
    all:
    
    BUILD SUCCESSFUL
    Total time: 3 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