• 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.10.10-19-59

    Return to Bulk Editor

    YUI({
        //Last Gallery Build of this module
        gallery: 'gallery-2012.10.10-19-59'
    }).use('gallery-bulkedit', function(Y)
    {
    // Raw data
     
    	var data =
    	[
    		{id:'v1', year:1946, quantity:3, title:"Slan", color:"red"},
    		...
    	];
     
    // Field configuration
     
    	var fields =
    	{
    		title:
    		{
    			type: 'textarea'
    		},
    		year:
    		{
    			validation: { css: 'yiv-integer:[1500,2100]' }
    		},
    		quantity:
    		{
    			validation: { css: 'yiv-integer:[0,]' }
    		},
    		color:
    		{
    			type: 'select',
    			values:
    			[
    				{ value: 'red',   text: 'Red'   },
    				{ value: 'green', text: 'Green' },
    				{ value: 'blue',  text: 'Blue'  }
    			]
    		}
    	};
     
    // Data source
     
    	var schema =
    	{
    		resultFields:
    		[
    			"id",
    			{
    				key: "quantity",
    				comparator: 'integer'
    			},
    			{
    				key: "year",
    				comparator: 'integer'
    			},
    			"title",
    			"color"
    		]
    	};
     
    	var raw_ds = new Y.DataSource.Local({source: data});
    	raw_ds.plug(
    	{
    		fn:  Y.Plugin.DataSourceArraySchema,
    		cfg: {schema:schema}
    	});
     
    	var ds = new Y.DataSource.BulkEdit(
    	{
    		ds:                     raw_ds,
    		uniqueIdKey:            'id',
    		generateRequest:        function() { },			// local data source ignores request
    		totalRecordsReturnExpr: '.meta.totalRecords',	// turns on pagination inside BulkEditDataSource
    		extractTotalRecords:    function(response)
    		{
    			return response.meta.totalRecords;
    		}
    	});
     
    // Column configuration
     
    	var columns =
    	[
    		{ key: 'title', label: 'Title' },
    		{ key: 'year', label: 'Year' },
    		{ key: 'quantity', label: 'Quantity' },
    		{ key: 'color', label: 'Color' }
    	];
     
    // BulkEditor
     
    	var editor = new Y.HTMLTableBulkEditor(
    	{
    		ds:      ds,
    		fields:  fields,
    		columns: columns
    	});
    	editor.render('#edit');
    });

    Build Output

    /home/y/libexec/ant/bin/ant all
    Buildfile: build.xml
         [echo] Starting Build For gallery-bulkedit
    
    clean:
    
    init:
        [mkdir] Created dir: /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-bulkedit/build_tmp
         [echo] Starting Build For gallery-bulkedit
    
    -lint-server:
         [echo] Starting Build For gallery-bulkedit
    
    -node:
         [echo] For faster builds, install Node.js.
    
    -concatdebug:
         [copy] Copying 3 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-bulkedit/build_tmp/ant
       [delete] Deleting directory /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-bulkedit/build_tmp/ant
    
    -registerdebug:
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-bulkedit/build_tmp
    
    -prependdebug:
    
    -appenddebug:
    
    builddebug:
    
    -createcore:
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-bulkedit/build_tmp
    
    -loggerregex:
    
    buildcore:
    
    -rollupjs:
    
    -concatskins:
         [copy] Copying 2 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-bulkedit/build_tmp/ant
       [delete] Deleting directory /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-bulkedit/build_tmp/ant
    [yuicompressor] Compressing /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-bulkedit/build_tmp/assets/skins/sam/gallery-bulkedit.css
    [yuicompressor] Compressed to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-bulkedit/build_tmp/assets/skins/sam/gallery-bulkedit.css
    
    -buildskins:
    
    -rollupcss:
    
    buildskins:
    
    -buildlangs:
    
    -rolluplangs:
    
    buildlangs:
    
    build:
    
    build-coverage:
         [echo] Creating coverage file for: /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-bulkedit/build_tmp/gallery-bulkedit.js
         [move] Moving 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-bulkedit/build_tmp
         [move] Moving 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-bulkedit/build_tmp
    
    minify:
    [yuicompressor] Compressing /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-bulkedit/build_tmp/gallery-bulkedit.js
    [yuicompressor] 
    [yuicompressor] [WARNING] Invalid hint syntax: use strict
    [yuicompressor] add("gallery-bulkedit",function(Y){ ---> "use strict" <--- ;functionBulkEditDataSource(){BulkEditDataSource.superclass.
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] {var count=-1;for( ---> var  <--- i=0;i var  <--- j=this._index[i];if
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] !this._index){return;} ---> var  <--- start=Math.min(r.startIndex,
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] startIndex,this._index.length); ---> var  <--- end=0;for(var i=0
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] );var end=0;for( ---> var  <--- i=0;i var  <--- j=this._index[i];if
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ._callback.adjust.indexStart=i; ---> var  <--- count=0;while(i var  <--- j=this._index[i];if
    [yuicompressor] 
    [yuicompressor] [WARNING] The variable j has already been declared in the same scope...
    [yuicompressor] ._callback.adjust.origCount){var  ---> j <--- =this._index[i];if(
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] Y.clone(response,true); ---> var  <--- dataStartIndex=0;if(this.get(
    [yuicompressor] 
    [yuicompressor] [WARNING] Using 'eval' is not recommended. Moreover, using 'eval' reduces the level of compression!
    [yuicompressor] (this.get("startIndexExpr")){ ---> eval <--- ("dataStartIndex=this._callback.response"+this.get("startIndexExpr"))
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] this.get("startIndexExpr"));} ---> var  <--- startIndex=this._callback.request.startIndex-
    [yuicompressor] 
    [yuicompressor] [WARNING] Using 'eval' is not recommended. Moreover, using 'eval' reduces the level of compression!
    [yuicompressor] (this.get("totalRecordsReturnExpr")){ ---> eval <--- ("response"+this.get("totalRecordsReturnExpr")+
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] this._index=[];for( ---> var  <--- i=0;i var  <--- adjust=this._callback.adjust;for(
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] =this._callback.adjust;for( ---> var  <--- i=adjust.indexStart,k=0;
    [yuicompressor] 
    [yuicompressor] [WARNING] The variable i has already been declared in the same scope...
    [yuicompressor] this._callback.adjust;for(var  ---> i <--- =adjust.indexStart,k=0;i
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] indexEnd;i++,k++){ ---> var  <--- j=this._index[i];if
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] (inserted_re.test(j)){ ---> var  <--- id=j.substr(inserted_prefix.length)
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ];this._recordMap={}; ---> var  <--- uniqueIdKey=this.get("uniqueIdKey");Y
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] (inserted_re.test(j)){ ---> var  <--- record_id=j.substr(inserted_prefix.length)
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] j.substr(inserted_prefix.length); ---> var  <--- record=this._new[record_id];}
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ._new[record_id];}else{ ---> var  <--- record=this.get("ds").get
    [yuicompressor] 
    [yuicompressor] [WARNING] The variable record has already been declared in the same scope...
    [yuicompressor] _new[record_id];}else{var  ---> record <--- =this.get("ds").get(
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] .get("source")[j]; ---> var  <--- record_id=record[this.get("uniqueIdKey")
    [yuicompressor] 
    [yuicompressor] [WARNING] The variable record_id has already been declared in the same scope...
    [yuicompressor] get("source")[j];var  ---> record_id <--- =record[this.get("uniqueIdKey")]
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] .get("uniqueIdKey")]=record_id; ---> var  <--- j=fromDisplayIndex.call(this,index)
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] .Lang.isObject(record)){ ---> var  <--- s=record.toString();record=
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ._new[s],true); ---> var  <--- diff=this._diff[s];if
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] );}}if(record){ ---> var  <--- uniqueIdKey=this.get("uniqueIdKey");Y
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] this._index[j])){ ---> var  <--- record_id=this._index[j].substr
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] if(this._dataIsLocal()){ ---> var  <--- record_id=this.get("ds").get
    [yuicompressor] 
    [yuicompressor] [WARNING] The variable record_id has already been declared in the same scope...
    [yuicompressor] (this._dataIsLocal()){var  ---> record_id <--- =this.get("ds").get(
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] this.recordIdToIndex(record_id,info); ---> var  <--- j=this._index[info.internal_index]
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] .test(j)){for( ---> var  <--- i=info.internal_index;i var  <--- k=this._index[i];if
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] =false;this._flushCache(); ---> var  <--- data=this.get("ds").get
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] this.recordIdToIndex(orig_record_id,info); ---> var  <--- j=info.internal_index;if(inserted_re.
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ("ds").get("source"); ---> var  <--- count=0;for(var i=0
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] );var count=0;for( ---> var  <--- i=0;i var  <--- j=this._index[i];var 
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] j=this._index[i]; ---> var  <--- ins=inserted_re.test(j);var 
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ins=inserted_re.test(j); ---> var  <--- del=removed_re.test(j);if
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] :Y.Lang.isNumber}}; ---> var  <--- default_page_size=1000000000,id_prefix="bulk-editor",id_separator=
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] pg=this.get("paginator"); ---> var  <--- request={startIndex:pg?pg.getStartIndex
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ,this.get("requestExtra")); ---> var  <--- ds=this.get("ds");ds
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ds=this.get("ds"); ---> var  <--- records=ds.getCurrentRecords();var id_key
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] var records=ds.getCurrentRecords(); ---> var  <--- id_key=ds.get("uniqueIdKey");Y
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ,true);if(node){ ---> var  <--- m=id_regex.exec(node.get(
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] .record_container_class,true);}else{ ---> var  <--- id=this.getRecordContainerId(record);}
    [yuicompressor] 
    [yuicompressor] [WARNING] The variable id has already been declared in the same scope...
    [yuicompressor] record_container_class,true);}else{var  ---> id <--- =this.getRecordContainerId(record);}}
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] pg=this.get("paginator"); ---> var  <--- start=pg?pg.getStartIndex():
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ?pg.getStartIndex():0; ---> var  <--- count=pg?pg.getRowsPerPage():
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] index&&index var  <--- node=this.getRecordContainer(this.get(
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ("pingClass");if(ping){ ---> var  <--- node=this.getRecordContainer(record);node
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] if(!pg){return;} ---> var  <--- page_size=pg?pg.getRowsPerPage():
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ?pg.getRowsPerPage():default_page_size; ---> var  <--- status=this.page_status.slice(0)
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] );this.first_error_page=-1; ---> var  <--- r=this.server_errors.records;for(
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] =this.server_errors.records;for( ---> var  <--- i=0;i var  <--- j=Math.floor(i/page_size)
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] var status=this._validateVisibleFields(); ---> var  <--- pg=this.get("paginator");if
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] this.server_errors.records.length){ ---> var  <--- err=this.server_errors.page.slice(
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] =this.get("contentBox");} ---> var  <--- e1=container.getElementsByTagName("input");var 
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] e1=container.getElementsByTagName("input"); ---> var  <--- e2=container.getElementsByTagName("textarea");var 
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] e2=container.getElementsByTagName("textarea"); ---> var  <--- e3=container.getElementsByTagName("select");Y
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] id=this.getRecordId(node); ---> var  <--- err=this.server_errors.record_map[id]
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] .Lang.isString(err)){ ---> var  <--- msg=err;var type="error";}
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] err)){var msg=err; ---> var  <--- type="error";}else{var msg=
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ;var type="error";}else{ ---> var  <--- msg=err.msg;var type=err
    [yuicompressor] 
    [yuicompressor] [WARNING] The variable msg has already been declared in the same scope...
    [yuicompressor] var type="error";}else{var  ---> msg <--- =err.msg;var type=err.
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] else{var msg=err.msg; ---> var  <--- type=err.type;}this.displayRecordMessage
    [yuicompressor] 
    [yuicompressor] [WARNING] The variable type has already been declared in the same scope...
    [yuicompressor] {var msg=err.msg;var  ---> type <--- =err.type;}this.displayRecordMessage(
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] if(!field_info){return;} ---> var  <--- field=this.getFieldConfig(field_info.field_key)
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] this.getFieldConfig(field_info.field_key); ---> var  <--- msg_list=field.validation&&field.validation.
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] .validation&&field.validation.msg; ---> var  <--- info=Y.FormManager.validateFromCSSData(node,
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] (field.validation.regex)){ ---> var  <--- flags="";var m=perl_flags_regex.exec
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] regex)){var flags=""; ---> var  <--- m=perl_flags_regex.exec(field.validation.
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ){status=false;return;} ---> var  <--- err=this.server_errors.record_map[this.
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] if(err&&err.fieldErrors){ ---> var  <--- f=err.fieldErrors[field_info.field_key]
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] .Lang.isString(f)){ ---> var  <--- msg=f;var type="error";}
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] f)){var msg=f; ---> var  <--- type="error";}else{var msg=
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ;var type="error";}else{ ---> var  <--- msg=f.msg;var type=f
    [yuicompressor] 
    [yuicompressor] [WARNING] The variable msg has already been declared in the same scope...
    [yuicompressor] var type="error";}else{var  ---> msg <--- =f.msg;var type=f.
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] else{var msg=f.msg; ---> var  <--- type=f.type;}this.displayFieldMessage
    [yuicompressor] 
    [yuicompressor] [WARNING] The variable type has already been declared in the same scope...
    [yuicompressor] {var msg=f.msg;var  ---> type <--- =f.type;}this.displayFieldMessage(
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ds=this.get("ds"); ---> var  <--- pg=this.get("paginator");if
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] );}},this);} ---> var  <--- count=ds.getRecordCount();var page_size
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] var count=ds.getRecordCount(); ---> var  <--- page_size=pg.getRowsPerPage();for(
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] =pg.getRowsPerPage();for( ---> var  <--- i=0;i var  <--- status=true;Y.Array.each(
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] .get("fields")[key]; ---> var  <--- value=ds.getValue(i,key)
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] field.validation.css||""); ---> var  <--- info=Y.FormManager.validateFromCSSData(this.
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] this);if(!status){ ---> var  <--- j=Math.floor(i/page_size)
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] bd1=this.getRecordContainer(e); ---> var  <--- changed=this._updateRecordStatus(bd1,type,
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] type,status_pattern,status_re,status_prefix); ---> var  <--- bd2=e.getAncestorByClassName(BulkEditor.field_container_class)
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] type)){if(msg){ ---> var  <--- m=bd2.getElementsByClassName(message_container_class);if
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] bd1=this.getRecordContainer(id); ---> var  <--- changed=this._updateRecordStatus(bd1,type,
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] ,record_status_re,record_status_prefix)&&msg){ ---> var  <--- bd2=bd1.getElementsByClassName(BulkEditor.record_msg_container_class)
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] (0);if(bd2){ ---> var  <--- m=bd2.getElementsByClassName(message_container_class);if
    [yuicompressor] 
    [yuicompressor] [WARNING] Try to use a single 'var' statement per scope.
    [yuicompressor] +"{label}{msg1}"+''+"{msg2}"+"
    "; ---> var <--- label=o.field&&o.field. [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] +"{label}{msg1}"+''+"{msg2}"+"
    "; ---> var <--- option='';var options=Y.Array [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] "{msg2}"+"
    ";var option=''; ---> var <--- options=Y.Array.reduce(o. [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] 'selected="selected"':""});}); ---> var <--- label=o.field&&o.field. [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] +' '+''+"{msg}"+"
    "; ---> var <--- label=o.field&&o.field. [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] +"{label}{msg}"+'
    {cbs}
    '+''+"
    "; ---> var <--- id=this.getFieldId(o.record, [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] Lang.isArray(o.value); ---> var <--- checkbox='

    '+' '+''+"

    "; [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] ='

    '+' '+''+"

    "; ---> var <--- cbs=Y.Array.reduce(o. [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] .text)});}); ---> var <--- option='';var options=Y.Array [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] ;});var option=''; ---> var <--- options=Y.Array.reduce(o. [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] 'selected="selected"':""});}); ---> var <--- label=o.field&&o.field. [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] +"{label}{msg1}"+''+"{msg2}"+"
    "; ---> var <--- label=o.field&&o.field. [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] .isObject,writeOnce:true}}; ---> var <--- cell_class=Y.ClassNameManager.getClassName(HTMLTableBulkEditor. [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] if(!info){return;} ---> var <--- bd=this.getRecordContainer(e.target) [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] =bd.next();}} ---> var <--- id=bd&&this.getRecordId(bd) [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] (bd);if(id){ ---> var <--- field=this.getFieldElement(id,info. [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] "firstChild").hasClass(table_class)){ ---> var <--- s=Y.Lang.sub('', [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] HTMLTableBulkEditor.NAME,"hd")}); ---> var <--- row_markup='';s=Y.Array. [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] 2)?odd_class:even_class)); ---> var <--- msg_row=Y.Node.create("") [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] set("className",BulkEditor.record_msg_container_class); ---> var <--- msg_cell=Y.Node.create("") [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] );body.appendChild(msg_row); ---> var <--- row=Y.Node.create("") [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] ){var key=column.key; ---> var <--- field=this.getFieldConfig(key);var [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] field=this.getFieldConfig(key); ---> var <--- cell=Y.Node.create("") [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] cell_class+" "+cell_class_prefix+key); ---> var <--- liner=Y.Node.create("
    ") [yuicompressor] [yuicompressor] [WARNING] Try to use a single 'var' statement per scope. [yuicompressor] liner.set("className",liner_class); ---> var <--- f=null;if(Y.Lang. [yuicompressor] Compressed to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-bulkedit/build_tmp/gallery-bulkedit-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-bulkedit/build_tmp/gallery-bulkedit.js [java] [java] [java] 102, 13: 'idCounter' is not defined. [java] idCounter++; [java] [java] 103, 20: 'uniqueIdPrefix' is not defined. [java] return uniqueIdPrefix + idCounter; [java] [java] 103, 37: 'idCounter' is not defined. [java] return uniqueIdPrefix + idCounter; [java] [java] 248, 15: 'j' is already defined. [java] var j = this._index[i]; [java] [java] 274, 9: 'internalFailure' is not defined. [java] internalFailure.apply(this, arguments); [java] [java] 283, 10: Mixed spaces and tabs. [java] return; // cancelled request [java] [java] 287, 5: 'checkFinished' is not defined. [java] checkFinished.call(this); [java] [java] 328, 9: eval is evil. [java] eval('dataStartIndex=this._callback.response'+this.get('startIndexExpr')); [java] [java] 340, 13: eval is evil. [java] eval('response'+this.get('totalRecordsReturnExpr')+'='+this._callback.response.results.length); [java] [java] 353, 19: 'i' is already defined. [java] for (var i=adjust.indexStart, k=0; i

    © 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

    {label}