_id
stringlengths
2
6
title
stringlengths
0
58
partition
stringclasses
3 values
text
stringlengths
27
233k
language
stringclasses
1 value
meta_information
dict
q29900
train
function(oRequest, oCallback, oCaller) { var tId = DS._nTransactionId++; this.fireEvent("requestEvent", {tId:tId, request:oRequest,callback:oCallback,caller:oCaller}); /* accounts for the following cases: YAHOO.util.DataSourceBase.TYPE_UNKNOWN YAHOO.util.DataSourceBase.TYPE_JSARRAY YAHOO.util.D...
javascript
{ "resource": "" }
q29901
train
function(oRequest, oFullResponse) { if(lang.isValue(oFullResponse)) { var oParsedResponse = {results:oFullResponse,meta:{}}; YAHOO.log("Parsed generic data is " + lang.dump(oParsedResponse), "info", this.toString()); return oParsedResponse;
javascript
{ "resource": "" }
q29902
train
function(result) { var oResult = {}, schema = this.responseSchema; try { // Loop through each data field in each result using the schema for(var m = schema.fields.length-1; m >= 0 ; m--) { var field = schema.fields[m]; var key = (lang.isValue(field.key)) ...
javascript
{ "resource": "" }
q29903
train
function(oRequest, oFullResponse) { var bError = false, schema = this.responseSchema, oParsedResponse = {meta:{}}, xmlList = null, metaNode = schema.metaNode, metaLocators = schema.metaFields || {}, i,k,loc,v; // In case oFullResponse is something funky ...
javascript
{ "resource": "" }
q29904
train
function(oResponse) { // If response ID does not match last made request ID, // silently fail and wait for the next response if(oResponse && (this.connXhrMode == "ignoreStaleResponses") && (oResponse.tId != oQueue.conn.tId)) { YAHOO.log("Ignored stale response", "warn...
javascript
{ "resource": "" }
q29905
train
function(oResponse) { this.fireEvent("dataErrorEvent", {request:oRequest, response: oResponse, callback:oCallback, caller:oCaller, message:DS.ERROR_DATAINVALID}); YAHOO.log(DS.ERROR_DATAINVALID + ": " + oResponse.statusText, "error", this.toString()); ...
javascript
{ "resource": "" }
q29906
train
function (oDate, oConfig, sLocale) { oConfig = oConfig || {}; if(!(oDate instanceof Date)) { return YAHOO.lang.isValue(oDate) ? oDate : ""; } var format = oConfig.format || "%m/%d/%Y"; // Be backwards compatible, support strings that are // exactly ...
javascript
{ "resource": "" }
q29907
train
function(typeName, id, snapshot) { // FIXME If there is a record, try and look up the self link // - Need to use the function from the serializer to build the self key // TODO: this basically only works in the simplest of scenarios var route = this.getRoute(typeName, id, snapshot); ...
javascript
{ "resource": "" }
q29908
train
function(store, type, ids, snapshots) { return this.ajax(this.buildURL(type.modelName,
javascript
{ "resource": "" }
q29909
train
function(payload) { if(!payload) { return {}; } var data = payload[this.primaryRecordKey]; if (data) { if (Ember.isArray(data)) { this.extractArrayData(data, payload); } else { this.extractSingleData(data, payload); } ...
javascript
{ "resource": "" }
q29910
train
function(sideloaded) { var store = get(this, 'store'); var models = {}; var serializer = this; sideloaded.forEach(function(link) { var type = link.type; if (link.relationships) { serializer.extractRelationships(link.relationships, link); } ...
javascript
{ "resource": "" }
q29911
train
function(links, resource) { var link, association, id, route, relationshipLink, cleanedRoute; // Clear the old format resource.links = {}; for (link in links) { association = links[link]; link = Ember.String.camelize(link.split('.').pop()); if(!associatio...
javascript
{ "resource": "" }
q29912
train
function(record, json, relationship) { var attr = relationship.key; var belongsTo = record.belongsTo(attr); var type, key; if (isNone(belongsTo)) { return; } type = this.keyForSnapshot(belongsTo); key = this.keyForRelationship(attr);
javascript
{ "resource": "" }
q29913
train
function(record, json, relationship) { var attr = relationship.key; var type = this.keyForRelationship(relationship.type); var key = this.keyForRelationship(attr); if (relationship.kind === 'hasMany') {
javascript
{ "resource": "" }
q29914
onSkeletonUpdate
train
function onSkeletonUpdate(skeleton) { for (var c in connections) {
javascript
{ "resource": "" }
q29915
onMessage
train
function onMessage(data) { if (data.type == "utf8") { message = JSON.parse(data.utf8Data); switch (message.command) { case "setJoints": console.log("Client has request to add joints: " + message.data); nuimotion.jointsTracking = message.data; ...
javascript
{ "resource": "" }
q29916
xsltChildNodes
train
function xsltChildNodes(input, template, output) { // Clone input context to keep variables declared here local to the // siblings of the children. var context = input.clone(); for (var i = 0; i
javascript
{ "resource": "" }
q29917
train
function() { // Make sure pending changes have been committed. this.commit(); if (this.history.length) { // Take the top diff from the history, apply it,
javascript
{ "resource": "" }
q29918
train
function() { this.commit(); if (this.redoHistory.length) { // The inverse of undo, basically. var item = this.redoHistory.pop();
javascript
{ "resource": "" }
q29919
train
function(from, to, lines) { var chain = []; for (var i = 0; i < lines.length; i++) { var end = (i == lines.length - 1) ? to : this.container.ownerDocument.createElement("BR");
javascript
{ "resource": "" }
q29920
train
function(doNotHighlight) { this.parent.clearTimeout(this.commitTimeout); // Make sure there are no pending dirty nodes. if (!doNotHighlight) this.editor.highlightDirty(true);
javascript
{ "resource": "" }
q29921
train
function(chains, updateFunc) { var shadows = [], dirty = []; for (var i = 0; i < chains.length; i++) { shadows.push(this.shadowChain(chains[i])); dirty.push(this[updateFunc](chains[i]));
javascript
{ "resource": "" }
q29922
train
function(node) { if (node) { if (!node.historyTouched) { this.touched.push(node);
javascript
{ "resource": "" }
q29923
train
function(chain) { var shadows = [], next = this.after(chain[0].from), end = chain[chain.length - 1].to; while (true) { shadows.push(next); var nextNode = next.to; if (!nextNode || nextNode == end) break; else next = nextNode.historyAfter || this.before(end);
javascript
{ "resource": "" }
q29924
train
function(chain) { // Some attempt is made to prevent the cursor from jumping // randomly when an undo or redo happens. It still behaves a bit // strange sometimes. var cursor = select.cursorPos(this.container, false), self = this; // Remove all nodes in the DOM tree between from and to (null for ...
javascript
{ "resource": "" }
q29925
train
function (hash /*:Object*/) /*:String*/ { //shortcuts var lang = YAHOO.lang; if (!lang.isObject(hash)){ throw new TypeError("Cookie._createCookieHashString(): Argument must be an object.");
javascript
{ "resource": "" }
q29926
train
function (text /*:String*/) /*:Object*/ { var hashParts /*:Array*/ = text.split("&"), hashPart /*:Array*/ = null, hash /*:Object*/ = {}; if (text.length > 0){ for (var i=0, len=hashParts.length; i < len; i++){
javascript
{ "resource": "" }
q29927
train
function (text /*:String*/, decode /*:Boolean*/) /*:Object*/ { var cookies /*:Object*/ = {}; if (YAHOO.lang.isString(text) && text.length > 0) { var decodeValue = (decode === false ? function(s){return s;} : decodeURIComponent); //if (/...
javascript
{ "resource": "" }
q29928
train
function (name /*:String*/, options /*:Variant*/) /*:Variant*/{ var lang = YAHOO.lang, converter; if (lang.isFunction(options)) { converter = options; options = {}; } else if (lang.isObject(options)) { converter = options.converte...
javascript
{ "resource": "" }
q29929
train
function (name, subName, converter) { var lang = YAHOO.lang, hash = this.getSubs(name); if (hash !== null) { if (!lang.isString(subName) || subName === ""){ throw new TypeError("Cookie.getSub(): Subcookie name must be a non-empty str...
javascript
{ "resource": "" }
q29930
train
function (name /*:String*/) /*:Object*/ { var isString = YAHOO.lang.isString; //check cookie name if (!isString(name) || name === ""){ throw new TypeError("Cookie.getSubs(): Cookie name must be a non-empty string."); } var cookies =
javascript
{ "resource": "" }
q29931
train
function (name /*:String*/, options /*:Object*/) /*:String*/ { //check cookie name if (!YAHOO.lang.isString(name) || name === ""){ throw new TypeError("Cookie.remove(): Cookie name must be a non-empty string."); } //set options -
javascript
{ "resource": "" }
q29932
train
function(name /*:String*/, subName /*:String*/, options /*:Object*/) /*:String*/ { var lang = YAHOO.lang; options = options || {}; //check cookie name if (!lang.isString(name) || name === ""){ throw new TypeError("Cookie.removeSub(): Cookie name mus...
javascript
{ "resource": "" }
q29933
train
function (name /*:String*/, value /*:Variant*/, options /*:Object*/) /*:String*/ { var lang = YAHOO.lang; options = options || {}; if (!lang.isString(name)){ throw new TypeError("Cookie.set(): Cookie name must be a string."); } if (...
javascript
{ "resource": "" }
q29934
train
function (name /*:String*/, subName /*:String*/, value /*:Variant*/, options /*:Object*/) /*:String*/ { var lang = YAHOO.lang; if (!lang.isString(name) || name === ""){ throw new TypeError("Cookie.setSub(): Cookie name must be a non-empty string."); } ...
javascript
{ "resource": "" }
q29935
train
function (name /*:String*/, value /*:Object*/, options /*:Object*/) /*:String*/ { var lang = YAHOO.lang; if (!lang.isString(name)){ throw new TypeError("Cookie.setSubs(): Cookie name must be a string.");
javascript
{ "resource": "" }
q29936
train
function(el,style) { var sStyle = YAHOO.util.Dom.getStyle(el,
javascript
{ "resource": "" }
q29937
train
function() { // Remove the canvas from the dom this.parentEl.removeChild(this.element); // Remove the wire reference from the connected terminals if(this.terminal1 && this.terminal1.removeWire) { this.terminal1.removeWire(this); } if(this.terminal2 && this.terminal2.removeWir...
javascript
{ "resource": "" }
q29938
train
function() { var self=this, body=document.body; if (!body || !body.firstChild) { window.setTimeout( function() { self.createFrame(); }, 50 ); return; } var div=this.getDragEl(), Dom=YAHOO.util.Dom; if (!div) { div = document.createElement("div"); div.id =...
javascript
{ "resource": "" }
q29939
train
function() { // Display the cut button this.hideNow(); this.addClass(CSS_PREFIX+"Wire-scissors"); // The scissors are within the terminal element this.appendTo(this._terminal.container ? this._terminal.container.layer.el : this._terminal.el.parentNode.parentNode); // A...
javascript
{ "resource": "" }
q29940
train
function() { // Create the DIV element this.el = WireIt.cn('div', {className: this.className} ); if(this.name) { this.el.title = this.name; } // Set the offset position
javascript
{ "resource": "" }
q29941
train
function(wire) { // Adds this wire to the list of connected wires : this.wires.push(wire); //
javascript
{ "resource": "" }
q29942
train
function(wire) { var index = WireIt.indexOf(wire, this.wires); if( index != -1 ) { this.wires[index].destroy(); this.wires[index] = null; this.wires = WireIt.compact(this.wires); // Remove the connected class if it has no more wires:
javascript
{ "resource": "" }
q29943
train
function() { var layerEl = this.container && this.container.layer ? this.container.layer.el : document.body; var obj = this.el; var curleft = 0, curtop = 0; if (obj.offsetParent) { do {
javascript
{ "resource": "" }
q29944
train
function() { var terminalList = []; if(this.wires) { for(var i = 0 ; i < this.wires.length ;
javascript
{ "resource": "" }
q29945
train
function(e) { // Make sure terminalList is an array var terminalList = YAHOO.lang.isArray(this._WireItTerminals) ? this._WireItTerminals : (this._WireItTerminals.isWireItTerminal ? [this._WireItTerminals] : []); // Redraw all the wires for(var i = 0 ; i < terminalList.length ; i++) {
javascript
{ "resource": "" }
q29946
train
function(event, args) { var size = args[0]; // TODO: do not hardcode those sizes !! WireIt.sn(this.bodyEl, null,
javascript
{ "resource": "" }
q29947
train
function(content) { if(typeof content == "string") { this.bodyEl.innerHTML = content; } else {
javascript
{ "resource": "" }
q29948
train
function(event, args) { var wire = args[0]; // add the wire to the list if it isn't in if( WireIt.indexOf(wire, this.wires) == -1 ) {
javascript
{ "resource": "" }
q29949
train
function(container) { var index = WireIt.indexOf(container, this.containers); if( index != -1 ) { container.remove(); this.containers[index] = null;
javascript
{ "resource": "" }
q29950
train
function(event, args) { var wire = args[0]; // add the wire to the list if it isn't in if( WireIt.indexOf(wire, this.wires) == -1 ) { this.wires.push(wire); if(this.enableMouseEvents) { YAHOO.util.Event.addListener(wire.element, "mousemove", this.onWireMouseMove...
javascript
{ "resource": "" }
q29951
train
function(event, args) { var wire = args[0]; var index = WireIt.indexOf(wire, this.wires); if( index != -1 ) { this.wires[index] = null;
javascript
{ "resource": "" }
q29952
train
function() { var i; var obj = {containers: [], wires: []}; for( i = 0 ; i < this.containers.length ; i++) { obj.containers.push( this.containers[i].getConfig() ); } for( i = 0 ; i < this.wires.length ; i++) {
javascript
{ "resource": "" }
q29953
train
function(wiring) { this.clear(); var i; if(YAHOO.lang.isArray(wiring.containers)) { for(i = 0 ; i < wiring.containers.length ; i++) { this.addContainer(wiring.containers[i]); } }
javascript
{ "resource": "" }
q29954
train
function(e) { var tgt = YAHOO.util.Event.getTarget(e); var tgtPos = [tgt.offsetLeft, tgt.offsetTop];
javascript
{ "resource": "" }
q29955
train
function() { var layer = this.layer; Event.addListener(this.element, 'mousedown', this.onMouseDown, this, true); Event.addListener(this.element, 'mouseup', this.onMouseUp, this, true); Event.addListener(this.element, 'mousemove', this.onMouseMove, this, true); Event.addListen...
javascript
{ "resource": "" }
q29956
train
function(e, args) { Event.stopEvent(e); if(this.isMouseDown) {
javascript
{ "resource": "" }
q29957
train
function() { if(this.scrollTimer) { window.clearTimeout(this.scrollTimer); } var that = this; this.scrollTimer
javascript
{ "resource": "" }
q29958
train
function() { var ctxt=this.getContext(); // Canvas Region var canvasRegion = Dom.getRegion(this.element); var canvasWidth = canvasRegion.right-canvasRegion.left-4; var canvasHeight = canvasRegion.bottom-canvasRegion.top-4; // Clear Rect ctxt.clearRect(0,0, canvasW...
javascript
{ "resource": "" }
q29959
train
function(ctxt, hRatio, vRatio) { var containers = this.layer.containers; var n = containers.length,i,gIS = WireIt.getIntStyle,containerEl; for(i = 0 ; i < n ; i++) { containerEl = containers[i].el;
javascript
{ "resource": "" }
q29960
train
function(ctxt, hRatio, vRatio) { var wires = this.layer.wires; var n = wires.length,i,wire; for(i = 0 ; i < n ; i++) { wire = wires[i]; var pos1 = wire.terminal1.getXY(), pos2 = wire.terminal2.getXY(); // Stroked line
javascript
{ "resource": "" }
q29961
train
function(arr) { var n = [], l=arr.length,i; for(i = 0 ; i < l ; i++) { if( !lang.isNull(arr[i]) && !lang.isUndefined(arr[i])
javascript
{ "resource": "" }
q29962
train
function(state) { if(state == inputEx.stateRequired) { return this.options.messages.required; } else if(state == inputEx.stateInvalid) {
javascript
{ "resource": "" }
q29963
train
function(msg) { if(!this.fieldContainer) { return; } if(!this.msgEl) { this.msgEl = inputEx.cn('div', {className: 'inputEx-message'}); try{ var divElements
javascript
{ "resource": "" }
q29964
train
function(options) { inputEx.Field.superclass.setOptions.call(this, options); this.options.wirable = lang.isUndefined(options.wirable) ? false : options.wirable;
javascript
{ "resource": "" }
q29965
train
function() { var wrapper = inputEx.cn('div', {className: 'WireIt-InputExTerminal'}); this.divEl.insertBefore(wrapper, this.fieldContainer); this.terminal = new WireIt.Terminal(wrapper, { name: this.options.name, direction: [-1,0], fakeDirection: [0, 1], ddConfig:...
javascript
{ "resource": "" }
q29966
train
function(fieldOptions) { // Instanciate the field var fieldInstance = inputEx(fieldOptions,this); this.inputs.push(fieldInstance); // Create an index to access fields by their name if(fieldInstance.options.name) { this.inputsNames[fieldInstance.options.name] = fieldIn...
javascript
{ "resource": "" }
q29967
train
function() { var input, inputName, state, message, returnedObj = { fields:{}, validate:true }; // Loop on all the sub fields for (var i = 0 ; i < this.inputs.length ; i++) { input = this.inputs[i]; inputName = input.options.name; state = input.getState(); message = input.get...
javascript
{ "resource": "" }
q29968
train
function() { var o = {}; for (var i = 0 ; i < this.inputs.length ; i++) { var v = this.inputs[i].getValue(); if(this.inputs[i].options.name) { if(this.inputs[i].options.flatten && lang.isObject(v) ) { lang.augmentObject( o, v);
javascript
{ "resource": "" }
q29969
train
function(eventName, args) { // Run interactions var fieldValue = args[0]; var fieldInstance = args[1]; this.runInteractions(fieldInstance,fieldValue);
javascript
{ "resource": "" }
q29970
train
function(fieldInstance,fieldValue) { var index = inputEx.indexOf(fieldInstance, this.inputs); var fieldConfig = this.options.fields[index]; if( YAHOO.lang.isUndefined(fieldConfig.interactions) ) return; // Let's run the interactions ! var interactions = fieldConfig.interactio...
javascript
{ "resource": "" }
q29971
train
function() { if(this.hasInteractions) { for(var i = 0 ; i < this.inputs.length ;
javascript
{ "resource": "" }
q29972
train
function(sendUpdatedEvt) { for(var i = 0 ; i < this.inputs.length ; i++) { this.inputs[i].clear(false);
javascript
{ "resource": "" }
q29973
train
function(errors) { var i,k; if(YAHOO.lang.isArray(errors)) { for(i = 0 ; i < errors.length ; i++) { k = errors[i][0]; value = errors[i][1]; if(this.inputsNames[k]) { if(this.inputsNames[k].options.showMsg) { this.inputsNames[k].displayMessage(value); Dom.replaceClass(this.inputsName...
javascript
{ "resource": "" }
q29974
train
function(options) { this.options = {}; this.options.id = lang.isString(options.id) ? options.id : Dom.generateId(); this.options.className = options.className || "inputEx-Button"; this.options.parentEl = lang.isString(options.parentEl) ? Dom.get(options.parentEl) : options.parentEl; ...
javascript
{ "resource": "" }
q29975
train
function(parentEl) { var innerSpan; if (this.options.type === "link" || this.options.type === "submit-link") { this.el = inputEx.cn('a', {className: this.options.className, id:this.options.id, href:"#"}); Dom.addClass(this.el,this.options.type === "link" ? "inputEx-...
javascript
{ "resource": "" }
q29976
train
function() { /** * Click Event facade (YUI custom event) * @event clickEvent */ this.clickEvent = new util.CustomEvent("click"); /** * Submit Event facade (YUI custom event) * @event submitEvent */ this.submitEvent = new util.CustomEvent("submit"); Even...
javascript
{ "resource": "" }
q29977
train
function() { this.disabled = true; Dom.addClass(this.el,"inputEx-Button-disabled");
javascript
{ "resource": "" }
q29978
train
function() { this.disabled = false; Dom.removeClass(this.el,"inputEx-Button-disabled");
javascript
{ "resource": "" }
q29979
train
function() { Event.addListener(this.el, "change", this.onChange, this, true); if (YAHOO.env.ua.ie){ // refer to inputEx-95 var field = this.el; new YAHOO.util.KeyListener(this.el, {keys:[13]}, {fn:function(){
javascript
{ "resource": "" }
q29980
train
function() { var value; value = (this.options.typeInvite && this.el.value == this.options.typeInvite) ? '' : this.el.value; if
javascript
{ "resource": "" }
q29981
train
function(e) { inputEx.StringField.superclass.onFocus.call(this,e);
javascript
{ "resource": "" }
q29982
train
function (config) { var choice, position, that; // allow config not to be an object, just a value -> convert it in a standard config object if (!lang.isObject(config)) { config = { value: config }; } choice = { value: config.value, label: lang.isString(config.label) ? config.label...
javascript
{ "resource": "" }
q29983
train
function (config) { var position, choice; // Get choice's position position = this.getChoicePosition(config); if (position === -1) { throw new Error("SelectField : invalid or missing position, label or value in removeChoice"); } // Choice to remove choice = this.choicesList[posi...
javascript
{ "resource": "" }
q29984
train
function (config) { var position, choice; position = this.getChoicePosition(config); if (position !== -1) {
javascript
{ "resource": "" }
q29985
train
function (config, unselect) { var position, choice; // Should we unselect choice if disabling selected choice if (lang.isUndefined(unselect) || !lang.isBoolean(unselect)) { unselect = true; } position = this.getChoicePosition(config); if (position !== -1) { choice = this.choicesL...
javascript
{ "resource": "" }
q29986
train
function (config) { var position, choice; position = this.getChoicePosition(config); if (position !== -1) {
javascript
{ "resource": "" }
q29987
train
function () { var i, length; // create DOM <select> node this.el = inputEx.cn('select', { id: this.divEl.id ? this.divEl.id + '-field' : YAHOO.util.Dom.generateId(), name: this.options.name || '' }); // list of choices (e.g. [{ label: "France", value:"fr", node:<DOM-node>, visibl...
javascript
{ "resource": "" }
q29988
train
function () { var choiceIndex; if (this.el.selectedIndex >= 0) { choiceIndex = inputEx.indexOf(this.el.childNodes[this.el.selectedIndex], this.choicesList, function (node, choice) { return node === choice.node;
javascript
{ "resource": "" }
q29989
train
function(options) { inputEx.EmailField.superclass.setOptions.call(this, options); // Overwrite options this.options.messages.invalid = inputEx.messages.invalidEmail; this.options.regexp = inputEx.regexps.email; // Validate the domain
javascript
{ "resource": "" }
q29990
train
function() { var value; value = inputEx.EmailField.superclass.getValue.call(this);
javascript
{ "resource": "" }
q29991
train
function(options) { inputEx.UrlField.superclass.setOptions.call(this, options); this.options.className = options.className ? options.className : "inputEx-Field inputEx-UrlField"; this.options.messages.invalid =
javascript
{ "resource": "" }
q29992
train
function() { inputEx.UrlField.superclass.render.call(this); this.el.size = this.options.size; if(!this.options.favicon) { YAHOO.util.Dom.addClass(this.el, 'nofavicon'); } // Create the favicon image tag
javascript
{ "resource": "" }
q29993
train
function(options) { inputEx.ListField.superclass.setOptions.call(this, options); this.options.className = options.className ? options.className : 'inputEx-Field inputEx-ListField'; this.options.sortable = lang.isUndefined(options.sortable) ? false : options.sortable; this.options.elementType =...
javascript
{ "resource": "" }
q29994
train
function() { // Add element button if(this.options.useButtons) { this.addButton = inputEx.cn('img', {src: inputEx.spacerUrl, className: 'inputEx-ListField-addButton'}); this.fieldContainer.appendChild(this.addButton); } // List label this.fieldContainer.appendChild( i...
javascript
{ "resource": "" }
q29995
train
function(value, sendUpdatedEvt) { if(!lang.isArray(value) ) { throw new Error("inputEx.ListField.setValue expected an array, got "+(typeof value)); } // Set the values (and add the lines if necessary) for(var i = 0 ; i < value.length ; i++) { if(i == this.subFields.length) { ...
javascript
{ "resource": "" }
q29996
train
function() { var values = []; for(var i = 0 ; i < this.subFields.length ; i++) {
javascript
{ "resource": "" }
q29997
train
function(e) { Event.stopEvent(e); // Prevent adding a new field if already at maxItems if( lang.isNumber(this.options.maxItems) && this.subFields.length >= this.options.maxItems ) { return; } // Add a field with no value:
javascript
{ "resource": "" }
q29998
train
function(index) { var elementDiv = this.subFields[index].getEl().parentNode; this.subFields[index] = undefined; this.subFields = inputEx.compactArray(this.subFields);
javascript
{ "resource": "" }
q29999
train
function(options) { inputEx.CheckBox.superclass.setOptions.call(this, options); // Overwrite options: this.options.className = options.className ? options.className : 'inputEx-Field inputEx-CheckBox'; this.options.rightLabel = options.rightLabel || ''; // Added options this.sentVa...
javascript
{ "resource": "" }