rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
this.testCount = 16; | worldScripts[scriptName].runShaderTestSuite(); } this.runShaderTestSuite = function () { if (!player.ship.docked) { debugConsole.consoleMessage("command-error", "You must be docked to run the shader test suite."); return; } | this.startUp = function(){ if (debugConsole === undefined) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); } else if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", "The shader test suite cannot be used bec... |
var scriptName = this.name; debugConsole.script.runShaderTestSuite = function () | if (!Mission.runScreen({ title: "Shader test suite", messageKey: "oolite_shader_test_confirmation", choicesKey: "oolite_shader_test_confirmation_choices" }, this.startTest, this)) | this.startUp = function(){ if (debugConsole === undefined) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); } else if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", "The shader test suite cannot be used bec... |
worldScripts[scriptName].runShaderTestSuite(); | log("shaderTest.error.missionScreenFailed", "The shader test suite failed to run a mission screen."); return; | this.startUp = function(){ if (debugConsole === undefined) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); } else if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", "The shader test suite cannot be used bec... |
this.runShaderTestSuite = function () | } this.startTest = function (resonse) { if (resonse != "A_CONTINUE") return; this.originalShaderMode = debugConsole.shaderMode; this.originalDisplayFPS = debugConsole.displayFPS; this.originalDebugFlags = debugConsole.debugFlags; this.passID = 1; this.nextTestIndex = 1; this.shipLaunchedFromStation = function () ... | this.startUp = function(){ if (debugConsole === undefined) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); } else if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", "The shader test suite cannot be used bec... |
if (!player.ship.docked) | if (this.passID == 1) | this.startUp = function(){ if (debugConsole === undefined) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); } else if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", "The shader test suite cannot be used bec... |
debugConsole.consoleMessage("command-error", "You must be docked to run the shader test suite."); return; | this.passID = 2; this.nextTestIndex = 2; testIndex = 1; | this.startUp = function(){ if (debugConsole === undefined) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); } else if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", "The shader test suite cannot be used bec... |
if (!Mission.runScreen({ title: "Shader test suite", messageKey: "oolite_shader_test_confirmation", choicesKey: "oolite_shader_test_confirmation_choices" }, this.startTest, this)) | else | this.startUp = function(){ if (debugConsole === undefined) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); } else if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", "The shader test suite cannot be used bec... |
log("shaderTest.error.missionScreenFailed", "The shader test suite failed to run a mission screen."); | this.performCleanUp(); var config = { title: "Shader test suite", message: "The test suite is complete.\n\n\n" + "Your OpenGL renderer information is:\n" + "Vendor: “" + debugConsole.glVendorString + "”\n" + "Renderer: “" + debugConsole.glRendererString + "”\n\n" + "This information can also be found in the Oolite log.... | this.startUp = function(){ if (debugConsole === undefined) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); } else if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", "The shader test suite cannot be used bec... |
this.startTest = function (resonse) | debugConsole.shaderMode = this.passID == 1 ? "SHADERS_SIMPLE" : "SHADERS_FULL"; debugConsole.displayFPS = true; debugConsole.debugFlags |= debugConsole.DEBUG_NO_SHADER_FALLBACK; var testLabel = (this.passID == 1 ? "simple" : "full") + "-" + testIndex; log("shaderTest.runTest", "Running test " + testLabel + " (" + tes... | this.startUp = function(){ if (debugConsole === undefined) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); } else if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", "The shader test suite cannot be used bec... |
if (resonse != "A_CONTINUE") return; this.originalShaderMode = debugConsole.shaderMode; this.originalDisplayFPS = debugConsole.displayFPS; this.originalDebugFlags = debugConsole.debugFlags; this.passID = 1; this.nextTestIndex = 1; this.shipLaunchedFromStation = function () { log("shaderTest.cancelled", "Shader test ... | model: modelName, title: "", message: "\n\n\n" + testLabel + "\n" + testDesc }; if (!Mission.runScreen(config, this.runNextTest, this)) { log("shaderTest.error.missionScreenFailed", "The shader test suite failed to run a mission screen."); this.performCleanUp(); return; | this.startUp = function(){ if (debugConsole === undefined) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); } else if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", "The shader test suite cannot be used bec... |
this.performCleanUp = function () { debugConsole.shaderMode = this.originalShaderMode; debugConsole.displayFPS = this.originalDisplayFPS; debugConsole.debugFlags = this.originalDebugFlags; delete this.passID; delete this.nextTestIndex; delete this.originalShaderMode; delete this.originalDisplayFPS; delete this.origina... | this.startUp = function(){ if (debugConsole === undefined) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); } else if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", "The shader test suite cannot be used bec... | |
log("shaderTest.loaded", "Shader test OXP is installed. To run the shader test, type \"runShaderTestSuite()\" in the debug console."); | this.startUp = function(){ if (debugConsole === undefined) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); } else if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", "The shader test suite cannot be used bec... | |
testRig.$registerTest("Quaternion.toString", function () { var q = new Quaternion(1.5, 14, 0, -3); var string = q.toString(); require.value("string", string, "(1.5 + 14i + 0j - 3k)"); }); testRig.$registerTest("Quaternion.toSource", function () { var q = new Quaternion(1.5, 14, 0, -3); var source = q.toSource(); req... | this.startUp = function (){ var testRig = worldScripts["oolite-script-test-rig"]; var require = testRig.$require; testRig.$registerTest("Quaternion constructor", function () { var basic = new Quaternion(1, 2, 3, 4); require.instance("basic", basic, Quaternion); var noNew = Quaternion(1, 2, 3, 4); require.instanc... | |
this.shadersSupported = (debugConsole.shaderMode != "SHADERS_NOT_SUPPORTED"); | this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("materialTest.error.consoleRequired", "The material test suite requires the debug console to be active."); return; } this.shadyTestCount = 16; this.nonShadyTestCount = 7; this.shadersSupported = (debugConsole.shader... | |
substitutions.count_string = expandMissionText(this.shadersSupported ? "oolite_material_test_count_full_shaders" : "oolite_material_test_count_no_shaders", substitutions); | substitutions.count_string = expandMissionText("oolite_material_test_count_" + debugConsole.maximumShaderMode, substitutions); | this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("materialTest.error.consoleRequired", "The material test suite requires the debug console to be active."); return; } this.shadyTestCount = 16; this.nonShadyTestCount = 7; this.shadersSupported = (debugConsole.shader... |
log("materialTest.start", "Starting material test suite " + this.version + " under Oolite " + oolite.versionString + " and " + debugConsole.platformDescription + " with OpenGL renderer \"" + debugConsole.glRendererString + "\", vendor \"" + debugConsole.glVendorString + "\"; shaders are " + (this.shadersSupported ? "su... | log("materialTest.start", "Starting material test suite " + this.version + " under Oolite " + oolite.versionString + " and " + debugConsole.platformDescription + " with OpenGL renderer \"" + debugConsole.glRendererString + "\", vendor \"" + debugConsole.glVendorString + "\"; shaders are " + supportString + "."); | this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("materialTest.error.consoleRequired", "The material test suite requires the debug console to be active."); return; } this.shadyTestCount = 16; this.nonShadyTestCount = 7; this.shadersSupported = (debugConsole.shader... |
var maxPass = this.shadersSupported ? 3 : 1; if (this.passID < maxPass) | if (this.passID < this.maxPassID) | this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("materialTest.error.consoleRequired", "The material test suite requires the debug console to be active."); return; } this.shadyTestCount = 16; this.nonShadyTestCount = 7; this.shadersSupported = (debugConsole.shader... |
this.shipLaunchedFromStation = function () { performCleanUp(); } | this.shipLaunchedFromStation = function () { log("shaderTest.cancelled", "Shader test suite cancelled by exiting station."); this.performCleanUp(); } | this.startUp = function(){ if (debugConsole === undefined) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); } else if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", "The shader test suite cannot be used bec... |
debugConsole.debugFlags |= debugConsole.DEBUG_NO_SHADER_FALLBACK; | this.startUp = function(){ if (debugConsole === undefined) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); } else if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", "The shader test suite cannot be used bec... | |
log("interfaceTest.loaded", "JavaScript interface test suite is installed; enter ooRunTests() while docked."); | this.startUp = function startUp(){ if (global.consoleMessage === undefined) { this.consoleMessage = function(colorCode, message) { log(message); } }} | |
a.originalPosition.left)||null;var h=parseInt(a.element.css("top"),10)+(a.position.top-a.originalPosition.top)||null;a.element.animate(e.extend(f,h&&g?{top:h,left:g}:{}),{duration:c.animateDuration,easing:c.animateEasing,step:function(){var i={width:parseInt(a.element.css("width"),10),height:parseInt(a.element.css("hei... | h)).match(/^([\d+-.]+)(.*)$/);g[h]={value:i[1],unit:i[2]||"px"}});a.toShow.css({height:0,overflow:"hidden"}).show();a.toHide.filter(":hidden").each(a.complete).end().filter(":visible").animate(e,{step:function(i,h){if(h.prop=="height")f=h.end-h.start===0?0:(h.now-h.start)/(h.end-h.start);a.toShow[0].style[h.prop]=f*g[h... | a.originalPosition.left)||null;var h=parseInt(a.element.css("top"),10)+(a.position.top-a.originalPosition.top)||null;a.element.animate(e.extend(f,h&&g?{top:h,left:g}:{}),{duration:c.animateDuration,easing:c.animateEasing,step:function(){var i={width:parseInt(a.element.css("width"),10),height:parseInt(a.element.css("hei... |
this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!W)W=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.opt... | this.custom(this.cur(),0)},step:function(a){var b=c.now(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var e in this.options.curAnim)if(this.options.curAnim[e]!==true)d=false;if(d){if(this.options.overflow!=null&&!c.... | this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!W)W=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.opt... |
c.fx.stop()},stop:function(){clearInterval(W);W=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[... | c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},interval:13,stop:function(){clearInterval(ba);ba=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.pr... | c.fx.stop()},stop:function(){clearInterval(W);W=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[... |
$(document).unbind('mousemove.orderable', change); $(document).unbind('mouseup.orderable', stop); | $(document).unbind('.orderable'); | var stop = function() { $(document).unbind('mousemove.orderable', change); $(document).unbind('mouseup.orderable', stop); if (state != null) { object.removeClass('ordering'); state.item.removeClass('ordering'); object.trigger('orderstop', [state.item]); state = null; } return f... |
logger.log('store item data', JSON.stringify(itemData)) | logger.debug('store item data', JSON.stringify(itemData)) | this.storeItemData = function(itemData, callback) { logger.log('store item data', JSON.stringify(itemData)) this._db.saveDoc(itemData, callback) } |
try { return utils.string.sprintf('%' + arg, value); } catch (e) { return ''; } | try { return string_utils.sprintf('%' + arg, value); } catch (e) { return ''; } | stringformat: function (value, arg) { // TODO: this filter may not be safe try { return utils.string.sprintf('%' + arg, value); } catch (e) { return ''; } }, |
function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return X(this,a,b,true,function(d,f,e){if(e===w)return c.curCSS(d,f);if(typeof e==="number"&&!kb.test(f))e+="px";c.style(d,f,e)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return w;if((b==="width"||b==="height")&&parseFloat(d)<0)d... | zoom:true,lineHeight:true},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,e){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var f,h=c.camelCase(b),l=a.style,k=c.cssHooks[h];b=c.cssProps[h]||h;if(d!==B){if(!(typeof d==="number"&&isNaN(d)||d==null)){if(typeof d==="number"&&!c.cssN... | function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return X(this,a,b,true,function(d,f,e){if(e===w)return c.curCSS(d,f);if(typeof e==="number"&&!kb.test(f))e+="px";c.style(d,f,e)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return w;if((b==="width"||b==="height")&&parseFloat(d)<0)d... |
thisObj.renderSubfeature(param.feature, param.featDiv, val); | thisObj.renderSubfeature(param.feature, param.featDiv, val, param.displayStart, param.displayEnd); | this.subfeatureCallback = function(i, val, param) { thisObj.renderSubfeature(param.feature, param.featDiv, val); }; |
var submitFn =function(event){ var form = Ext.getCmp('new_ds_form').form; if (form.isValid()){ form.submit(); } } | submitFn:submitFn=function(){ var form = Ext.getCmp("general_settings_form").form; if (form.isValid()) { var undo = C.disableUnchanged(form); form.submit({ waitMsg:'Saving...', success:undo, failure:undo }); }else{ Ext.MessageBox.alert('Errors', 'Please fix the errors noted.'); } }, | var submitFn =function(event){ var form = Ext.getCmp('new_ds_form').form; if (form.isValid()){ form.submit(); } } |
this.subscribeToItemMutations = function(item, callback) { var itemId = item.getId(); if (!this._mutationSubscriptions[itemId]) { this._mutationSubscriptions[itemId] = {}; } var subId = 'sub' + this._uniqueId++; this._mutationSubscriptions[itemId][subId] = callback; return subId; | this.subscribeToItemMutations = function(itemId, subCallback, snapshotCallback) { var subId = this._itemSubscriberPool.add(itemId, subCallback) this._getItemSnapshot(itemId, snapshotCallback) return subId | this.subscribeToItemMutations = function(item, callback) { var itemId = item.getId(); if (!this._mutationSubscriptions[itemId]) { this._mutationSubscriptions[itemId] = {}; } var subId = 'sub' + this._uniqueId++; this._mutationSubscriptions[itemId][subId] = callback; return subId; } |
success: function(result) { Symphony.Language.Dictionary = $.extend(Symphony.Language.Dictionary, result); | success: function() { Symphony.Message.clear('reorder'); | success: function(result) { Symphony.Language.Dictionary = $.extend(Symphony.Language.Dictionary, result); }, |
success: function(result, request) { obj = Ext.util.JSON.decode(result.responseText); username_label = obj['username_label']; password_label = obj['password_label']; login_label = obj['login_label']; if (obj["validSession"] == true) { form.submit(); } else { showLoginForm(); } }, | success: function() { form.submit(); }, | success: function(result, request) { obj = Ext.util.JSON.decode(result.responseText); // Get localized login form strings from ajax call. // This makes translation easier from scripts using this function username_label = obj['username_label']; password_label = obj['password_label']; login_label = obj['log... |
$('input[type=checkbox]#use_date_filters').click(function() { if (!$(this).is(':checked')) { $('form#filters_form_open select[name=start_year]').attr('disabled', 'disabled'); $('form#filters_form_open select[name=start_month]').attr('disabled', 'disabled'); $('form#filters_form_open select[name=start_day]').attr('disab... | success: function(html) { $(this).html(html); $('input[type=checkbox]#use_date_filters').click(function() { if (!$(this).is(':checked')) { $('form#filters_form_open select[name=start_year]').attr('disabled', 'disabled'); $('form#filters_form_open select[name=start_month]').attr('disabled', 'disab... | |
a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(ia,ja);f=a.currentStyle[b]||a.currentStyle[d];if(!mb.test(f)&&nb.test(f)){b=e.left;var j=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=j... | h=c.cssHooks[f];b=c.cssProps[f]||f;if(h&&"get"in h&&(e=h.get(a,true,d))!==B)return e;else if(W)return W(a,b,f)},swap:function(a,b,d){var e={},f;for(f in b){e[f]=a.style[f];a.style[f]=b[f]}d.call(a);for(f in b)a.style[f]=e[f]},camelCase:function(a){return a.replace(hb,lb)}});c.curCSS=c.css;c.each(["height","width"],func... | a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(ia,ja);f=a.currentStyle[b]||a.currentStyle[d];if(!mb.test(f)&&nb.test(f)){b=e.left;var j=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=j... |
arguments);else{var a=k.apply(this,arguments);a[1].mode="toggle";return this.effect.apply(this,a)}},cssUnit:function(c){var a=this.css(c),b=[];f.each(["em","px","%","pt"],function(d,e){if(a.indexOf(e)>0)b=[parseFloat(a),e]});return b}});f.easing.jswing=f.easing.swing;f.extend(f.easing,{def:"easeOutQuad",swing:function(... | k.apply(this,arguments);a[1].mode="hide";return this.effect.apply(this,a)}},__toggle:f.fn.toggle,toggle:function(c){if(l(c)||typeof c==="boolean"||f.isFunction(c))return this.__toggle.apply(this,arguments);else{var a=k.apply(this,arguments);a[1].mode="toggle";return this.effect.apply(this,a)}},cssUnit:function(c){var a... | arguments);else{var a=k.apply(this,arguments);a[1].mode="toggle";return this.effect.apply(this,a)}},cssUnit:function(c){var a=this.css(c),b=[];f.each(["em","px","%","pt"],function(d,e){if(a.indexOf(e)>0)b=[parseFloat(a),e]});return b}});f.easing.jswing=f.easing.swing;f.extend(f.easing,{def:"easeOutQuad",swing:function(... |
f.effects.animateClass.apply(this,[{remove:c},a,b,d]):this._removeClass(c)},_toggleClass:f.fn.toggleClass,toggleClass:function(c,a,b,d,e){return typeof a=="boolean"||a===j?b?f.effects.animateClass.apply(this,[a?{add:c}:{remove:c},b,d,e]):this._toggleClass(c,a):f.effects.animateClass.apply(this,[{toggle:c},a,b,d])},swit... | f.effects.animateClass.apply(this,[{add:c},a,b,d]):this._addClass(c)},_removeClass:f.fn.removeClass,removeClass:function(c,a,b,d){return a?f.effects.animateClass.apply(this,[{remove:c},a,b,d]):this._removeClass(c)},_toggleClass:f.fn.toggleClass,toggleClass:function(c,a,b,d,e){return typeof a=="boolean"||a===j?b?f.effec... | f.effects.animateClass.apply(this,[{remove:c},a,b,d]):this._removeClass(c)},_toggleClass:f.fn.toggleClass,toggleClass:function(c,a,b,d,e){return typeof a=="boolean"||a===j?b?f.effects.animateClass.apply(this,[a?{add:c}:{remove:c},b,d,e]):this._toggleClass(c,a):f.effects.animateClass.apply(this,[{toggle:c},a,b,d])},swit... |
var template = $(source).clone(); | var template = $(source).clone(true); | $.fn.symphonyDuplicator = function(custom_settings) { var objects = this; var settings = { instances: '> li:not(.template)', // What children do we use as instances? templates: '> li.template', // What children do we use as templates? headers: '> :first-child', // What part of an instance is the header... |
var template = $(this).remove(); | var template = $(this).clone(true); | $.fn.symphonyDuplicator = function(custom_settings) { var objects = this; var settings = { instances: '> li:not(.template)', // What children do we use as instances? templates: '> li.template', // What children do we use as templates? headers: '> :first-child', // What part of an instance is the header... |
$(this).remove(); | $.fn.symphonyDuplicator = function(custom_settings) { var objects = this; var settings = { instances: '> li:not(.template)', // What children do we use as instances? templates: '> li.template', // What children do we use as templates? headers: '> :first-child', // What part of an instance is the header... | |
Language strings -------------------------------------------------------------------------*/ Symphony.Language.add({ 'Add item': false, 'Remove item': false }); /*------------------------------------------------------------------------- | jQuery.fn.symphonyDuplicator = function(custom_settings) { var objects = this; var settings = { instances: '> li:not(.template)', // What children do we use as instances? templates: '> li.template', // What children do we use as templates? headers: '> :first-child', // What part of an instance is the h... | |
state.min = Math.min(b, a + (item.prev().offset().top || -Infinity)); | state.min = Math.min(b, a + (prev.size() > 0 ? prev.offset().top : -Infinity)); | jQuery.fn.symphonyOrderable = function(custom_settings) { var objects = this; var settings = { items: 'li', handles: '*', delay_initialize: false }; jQuery.extend(settings, custom_settings); /*------------------------------------------------------------------------- Orderable ----------------------... |
object.find(settings.items).each(function() { var item = $(this); var handle = item.find(settings.handles); handle.unbind('mousedown.orderable', start); handle.bind('mousedown.orderable', start); }); | object.delegate(settings.items + ' ' + settings.handles, 'mousedown.orderable', start); | $.fn.symphonyOrderable = function(custom_settings) { var objects = this; var settings = { items: 'li', handles: '*', delay_initialize: false }; $.extend(settings, custom_settings); /*-----------------------------------------------------------------------*/ objects = objects.map(function() { var... |
var start = function() { | var start = function(item) { | $.fn.symphonyOrderable = function(custom_settings) { var objects = this; var settings = { items: 'li', handles: '*', delay_initialize: false }; $.extend(settings, custom_settings); /*-----------------------------------------------------------------------*/ objects = objects.map(function() { var... |
item: $(this).parents(settings.items), | item: item, | $.fn.symphonyOrderable = function(custom_settings) { var objects = this; var settings = { items: 'li', handles: '*', delay_initialize: false }; $.extend(settings, custom_settings); /*-----------------------------------------------------------------------*/ objects = objects.map(function() { var... |
return false; | $.fn.symphonyOrderable = function(custom_settings) { var objects = this; var settings = { items: 'li', handles: '*', delay_initialize: false }; $.extend(settings, custom_settings); /*-----------------------------------------------------------------------*/ objects = objects.map(function() { var... | |
$(document).unbind('mousemove.orderable', change); $(document).unbind('mouseup.orderable', stop); | $(document).unbind('.orderable'); | $.fn.symphonyOrderable = function(custom_settings) { var objects = this; var settings = { items: 'li', handles: '*', delay_initialize: false }; $.extend(settings, custom_settings); /*-----------------------------------------------------------------------*/ objects = objects.map(function() { var... |
object.delegate(settings.items + ' ' + settings.handles, 'mousedown.orderable', start); | object.delegate(settings.items + ' ' + settings.handles, 'mousedown.orderable', function(event) { var target = $(event.target), item = $(this).parents(settings.items); if(!target.is('input, textarea, select')) { start(item); return false; } }); | $.fn.symphonyOrderable = function(custom_settings) { var objects = this; var settings = { items: 'li', handles: '*', delay_initialize: false }; $.extend(settings, custom_settings); /*-----------------------------------------------------------------------*/ objects = objects.map(function() { var... |
select.click(function() { | select.change(function() { | $.fn.symphonyPickable = function(custom_settings) { var objects = $(this); var settings = { pickables: '.pickable' }; $.extend(settings, custom_settings); /*-----------------------------------------------------------------------*/ // Pickables var pickables = $(settings.pickables).addClass('.pickable'); ... |
}).click(); | }).change(); | $.fn.symphonyPickable = function(custom_settings) { var objects = $(this); var settings = { pickables: '.pickable' }; $.extend(settings, custom_settings); /*-----------------------------------------------------------------------*/ // Pickables var pickables = $(settings.pickables).addClass('.pickable'); ... |
var pickers = $(this); var selectables = $(settings.selectables); | var pickers = jQuery(this); var selectables = jQuery(settings.selectables); | jQuery.fn.symphonyPicker = function(custom_settings) { // Settings var settings = { selectables: '.selectable', handle: 'selectable' }; jQuery.extend(settings, custom_settings); // Elements var pickers = $(this); var selectables = $(settings.selectables); // Process pickers return pickers.each( var picker = $(this)... |
return pickers.each( var picker = $(this); | return pickers.each(function() { var picker = jQuery(this); | jQuery.fn.symphonyPicker = function(custom_settings) { // Settings var settings = { selectables: '.selectable', handle: 'selectable' }; jQuery.extend(settings, custom_settings); // Elements var pickers = $(this); var selectables = $(settings.selectables); // Process pickers return pickers.each( var picker = $(this)... |
selectables.filter('#' + $(this).val()).hide(); | selectables.filter('#' + jQuery(this).val()).hide(); | jQuery.fn.symphonyPicker = function(custom_settings) { // Settings var settings = { selectables: '.selectable', handle: 'selectable' }; jQuery.extend(settings, custom_settings); // Elements var pickers = $(this); var selectables = $(settings.selectables); // Process pickers return pickers.each( var picker = $(this)... |
selectables.hide().filter('#' + $(this).val()).show(); | selectables.hide().filter('#' + jQuery(this).val()).show(); | jQuery.fn.symphonyPicker = function(custom_settings) { // Settings var settings = { selectables: '.selectable', handle: 'selectable' }; jQuery.extend(settings, custom_settings); // Elements var pickers = $(this); var selectables = $(settings.selectables); // Process pickers return pickers.each( var picker = $(this)... |
else { picker.hide(); selectables.filter('#' + select.val()).removeClass(settings.handle); } }); } | jQuery.fn.symphonyPicker = function(custom_settings) { // Settings var settings = { selectables: '.selectable', handle: 'selectable' }; jQuery.extend(settings, custom_settings); // Elements var pickers = $(this); var selectables = $(settings.selectables); // Process pickers return pickers.each( var picker = $(this)... | |
object.find(settings.items).live('click', function() { | object.find(settings.items).bind('click', function() { | $.fn.symphonyTags = function(custom_settings) { var objects = this; var settings = { items: 'li' }; $.extend(settings, custom_settings); /*-----------------------------------------------------------------------*/ objects = objects.map(function() { var object = $(this); object.find(settings.items).live('c... |
objects = objects.map(function() { var object = $(this); object.find(settings.items).bind('click', function() { | return objects.delegate(settings.items, 'click.tags', function(event) { var item = $(this), object = item.parent(), input = object.parent().find('label input'), value = input.val(), tag = item.attr('class') || item.text(); | $.fn.symphonyTags = function(custom_settings) { var objects = this; var settings = { items: 'li' }; $.extend(settings, custom_settings); /*-----------------------------------------------------------------------*/ objects = objects.map(function() { var object = $(this); object.find(settings.items).bind... |
var input = $(this).parent().prevAll('label').find('input')[0]; var tag = this.className || $(this).text(); | if(object.is('.singular')) { input.val(tag); } | $.fn.symphonyTags = function(custom_settings) { var objects = this; var settings = { items: 'li' }; $.extend(settings, custom_settings); /*-----------------------------------------------------------------------*/ objects = objects.map(function() { var object = $(this); object.find(settings.items).bind... |
if(input === undefined) { input = $(this).parent().prevAll('#error').find('label input')[0] | else if(object.is('.inline')) { var start = input[0].selectionStart, end = input[0].selectionEnd, position = 0; if(start > 0) { input.val(value.substring(0, start) + tag + value.substring(end, value.length)); position = start + tag.length; | $.fn.symphonyTags = function(custom_settings) { var objects = this; var settings = { items: 'li' }; $.extend(settings, custom_settings); /*-----------------------------------------------------------------------*/ objects = objects.map(function() { var object = $(this); object.find(settings.items).bind... |
input.focus(); if (object.hasClass('singular')) { input.value = tag; | else { input.val(value + tag); position = value.length + tag.length; | $.fn.symphonyTags = function(custom_settings) { var objects = this; var settings = { items: 'li' }; $.extend(settings, custom_settings); /*-----------------------------------------------------------------------*/ objects = objects.map(function() { var object = $(this); object.find(settings.items).bind... |
else if (object.hasClass('inline')) { var start = input.selectionStart; var end = input.selectionEnd; | input[0].selectionStart = position; input[0].selectionEnd = position; } | $.fn.symphonyTags = function(custom_settings) { var objects = this; var settings = { items: 'li' }; $.extend(settings, custom_settings); /*-----------------------------------------------------------------------*/ objects = objects.map(function() { var object = $(this); object.find(settings.items).bind... |
if (start >= 0) { input.value = input.value.substring(0, start) + tag + input.value.substring(end, input.value.length); | else { var exp = new RegExp('^' + tag + '$', 'i'), tags = value.split(/,\s*/), removed = false; for(var index in tags) { if(tags[index].match(exp)) { tags.splice(index, 1); removed = true; | $.fn.symphonyTags = function(custom_settings) { var objects = this; var settings = { items: 'li' }; $.extend(settings, custom_settings); /*-----------------------------------------------------------------------*/ objects = objects.map(function() { var object = $(this); object.find(settings.items).bind... |
else { input.value += tag; | else if(tags[index] == '') { tags.splice(index, 1); | $.fn.symphonyTags = function(custom_settings) { var objects = this; var settings = { items: 'li' }; $.extend(settings, custom_settings); /*-----------------------------------------------------------------------*/ objects = objects.map(function() { var object = $(this); object.find(settings.items).bind... |
input.selectionStart = start + tag.length; input.selectionEnd = start + tag.length; | $.fn.symphonyTags = function(custom_settings) { var objects = this; var settings = { items: 'li' }; $.extend(settings, custom_settings); /*-----------------------------------------------------------------------*/ objects = objects.map(function() { var object = $(this); object.find(settings.items).bind... | |
else { var exp = new RegExp('^' + tag + '$', 'i'); var tags = input.value.split(/,\s*/); var removed = false; | if(!removed) { tags.push(tag); } | $.fn.symphonyTags = function(custom_settings) { var objects = this; var settings = { items: 'li' }; $.extend(settings, custom_settings); /*-----------------------------------------------------------------------*/ objects = objects.map(function() { var object = $(this); object.find(settings.items).bind... |
for (var index in tags) { if (tags[index].match(exp)) { tags.splice(index, 1); removed = true; } else if (tags[index] == '') { tags.splice(index, 1); } } if (!removed) tags.push(tag); input.value = tags.join(', '); } }); return object; | input.val(tags.join(', ')); } | $.fn.symphonyTags = function(custom_settings) { var objects = this; var settings = { items: 'li' }; $.extend(settings, custom_settings); /*-----------------------------------------------------------------------*/ objects = objects.map(function() { var object = $(this); object.find(settings.items).bind... |
return objects; | $.fn.symphonyTags = function(custom_settings) { var objects = this; var settings = { items: 'li' }; $.extend(settings, custom_settings); /*-----------------------------------------------------------------------*/ objects = objects.map(function() { var object = $(this); object.find(settings.items).bind... | |
log('syncWindowHistoryFocus for '+name+' ('+aOptions.currentEntry.label+')'); | log('syncWindowHistoryFocus for '+name+' ('+aOptions.currentEntry.label+')', 4); | syncWindowHistoryFocus : function(aOptions) { if (!aOptions.currentEntry) throw new Error('currentEntry must be specified!'); if (!aOptions.entries) throw new Error('entries must be specified!'); if (!aOptions.windows) throw new Error('windows must be specified!'); if (aOptions.entries.length != aOp... |
log(name+' is synced for '+aIndex+' ('+aEntry.label+')'); | log(name+' is synced for '+aIndex+' ('+aEntry.label+')', 5); | syncWindowHistoryFocus : function(aOptions) { if (!aOptions.currentEntry) throw new Error('currentEntry must be specified!'); if (!aOptions.entries) throw new Error('entries must be specified!'); if (!aOptions.windows) throw new Error('windows must be specified!'); if (aOptions.entries.length != aOp... |
function tabIndex(buttonId) { return OD.get(buttonId).getElementsByTagName("button")[0].tabIndex; } | function tabIndex(buttonId) { return OUD.get(buttonId).getElementsByTagName("button")[0].tabIndex; } | function tabIndex(buttonId) { return OD.get(buttonId).getElementsByTagName("button")[0].tabIndex; } |
t_tag_separator = $j('#tag_separator').val(); t_tag_string = $j('#tag_string'); t_tag_select = $j('#tag_select'); | t_tag_separator = $('#tag_separator').val(); t_tag_string = $('#tag_string'); t_tag_select = $('#tag_select'); | function tag_string_append( p_string ) { t_tag_separator = $j('#tag_separator').val(); t_tag_string = $j('#tag_string'); t_tag_select = $j('#tag_select'); if ( Trim( p_string ) == '' ) { return; } if ( t_tag_string.val() != '' ) { t_tag_string.val( t_tag_string.val() + t_tag_separator + p_string ); } else { t_tag_str... |
offlineIframe.contentWindow.ORBEON.xforms.Document.dispatchEvent("$containing-document$", "xxforms-offline"); | offlineIframe.contentWindow.ORBEON.xforms.Document.dispatchEvent("#document", "xxforms-offline"); | takeOfflineFromSummary: function(url, formOfflineListener) { ORBEON.xforms.Offline.init(); var formLoadingComplete = false; // Check at a regular interval if the flag is set, when it is load the form in the frame. var formLoadingIntervalID = window.setInterval(function() { if ... |
ORBEON.xforms.Document.dispatchEvent("$containing-document$", "xxforms-online"); | ORBEON.xforms.Document.dispatchEvent("#document", "xxforms-online"); | takeOnline: function(beforeOnlineListener) { ORBEON.xforms.Offline.init(); // Update the static state and dynamic state with the one from the database var resultSet = ORBEON.xforms.Offline.gearsDatabase.execute("select form_id, static_state, dynamic_state, offline_events from Offline_Forms wher... |
{setup:function(){if(this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length)return na("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="te... | "form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length){a.liveFired=B;return la("submit",this,arguments)}});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest(... | {setup:function(){if(this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length)return na("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="te... |
var thiss = this; thiss.closeAccordionCase(thiss, '_314209', function() { thiss.openAccordionCase(thiss, '_314209', function() { var table = YAHOO.util.Dom.get('my-accordion$table-314209$table-314209-table'); var visibility = YAHOO.util.Dom.getStyle(table, 'visibility'); YAHOO.util.Assert.isTrue(visibility == 'visible'... | var thiss = this; thiss.closeAccordionCase(thiss, '_314209', function() { thiss.openAccordionCase(thiss, '_314209', function() { var table = YAHOO.util.Dom.get('my-accordion$table-314209$table-314209-table'); var visibility = YAHOO.util.Dom.getStyle(table, 'visibility'); YAHOO.util.Assert.isTrue(visibility == 'visible'... | test314209: function() { var thiss = this; thiss.closeAccordionCase(thiss, '_314209', function() { thiss.openAccordionCase(thiss, '_314209', function() { var table = YAHOO.util.Dom.get('my-accordion$table-314209$table-314209-table'); var visibility = YAHOO.util... |
}); } | } | test314209: function() { var thiss = this; thiss.closeAccordionCase(thiss, '_314209', function() { thiss.openAccordionCase(thiss, '_314209', function() { var table = YAHOO.util.Dom.get('my-accordion$table-314209$table-314209-table'); var visibility = YAHOO.util... |
var thiss = this; thiss.openAccordionCase(thiss, '_314415', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("show", "true"); }, function() { var table = YAHOO.util.Dom.get('my-accordion$_314415-table$_314415-table-table·1'); thiss.checkTableStructure(table, ... | var thiss = this; thiss.openAccordionCase(thiss, '_314415', function() { | test314415: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314415', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("show", "true"); }, function() { // Check the table struc... |
ORBEON.xforms.Document.setValue("show", "false"); | ORBEON.xforms.Document.setValue("show", "true"); | test314415: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314415', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("show", "true"); }, function() { // Check the table struc... |
table = YAHOO.util.Dom.get('my-accordion$_314415-table$_314415-table-table·1'); YAHOO.util.Assert.isNull(table, "The table should have been deleted"); | var table = YAHOO.util.Dom.get('my-accordion$_314415-table$_314415-table-table·1'); thiss.checkTableStructure(table, 1, true); | test314415: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314415', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("show", "true"); }, function() { // Check the table struc... |
ORBEON.xforms.Document.setValue("show", "true"); | ORBEON.xforms.Document.setValue("show", "false"); | test314415: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314415', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("show", "true"); }, function() { // Check the table struc... |
thiss.checkTableStructure(table, 1, true); | YAHOO.util.Assert.isNull(table, "The table should have been deleted"); ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("show", "true"); }, function() { table = YAHOO.util.Dom.get('my-accordion$_314415-table$_314415-table-table·1'); thiss.checkTableStructure(table, 1, true... | test314415: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314415', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("show", "true"); }, function() { // Check the table struc... |
thiss.closeAccordionCase(thiss, '_314415'); | thiss.closeAccordionCase(thiss, '_314415'); }); | test314415: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314415', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("show", "true"); }, function() { // Check the table struc... |
}); } ) ; }, | } ) ; }, | test314415: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314415', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("show", "true"); }, function() { // Check the table struc... |
var link6 = thiss.getPaginateLink(container, 'last >>'); ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { YAHOO.util.UserAction.click(link6, {clientX: 1}); }, function() { thiss.checkColumnValues(table, 1, false, [35, 36, 37]); thiss.checkPaginationLinks(container, ['+<< first', '+< prev', '+1', '+2', '+3... | var link6 = thiss.getPaginateLink(container, 'last >>'); | test314422: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314422', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "1000"); }, function() { // Check the table ... |
ORBEON.xforms.Document.setValue("maxLength", "30"); | YAHOO.util.UserAction.click(link6, {clientX: 1}); | test314422: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314422', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "1000"); }, function() { // Check the table ... |
thiss.checkColumnValues(table, 1, false, [35, 37]); thiss.checkPaginationLinks(container, ['+<< first', '+< prev', '+1', '-2', '-next >', '-last >>']); | thiss.checkColumnValues(table, 1, false, [35, 36, 37]); thiss.checkPaginationLinks(container, ['+<< first', '+< prev', '+1', '+2', '+3', '+4', '+5', '+6', '+7', '-8', '-next >', '-last >>']); ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "30"); }, function()... | test314422: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314422', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "1000"); }, function() { // Check the table ... |
thiss.closeAccordionCase(thiss, '_314422'); | thiss.closeAccordionCase(thiss, '_314422'); }); | test314422: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314422', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "1000"); }, function() { // Check the table ... |
}); } | } | test314422: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314422', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "1000"); }, function() { // Check the table ... |
var thiss = this; thiss.openAccordionCase(thiss, '_314459', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "30"); ORBEON.xforms.Document.setValue("show", "true"); }, function() { var table = YAHOO.util.Dom.get('my-accordion$_314459-table$_31445... | var thiss = this; thiss.openAccordionCase(thiss, '_314459', function() { | test314459: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314459', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "30"); ORBEON.xforms.Document.setValue("show", "true");... |
ORBEON.xforms.Document.setValue("show", "false"); | ORBEON.xforms.Document.setValue("maxLength", "30"); ORBEON.xforms.Document.setValue("show", "true"); | test314459: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314459', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "30"); ORBEON.xforms.Document.setValue("show", "true");... |
table = YAHOO.util.Dom.get('my-accordion$_314459-table$_314459-table-table'); | var table = YAHOO.util.Dom.get('my-accordion$_314459-table$_314459-table-table'); | test314459: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314459', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "30"); ORBEON.xforms.Document.setValue("show", "true");... |
container = YAHOO.util.Dom.get('my-accordion$_314459-table$_314459-table-container'); thiss.checkPaginationLinks(container, []); | var container = YAHOO.util.Dom.get('my-accordion$_314459-table$_314459-table-container'); thiss.checkPaginationLinks(container, ['-<< first', '-< prev', '-1', '+2', '+next >', '+last >>']); | test314459: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314459', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "30"); ORBEON.xforms.Document.setValue("show", "true");... |
ORBEON.xforms.Document.setValue("show", "true"); | ORBEON.xforms.Document.setValue("show", "false"); | test314459: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314459', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "30"); ORBEON.xforms.Document.setValue("show", "true");... |
thiss.checkPaginationLinks(container, ['-<< first', '-< prev', '-1', '+2', '+next >', '+last >>']); | thiss.checkPaginationLinks(container, []); ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("show", "true"); }, function() { table = YAHOO.util.Dom.get('my-accordion$_314459-table$_314459-table-table'); thiss.checkTableStructure(table, 1, false); container = YAHOO.util.Dom... | test314459: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314459', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "30"); ORBEON.xforms.Document.setValue("show", "true");... |
thiss.closeAccordionCase(thiss, '_314459'); | thiss.closeAccordionCase(thiss, '_314459'); }); | test314459: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314459', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "30"); ORBEON.xforms.Document.setValue("show", "true");... |
}); }, | }, | test314459: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314459', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "30"); ORBEON.xforms.Document.setValue("show", "true");... |
YAHOO.util.UserAction.click(YAHOO.util.Dom.get('my-accordion$hide-314466'), {clientX: 1}); thiss.closeAccordionCase(thiss, '_314466') }, 200); | YAHOO.util.UserAction.click(YAHOO.util.Dom.get('my-accordion$hide-314466'), {clientX: 1}); thiss.closeAccordionCase(thiss, '_314466') }, 200); }); | test314466: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314466', function() { var table = YAHOO.util.Dom.get('my-accordion$_314466-table$_314466-table-table'); var container = table.parentNode.parentNode; YAHOO.util.Assert.isFalse(YAHOO.util.Dom.has... |
}); }, | }, | test314466: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314466', function() { var table = YAHOO.util.Dom.get('my-accordion$_314466-table$_314466-table-table'); var container = table.parentNode.parentNode; YAHOO.util.Assert.isFalse(YAHOO.util.Dom.has... |
YAHOO.util.Assert.isFalse(YAHOO.util.Dom.hasClass(table, 'fr-dt-initialized'), "The datatable sshouldn't be initialized at that point"); | var container = table.parentNode.parentNode; YAHOO.util.Assert.isFalse(YAHOO.util.Dom.hasClass(container, 'fr-dt-initialized'), "The datatable shouldn't be initialized at that point"); | test314466: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314466', function() { var table = YAHOO.util.Dom.get('my-accordion$_314466-table$_314466-table-table'); YAHOO.util.Assert.isFalse(YAHOO.util.Dom.hasClass(table, 'fr-dt-initialized'), "The datatable sshou... |
YAHOO.util.Assert.isTrue(YAHOO.util.Dom.hasClass(table, 'fr-dt-initialized'), "The datatable sshould be initialized at that point"); | var container = table.parentNode.parentNode; YAHOO.util.Assert.isTrue(YAHOO.util.Dom.hasClass(container, 'fr-dt-initialized'), "The datatable should be initialized at that point"); | test314466: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314466', function() { var table = YAHOO.util.Dom.get('my-accordion$_314466-table$_314466-table-table'); YAHOO.util.Assert.isFalse(YAHOO.util.Dom.hasClass(table, 'fr-dt-initialized'), "The datatable sshou... |
var thiss = this; thiss.openAccordionCase(thiss, '_314679', function() { var table = YAHOO.util.Dom.get('my-accordion$table-314679$table-314679-table'); thiss.clickAndCheckSortOrder(table, 1, 'descending', ['three', 'two', 'one'], function() { thiss.closeAccordionCase(thiss, '_314679'); | var thiss = this; thiss.openAccordionCase(thiss, '_314679', function() { var table = YAHOO.util.Dom.get('my-accordion$table-314679$table-314679-table'); thiss.clickAndCheckSortOrder(table, 1, 'descending', ['three', 'two', 'one'], function() { thiss.closeAccordionCase(thiss, '_314679'); }); | test314679: function() { var thiss = this; thiss.openAccordionCase(thiss, '_314679', function() { var table = YAHOO.util.Dom.get('my-accordion$table-314679$table-314679-table'); thiss.clickAndCheckSortOrder(table, 1, 'descending', ['three', 'two', 'one'], function() { ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.