1jQuery.widget( 'gc.checkboxField', $.gc.abstractField, { 2 3 build: function() { 4 $input = $('<input type="checkbox"/>'); 5 if ( this.field.id ) { 6 $input.attr('id', 'field-input-' + this.field.id); 7 } 8 this.labelEl.find('.required-sign').detach();//.appendTo( this.labelEl.find('.label-value') ) 9 $input.prependTo( this.labelEl ); 10 11 this.input = $input; 12 }, 13 14 initEditor: function( settingsEl ) { 15 $.gc.abstractField.prototype.initEditor.call(this, settingsEl ); 16 }, 17 18 getValue: function() { 19 return this.input.prop('checked') ? 1 : 0; 20 } 21} );
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.