rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
(function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^...
stopImmediatePropagation: function() { this.isImmediatePropagationStopped = returnTrue; this.stopPropagation(); },
(function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^...
stopImmediatePropagation:function(){ this.isImmediatePropagationStopped = returnTrue; this.stopPropagation(); },
(function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^...
stopImmediatePropagation:function(){ this.isImmediatePropagationStopped = returnTrue; this.stopPropagation(); },
(function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^...
stopPropagation: function() { this.isPropagationStopped = returnTrue; var e = this.originalEvent; if ( !e ) { return; } if ( e.stopPropagation ) { e.stopPropagation(); } e.cancelBubble = true; },
(function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^...
stopPropagation: function() { this.isPropagationStopped = returnTrue; var e = this.originalEvent; if( !e ) return; if (e.stopPropagation) e.stopPropagation(); e.cancelBubble = true; },
(function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^...
stopPropagation: function() { this.isPropagationStopped = returnTrue; var e = this.originalEvent; if( !e ) return; // if stopPropagation exists run it on the original event if (e.stopPropagation) e.stopPropagation(); // otherwise set the cancelBubble property of the original event to true (IE) e.cancelBubbl...
var code = "/* version:"+currentCodeVersion+" */\n"+code;
code = "/* version:"+currentCodeVersion+" */\n"+code;
storeCode: function(code) { var code = "/* version:"+currentCodeVersion+" */\n"+code; this.setPref('coloring', code); },
domelement.style.width = elementWidth; domelement.style.height = elementHeight;
style.width = elementWidth; style.height = elementHeight;
jwplayer.utils.stretch = function(stretching, domelement, parentWidth, parentHeight, elementWidth, elementHeight) { if (typeof parentWidth == "undefined" || typeof parentHeight == "undefined" || typeof elementWidth == "undefined" || typeof elementHeight == "undefined") { return; } var xscale = parentWidth / eleme...
domelement.style.width = elementWidth * yscale; domelement.style.height = elementHeight * yscale;
style.width = elementWidth * yscale; style.height = elementHeight * yscale;
jwplayer.utils.stretch = function(stretching, domelement, parentWidth, parentHeight, elementWidth, elementHeight) { if (typeof parentWidth == "undefined" || typeof parentHeight == "undefined" || typeof elementWidth == "undefined" || typeof elementHeight == "undefined") { return; } var xscale = parentWidth / eleme...
domelement.style.width = elementWidth * xscale; domelement.style.height = elementHeight * xscale;
style.width = elementWidth * xscale; style.height = elementHeight * xscale;
jwplayer.utils.stretch = function(stretching, domelement, parentWidth, parentHeight, elementWidth, elementHeight) { if (typeof parentWidth == "undefined" || typeof parentHeight == "undefined" || typeof elementWidth == "undefined" || typeof elementHeight == "undefined") { return; } var xscale = parentWidth / eleme...
domelement.style.marginTop = (parentHeight - parseInt(domelement.style.height.replace("px", ""), 10)) / 2; domelement.style.marginLeft = (parentWidth - parseInt(domelement.style.width.replace("px", ""), 10)) / 2;
style.top = (parentHeight - style.height) / 2; style.left = (parentWidth - style.width) / 2; jwplayer.utils.css(domelement, style);
jwplayer.utils.stretch = function(stretching, domelement, parentWidth, parentHeight, elementWidth, elementHeight) { if (typeof parentWidth == "undefined" || typeof parentHeight == "undefined" || typeof elementWidth == "undefined" || typeof elementHeight == "undefined") { return; } var xscale = parentWidth / eleme...
console.log(style);
jwplayer.utils.stretch = function(stretching, domelement, parentWidth, parentHeight, elementWidth, elementHeight) { if (typeof parentWidth == "undefined" || typeof parentHeight == "undefined" || typeof elementWidth == "undefined" || typeof elementHeight == "undefined") { return; } var xscale = parentWidth / eleme...
stringify: function (obj, options) { var that = this, stylize = function (str, style) { return that.stylize(str, options.styles[style], options.styles) };
function stringify(obj, options) { var that = this, stylize = function (str, style) { return eyes.stylize(str, options.styles[style], options.styles) };
stringify: function (obj, options) { var that = this, stylize = function (str, style) { return that.stylize(str, options.styles[style], options.styles) }; switch (typeOf(obj)) { case "string": obj = (obj.length === 1 ? "'" + obj + "'" : '"' + obj + '"') ...
switch (typeOf(obj)) { case "string": obj = (obj.length === 1 ? "'" + obj + "'" : '"' + obj + '"') .replace(/\n/g, '\\n'); return stylize(obj, 'string'); case "regexp" : return stylize('/' + obj.source + '/', 'regexp'); case "number" : return stylize(obj + '', 'number'); case "function" : return options.writer ?...
switch (typeOf(obj)) { case "string": obj = (obj.length === 1 ? "'" + obj + "'" : '"' + obj + '"') .replace(/\n/g, '\\n'); return stylize(obj, 'string'); case "regexp" : return stylize('/' + obj.source + '/', 'regexp'); case "number" : return stylize(obj + '', 'number'); case "function" : return options.writer ?...
stringify: function (obj, options) { var that = this, stylize = function (str, style) { return that.stylize(str, options.styles[style], options.styles) }; switch (typeOf(obj)) { case "string": obj = (obj.length === 1 ? "'" + obj + "'" : '"' + obj + '"') ...
if(!this.JSON){JSON=function(){function f(n){return n<10?"0"+n:n}Date.prototype.toJSON=function(){return this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z"};var m={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\...
function stringify(value, whitelist) { var a, i, k, l, r = /["\\\x00-\x1f\x7f-\x9f]/g, v; switch (typeof value) { case 'string': return r.test(value) ? '"' + value.replace(r, function (a) { var c = m[a]; if (c) { return c; } c = a.charCodeAt(); return '\\u00' + Math.floor(c / 16).toString(16) + (c % 16).toString(...
if(!this.JSON){JSON=function(){function f(n){return n<10?"0"+n:n}Date.prototype.toJSON=function(){return this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z"};var m={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\...
case "date" : return stylize(obj.toGMTString());
case "date" : return stylize(obj.toUTCString());
function stringify(obj, options) { var that = this, stylize = function (str, style) { return eyes.stylize(str, options.styles[style], options.styles) }, index, result; if ((index = stack.indexOf(obj)) !== -1) { return stylize(new(Array)(stack.length - index + 1).join('.'), 'special'); } sta...
stringifyArray: function (ary, options) { var out = [];
function stringifyArray(ary, options) { var out = [];
stringifyArray: function (ary, options) { var out = []; for (var i = 0; i < ary.length; i++) { out.push(this.stringify(ary[i], options)); } return this.stylize('[', options.styles.array, options) + out.join(', ') + this.stylize(']', options.styles.a...
for (var i = 0; i < ary.length; i++) { out.push(this.stringify(ary[i], options)); } return this.stylize('[', options.styles.array, options) + out.join(', ') + this.stylize(']', options.styles.array, options); },
for (var i = 0; i < ary.length; i++) { out.push(stringify(ary[i], options)); } return this.stylize('[', options.styles.array, options) + out.join(', ') + this.stylize(']', options.styles.array, options); };
stringifyArray: function (ary, options) { var out = []; for (var i = 0; i < ary.length; i++) { out.push(this.stringify(ary[i], options)); } return this.stylize('[', options.styles.array, options) + out.join(', ') + this.stylize(']', options.styles.a...
return this.stylize('[', options.styles.array, options) +
return eyes.stylize('[', options.styles.array, options) +
function stringifyArray(ary, options) { var out = []; for (var i = 0; i < ary.length; i++) { out.push(stringify(ary[i], options)); } return this.stylize('[', options.styles.array, options) + out.join(', ') + this.stylize(']', options.styles.array, options);};
this.stylize(']', options.styles.array, options);
eyes.stylize(']', options.styles.array, options);
function stringifyArray(ary, options) { var out = []; for (var i = 0; i < ary.length; i++) { out.push(stringify(ary[i], options)); } return this.stylize('[', options.styles.array, options) + out.join(', ') + this.stylize(']', options.styles.array, options);};
return (typeof(o) === 'object' && Object.keys(o) > 0) ||
return (typeof(o) === 'object' && Object.keys(o).length > 0) ||
function stringifyArray(ary, options, level) { var out = []; var pretty = options.pretty && (ary.length > 4 || ary.some(function (o) { return (typeof(o) === 'object' && Object.keys(o) > 0) || (Array.isArray(o) && o.length > 0); })); var ws = pretty ? '\n' + new(Array)(level * 4 + 1).joi...
stringifyObject: function (obj, options) { var out = [];
function stringifyObject(obj, options) { var out = [];
stringifyObject: function (obj, options) { var out = []; for (var k in obj) { if (obj.hasOwnProperty(k) && !(obj[k] instanceof Function && options.hideFunctions)) { out.push(this.stylize(k, options.styles.key, options.styles) + ': ' + this.stringify(o...
for (var k in obj) { if (obj.hasOwnProperty(k) && !(obj[k] instanceof Function && options.hideFunctions)) { out.push(this.stylize(k, options.styles.key, options.styles) + ': ' + this.stringify(obj[k], options)); }
for (var k in obj) { if (obj.hasOwnProperty(k) && !(obj[k] instanceof Function && options.hideFunctions)) { out.push(this.stylize(k, options.styles.key, options.styles) + ': ' + stringify(obj[k], options));
stringifyObject: function (obj, options) { var out = []; for (var k in obj) { if (obj.hasOwnProperty(k) && !(obj[k] instanceof Function && options.hideFunctions)) { out.push(this.stylize(k, options.styles.key, options.styles) + ': ' + this.stringify(o...
return "{" + out.join(', ') + "}"; },
} return "{" + out.join(', ') + "}"; };
stringifyObject: function (obj, options) { var out = []; for (var k in obj) { if (obj.hasOwnProperty(k) && !(obj[k] instanceof Function && options.hideFunctions)) { out.push(this.stylize(k, options.styles.key, options.styles) + ': ' + this.stringify(o...
out.push(this.stylize(k, options.styles.key, options.styles) + ': ' +
out.push(eyes.stylize(k, options.styles.key, options.styles) + ': ' +
function stringifyObject(obj, options) { var out = []; for (var k in obj) { if (obj.hasOwnProperty(k) && !(obj[k] instanceof Function && options.hideFunctions)) { out.push(this.stylize(k, options.styles.key, options.styles) + ': ' + stringify(obj[k], options)); } } ...
fluid.stringTemplate = function (template, values) { var newString = template; for (var key in values) { if (values.hasOwnProperty(key)) { var searchStr = "%" + key; newString = newString.replace(searchStr, values[key]); } } return newString; };
(function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false...
fluid.stringTemplate = function (template, values) { var newString = template; for (var key in values) { if (values.hasOwnProperty(key)) { var searchStr = "%" + key; newString = newString.replace(searchStr, values[key]); } } return newS...
throw new Exception("myfaces._impl._util._LangUtils.strToArray param not of type string")
throw Error("myfaces._impl._util._LangUtils.strToArray param not of type string");
myfaces._impl._util._LangUtils.strToArray = function(/*string*/ it,/*regexp*/ splitter) { // summary: // Return true if it is a String if(!myfaces._impl._util._LangUtils.isString(it)) { throw new Exception("myfaces._impl._util._LangUtils.strToArray param not of type string") ...
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele...
style: function( elem, name, value ) { if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 ) { return undefined; } if ( (name === "width" || name === "height") && parseFloat(value) < 0 ) { value = undefined; } var style = elem.style || elem, set = value !== undefined; if ( !jQuery.support.opacity && name ===...
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele...
stylize: function (str, style, styles) { var codes = { 'bold' : [1, 22], 'underline' : [4, 24], 'inverse' : [7, 27], 'cyan' : [36, 39], 'magenta' : [35, 39], 'blue' : [34, 39], 'yellow' : [33, 39], 'green' : [32, 39], 'red' : [31, 39] }, endCode;
eyes.stylize = function (str, style, styles) { var codes = { 'bold' : [1, 22], 'underline' : [4, 24], 'inverse' : [7, 27], 'cyan' : [36, 39], 'magenta' : [35, 39], 'blue' : [34, 39], 'yellow' : [33, 39], 'green' : [32, 39], 'red' : [31, 39] }, endCode;
stylize: function (str, style, styles) { var codes = { 'bold' : [1, 22], 'underline' : [4, 24], 'inverse' : [7, 27], 'cyan' : [36, 39], 'magenta' : [35, 39], 'blue' : [34, 39], 'yellow' : [33, 39], ...
if (style && codes[style]) { endCode = (codes[style][1] === 39 && styles.all) ? codes[styles.all][0] : codes[style][1]; return '\033[' + codes[style][0] + 'm' + str + '\033[' + endCode + 'm'; } else { return str } }
if (style && codes[style]) { endCode = (codes[style][1] === 39 && styles.all) ? codes[styles.all][0] : codes[style][1]; return '\033[' + codes[style][0] + 'm' + str + '\033[' + endCode + 'm'; } else { return str } };
stylize: function (str, style, styles) { var codes = { 'bold' : [1, 22], 'underline' : [4, 24], 'inverse' : [7, 27], 'cyan' : [36, 39], 'magenta' : [35, 39], 'blue' : [34, 39], 'yellow' : [33, 39], ...
currentbuildplanet = planetid; sendform($('#buildfleetform1').context,
sendform($('#buildfleetform-'+planetid)[0],
function submitbuildfleet(planetid, mode){ buildanother=mode; currentbuildplanet = planetid; sendform($('#buildfleetform1').context, '/planets/'+planetid+'/buildfleet/'); transienttabs.settabcontent('buildfleet'+currentbuildplanet, '');}
transienttabs.settabcontent('buildfleet'+currentbuildplanet, '');
transienttabs.settabcontent('buildfleet'+planetid, '');
function submitbuildfleet(planetid, mode){ buildanother=mode; currentbuildplanet = planetid; sendform($('#buildfleetform1').context, '/planets/'+planetid+'/buildfleet/'); transienttabs.settabcontent('buildfleet'+currentbuildplanet, '');}
submitPasswordResetRequest(that.locate("email").text(), that.options.baseUrl, successFunction, errorFunction);
submitPasswordResetRequest(that.locate("email").val(), that.options.baseUrl, successFunction, errorFunction);
that.submitPasswordResetRequest = function (successFunction, errorFunction) { submitPasswordResetRequest(that.locate("email").text(), that.options.baseUrl, successFunction, errorFunction); };
var submitSearch = function (domBinder, userListEditor) {
var submitSearch = function (listEditor, domBinder, queryURL, successEvent) {
var submitSearch = function (domBinder, userListEditor) { return function () { var query = domBinder.locate("searchField").val(); var model = userListEditor.listApplier.model; // TODO: Use the DC for this var url = (cspace.util.isLocal() ? "data/users/search/list.j...
var query = domBinder.locate("searchField").val(); var model = userListEditor.listApplier.model;
var query = cspace.util.isLocal() ? "" : domBinder.locate("searchField").val(); var model = listEditor.model;
var submitSearch = function (domBinder, userListEditor) { return function () { var query = domBinder.locate("searchField").val(); var model = userListEditor.listApplier.model; // TODO: Use the DC for this var url = (cspace.util.isLocal() ? "data/users/search/list.j...
var url = (cspace.util.isLocal() ? "data/users/search/list.json" : "../../chain/users/search?query=" + query);
var url = queryURL + query;
var submitSearch = function (domBinder, userListEditor) { return function () { var query = domBinder.locate("searchField").val(); var model = userListEditor.listApplier.model; // TODO: Use the DC for this var url = (cspace.util.isLocal() ? "data/users/search/list.j...
fluid.model.copyModel(model, data.results); userListEditor.list.updateModel(model); userListEditor.showNewListRow(false);
fluid.model.copyModel(model.list, data.results); listEditor.refreshView();
var submitSearch = function (domBinder, userListEditor) { return function () { var query = domBinder.locate("searchField").val(); var model = userListEditor.listApplier.model; // TODO: Use the DC for this var url = (cspace.util.isLocal() ? "data/users/search/list.j...
successEvent.fire();
var submitSearch = function (domBinder, userListEditor) { return function () { var query = domBinder.locate("searchField").val(); var model = userListEditor.listApplier.model; // TODO: Use the DC for this var url = (cspace.util.isLocal() ? "data/users/search/list.j...
fluid.model.copyModel(model, data);
fluid.model.copyModel(model.results, data.results);
var submitSearch = function (url, model, successEvent, errorEvent) { jQuery.ajax({ url: url, type: "GET", dataType: "json", success: function (data, textStatus) { fluid.model.copyModel(model, data); successEvent.fire(); }, ...
domBinder.locate("newUserRow").hide();
var submitSearch = function (domBinder, userList, model) { return function () { var query = domBinder.locate("searchField").val(); // TODO: Use the DC for this var url = (cspace.util.isLocal() ? "data/users/search/list.json" : "../../chain/users/search?query=" + query); ...
var recordType = that.locate("recordType").val();
that.model.recordType = that.locate("recordType").val();
var submitSearchRequest = function (that) { return function () { that.locate("errorMessage").hide(); var recordType = that.locate("recordType").val();// CSPACE-701 if (cspace.util.isLocal() && (recordType === "object")) { recordType = "objects"; } ...
if (cspace.util.isLocal() && (recordType === "object")) { recordType = "objects";
if (cspace.util.isLocal() && (that.model.recordType === "object")) { that.model.recordType = "objects";
var submitSearchRequest = function (that) { return function () { that.locate("errorMessage").hide(); var recordType = that.locate("recordType").val();// CSPACE-701 if (cspace.util.isLocal() && (recordType === "object")) { recordType = "objects"; } ...
var query = that.locate("keywords").val(); that.search(recordType, query);
that.model.keywords = that.locate("keywords").val(); that.search();
var submitSearchRequest = function (that) { return function () { that.locate("errorMessage").hide(); var recordType = that.locate("recordType").val();// CSPACE-701 if (cspace.util.isLocal() && (recordType === "object")) { recordType = "objects"; } ...
fluid.model.copyModel(model, data.results); userListEditor.list.updateModel(model); userListEditor.showNewListRow(false);
fluid.model.copyModel(model.list, data.results); listEditor.refreshView();
success: function (data, textStatus) { // that.userListApplier.requestChange("*", data); // requestChange() to "*" doesn't work (see FLUID-3507) // the following workaround compensates: fluid.model.copyModel(model, data.results)...
successEvent.fire();
success: function (data, textStatus) { // that.userListApplier.requestChange("*", data); // requestChange() to "*" doesn't work (see FLUID-3507) // the following workaround compensates: fluid.model.copyModel(model, data.results)...
success: function (data) { that.uispec = data; },
success: function (text) { inject(text, spec.templateSelector, $(spec.targetSelector)); }
success: function (data) { that.uispec = data; },
fluid.model.copyModel(model, data);
fluid.model.copyModel(model.results, data.results);
success: function (data, textStatus) { fluid.model.copyModel(model, data); successEvent.fire(); },
list.refreshView(); },
if (callback) { callback(); } }
success: function (data) { fluid.model.copyModel(model.list, data.items); list.refreshView(); },
if(showAjaxLoader) removeAjaxLoader();
if(ajaxLoader) removeAjaxLoader();
success: function(json) { processUpdates(json); if(showAjaxLoader) removeAjaxLoader(); unlockActions(); },
success:function(form, action) { confpanel.enable(); }
success: function(form, action) { confcombo.setValue(config_name); confcombo.fireEvent('select'); },
success:function(form, action) { confpanel.enable(); }
self.element.dequeue("tabs"); }
},
success: function(r, s) { $(self._sanitizeSelector(a.hash)).html(r); // take care of tab labels self._cleanup(); if (o.cache) { $.data(a, 'cache.tabs', true); // if loaded once do not load them again } // callbacks self._trigger('load', null, self._ui(self.anchors[index], self.panels[index])...
success:function(response,options) { store.commitChanges(); },
success:function(response, options) { r = Ext.util.JSON.decode(response.responseText); tvheadend.showTransportDetails(r); }
success:function(response,options) { store.commitChanges(); },
fluid.model.copyModel(that.model.results, data.results); fluid.model.copyModel(that.model.pagination, data.pagination); that.model.searchModel.renderRequest = true; that.events.modelChanged.fire();
applyResults(that, data);
success: function (data, textStatus) { fluid.model.copyModel(that.model.results, data.results); fluid.model.copyModel(that.model.pagination, data.pagination); that.model.searchModel.renderRequest = true; that.events.modelChanged...
success: function(response) { thisSpec.resourceText = response; thisSpec.resourceKey = thisSpec.href; thisSpec.queued = false; fluid.fetchResources(resourceSpecs, callback); },
(function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false...
success: function(response) { thisSpec.resourceText = response; thisSpec.resourceKey = thisSpec.href; thisSpec.queued = false; fluid.fetchResources(resourceSpecs, callback); },
success: function(response) { thisSpec.resourceText = response; thisSpec.resourceKey = thisSpec.href; thisSpec.queued = false; fluid.fetchResources(resourceSpecs, callback); },
resourceSpec.options.success = function() { var startTime = new Date(); var ret = success.apply(null, arguments); fluid.log("External callback for URL " + resourceSpec.href + " completed - callback time: " + (new Date().getTime() - startTime.getTime()) + "ms"); return ret; };
success: function(response) { thisSpec.resourceText = response; thisSpec.resourceKey = thisSpec.href; thisSpec.queued = false; fluid.fetchResources(resourceSpecs, callback); },
$(container).empty().append(message);
$(container).empty().append(message['tab']); handleserverresponse(message);
success: function(message) { $(container).empty().append(message); //$("#preloader").hide(); }
domBinder.locate("newUserRow").hide();
success: function (data, textStatus) { // that.userListApplier.requestChange("*", data); // requestChange() to "*" doesn't work (see FLUID-3507) // the following workaround compensates: fluid.model.copyModel(model, data.results)...
test_engaged = answer['nb_engaged']; if(test_engaged == "0") { map_lat = 0; map_lon = 0; tab_ranking = "<table bgcolor='#ffffff' height='100'><tr class='txtbold2'><td>Pas de bateaux engag&eacute;s dans cette course pour le moment</td></tr></table>"; document.getElementById('tab_ranking').innerHTML = tab_ranking; } else...
success: function(answer){ for (k in answer) { if(k=="ranking") { tab_ranking = "<table bgcolor='#000000'><tr class='txtbold1' bgcolor='#ffffff'><td>rank</td><td>Navigateur</td></tr>"; var d2 = answer[k]; boats = new Array(); for (k2 in d2) { //"idusers","boatpseudo","boatname","color...
},
}},
success: function(answer){ for (k in answer) { if(k=="ranking") { tab_ranking = "<table bgcolor='#000000'><tr class='txtbold1' bgcolor='#ffffff'><td>rank</td><td>Navigateur</td></tr>"; var d2 = answer[k]; boats = new Array(); for (k2 in d2) { //"idusers","boatpseudo","boatname","color...
fluid.model.copyModel(model.results, data.results); successEvent.fire(); },
fluid.model.copyModel(that.model.results, data.results); fluid.model.copyModel(that.model.pagination, data.pagination); that.model.searchModel.renderRequest = true; that.events.modelChanged.fire(); },
success: function (data, textStatus) { fluid.model.copyModel(model.results, data.results); successEvent.fire(); },
fluid.model.copyModel(model.list, data.items);
fluid.model.copyModel(listEditor.model.list, data.items);
success: function (data) { fluid.model.copyModel(model.list, data.items); if (callback) { callback(); } }
success: function (data, textStatus) { that.uispec = data; fluid.log("PageBuilder.js after fetching uispec"); },
success: function (text) { inject(text, spec.templateSelector, $(spec.targetSelector)); }
success: function (data, textStatus) { that.uispec = data; fluid.log("PageBuilder.js after fetching uispec"); },
testModel = data; },
briefDescModel = data; },
success: function (data) { testModel = data; },
$( self._sanitizeSelector( a.hash ) ).html( r );
self.element.find( self._sanitizeSelector( a.hash ) ).html( r );
success: function( r, s ) { $( self._sanitizeSelector( a.hash ) ).html( r ); // take care of tab labels self._cleanup(); if ( o.cache ) { $.data( a, "cache.tabs", true ); } self._trigger( "load", null, self._ui( self.anchors[ index ], self.panels[ index ] ) ); try { o.ajaxOptions.success...
fluid.model.copyModel(listEditor.model.list, data.relations);
fluid.model.copyModel(listEditor.model.list, data.relations[recordType]);
success: function (data) { fluid.model.copyModel(listEditor.model.list, data.relations); if (callback) { callback(); } }
var x = dist();
var x = s.chunkCounts( "foo" )
function sum(){ var x = dist(); return x.shard0000 + x.shard0001;}
total: newModel.totalRange
total: newModel.totalRange, currentPage: newModel.pageIndex + 1
fluid.pager.summary = function (dom, options) { var node = dom.locate("summary"); return { returnedOptions: { listeners: { onModelChange: function (newModel, oldModel) { var text = fluid.stringTemplate(options.message, { ...
fluid.pager.summary = function (dom, options) { var node = dom.locate("summary"); return { returnedOptions: { listeners: { onModelChange: function (newModel, oldModel) { var text = fluid.stringTemplate(options.message, { first: newModel.pageIndex * newModel.pageSize + 1, last: computePageLimit(newModel), total: newMode...
(function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false...
fluid.pager.summary = function (dom, options) { var node = dom.locate("summary"); return { returnedOptions: { listeners: { onModelChange: function (newModel, oldModel) { var text = fluid.stringTemplate(options.message, { ...
if (navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) { version = (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g, ",").match(/^,?(.+),?$/)[1];
if (navigator.mimeTypes['application/x-shockwave-flash'].enabledPlugin) { version = (navigator.plugins['Shockwave Flash 2.0'] || navigator.plugins['Shockwave Flash']).description.replace(/\D+/g, ",").match(/^,?(.+),?$/)[1];
$.fn.jwplayerUtils.supportsFlash = function() { var version = '0,0,0,0'; try { try { var axo = new ActiveXObject('ShockwaveFlash.ShockwaveFlash.6'); try { axo.AllowScriptAccess = 'always'; } catch (e) { version = '6,0,0'; } } catch (e) { } version = new ActiveXObject('ShockwaveFlash.Shock...
var major = parseInt(version.split(',')[0]); var minor = parseInt(version.split(',')[2]);
var major = parseInt(version.split(',')[0], 10); var minor = parseInt(version.split(',')[2], 10);
$.fn.jwplayerUtils.supportsFlash = function() { var version = '0,0,0,0'; try { try { var axo = new ActiveXObject('ShockwaveFlash.ShockwaveFlash.6'); try { axo.AllowScriptAccess = 'always'; } catch (e) { version = '6,0,0'; } } catch (e) { } version = new ActiveXObject('ShockwaveFlash.Shock...
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele...
swap: function( elem, options, callback ) { var old = {}; for ( var name in options ) { old[ name ] = elem.style[ name ]; elem.style[ name ] = options[ name ]; } callback.call( elem ); for ( var name in options ) { elem.style[ name ] = old[ name ]; } }
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele...
swap: function( elem, options, callback ) { var old = {}; for ( var name in options ) { old[ name ] = elem.style[ name ]; elem.style[ name ] = options[ name ]; } callback.call( elem ); for ( var name in options ) elem.style[ name ] = old[ name ]; },
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele...
swap: function( elem, options, callback ) { var old = {}; // Remember the old values, and insert the new ones for ( var name in options ) { old[ name ] = elem.style[ name ]; elem.style[ name ] = options[ name ]; } callback.call( elem ); // Revert the old values for ( var name in options ) elem.style[ name...
var switchToViewMode = function (that) { that.editContainer.hide(); that.viewEl.show(); };
(function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false...
var switchToViewMode = function (that) { that.editContainer.hide(); that.viewEl.show(); };
lyxfile_stream.init(lyxfile, -1, 0, 0);
syncBibtexKeyFormat: function(doc,oldkeys,newkeys){ /* TODO: change to line by line file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); file.initWithPath("d:\\test.lyx"); var istream = Components.classes["@mozilla.org/network/file-input-stream;1"]....
SyncCCTest = function( testName ){
SyncCCTest = function( testName , extraMongodOptions ){
SyncCCTest = function( testName ){ this._testName = testName; this._connections = []; for ( var i=0; i<3; i++ ){ this._connections.push( startMongodTest( 30000 + i , testName + i ) ); } this.url = this._connections.map( function(z){ return z.name; } ).join( "," ); this.conn = new Mongo(...
this._connections.push( startMongodTest( 30000 + i , testName + i ) );
this._connections.push( startMongodTest( 30000 + i , testName + i , false, extraMongodOptions ) );
SyncCCTest = function( testName ){ this._testName = testName; this._connections = []; for ( var i=0; i<3; i++ ){ this._connections.push( startMongodTest( 30000 + i , testName + i ) ); } this.url = this._connections.map( function(z){ return z.name; } ).join( "," ); this.conn = new Mongo(...
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele...
function t( gotoEnd ) { return self.step(gotoEnd); }
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele...
function t(gotoEnd){ return self.step(gotoEnd); }
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele...
function t(gotoEnd){ return self.step(gotoEnd); }
fluid.tabbable = function(target) { target = $(target); makeElementsTabFocussable(target); };
(function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false...
fluid.tabbable = function(target) { target = $(target); makeElementsTabFocussable(target); };
var targetPage = tabclass.slice(3) $('_target').name = "_target" + targetPage if ($('command')._finish){ $('command')._finish.disabled = true
if (tabclass!=null) { var targetPage = tabclass.slice(3) $('_target').name = "_target" + targetPage if ($('command')!=null && $('command')._finish){ $('command')._finish.disabled = true }
C3PR.tabbedFlowUpdateTarget = function(evt) { var a = Event.element(evt) var tabclass = Element.classNames(a).detect(function(cls) { return cls.slice(0, 3) == "tab" }) var targetPage = tabclass.slice(3) $('_target').name = "_target" + targetPage if ($('command')._finish){ $('command')._finish.disabl...
fluid.tabindex = function(target, toIndex) { target = $(target); if (toIndex !== null && toIndex !== undefined) { return setValue(target, toIndex); } else { return getValue(target); } };
(function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false...
fluid.tabindex = function(target, toIndex) { target = $(target); if (toIndex !== null && toIndex !== undefined) { return setValue(target, toIndex); } else { return getValue(target); } };
var tabKeyHandler = function(selectionContext) { return function(evt) { if (evt.which !== $.ui.keyCode.TAB) { return; } cleanUpWhenLeavingContainer(selectionContext); if (evt.shiftKey) { selectionContext.focusIsLeavingContainer = true; } }; };
(function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false...
var tabKeyHandler = function(selectionContext) { return function(evt) { if (evt.which !== $.ui.keyCode.TAB) { return; } cleanUpWhenLeavingContainer(selectionContext); // Catch Shift-Tab and note that focus is on its way out of the container. ...
that.options.applier = options.applier;
cspace.tabs = function (container, options) { var that = fluid.initView("cspace.tabs", container, options); buildTabs(that); return that; };
jqUnit.assertEquals("Loainin tab must be excluded, total number of tabs is", 8, tabs.tabsList.locate("tab:").length);
jqUnit.assertEquals("Loainin tab must be excluded, total number of tabs is", 9, tabs.tabsList.locate("tab:").length);
var tabsTester = function ($) { var container = "#main"; var permissions = { "users": ["create", "read", "update", "delete", "list"], "person": [], "location": ["create", "read", "update", "delete", "list"], "idgenerators": ["create", "read", "update", "delete", "list"], "lo...
jqUnit.assertEquals("Loainin tab must be excluded, total number of tabs is", 7, tabs.tabsList.locate("tab:").length);
jqUnit.assertEquals("Loainin tab must be excluded, total number of tabs is", 8, tabs.tabsList.locate("tab:").length);
var tabsTester = function ($) { var container = "#main"; var permissions = { "users": ["create", "read", "update", "delete", "list"], "person": [], "location": ["create", "read", "update", "delete", "list"], "idgenerators": ["create", "read", "update", "delete", "list"], "lo...
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele...
Expr.find.TAG = function(match, context){ var results = context.getElementsByTagName(match[1]); if ( match[1] === "*" ) { var tmp = []; for ( var i = 0; results[i]; i++ ) { if ( results[i].nodeType === 1 ) { tmp.push( results[i] ); } } results = tmp; } return results; };
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele...
TAG: function(match, curLoop){ for ( var i = 0; curLoop[i] === false; i++ ){} return curLoop[i] && isXML(curLoop[i]) ? match[1] : match[1].toUpperCase(); },
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele...
TAG: function(match, curLoop){ for ( var i = 0; curLoop[i] === false; i++ ){} return curLoop[i] && isXML(curLoop[i]) ? match[1] : match[1].toUpperCase(); },
function tagEndCut() { if (cutpoints) { for (var i = 0; i < cutpoints.length; ++ i) { var cutstat = cutstatus[i]; if (cutstat.length > 0 && cutstat[cutstat.length - 1] === nestingdepth) { cutstat.length--; } } } }
(function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false...
function tagEndCut() { if (cutpoints) { for (var i = 0; i < cutpoints.length; ++ i) { var cutstat = cutstatus[i]; if (cutstat.length > 0 && cutstat[cutstat.length - 1] === nestingdepth) { cutstat.length--; } } } }
function tagStartCut(headlump) { var togo = undefined; if (cutpoints) { for (var i = 0; i < cutpoints.length; ++ i) { var cut = cutpoints[i]; var cutstat = cutstatus[i]; var nextterm = cutstat.length; if (nextterm < cut.tree.length) { var term = cut.tree[nextterm]; if (nextterm > 0) { if (cut.tree[nextterm - 1].child &...
(function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false...
function tagStartCut(headlump) { var togo = undefined; if (cutpoints) { for (var i = 0; i < cutpoints.length; ++ i) { var cut = cutpoints[i]; var cutstat = cutstatus[i]; var nextterm = cutstat.length; // the next term for this node if (nextterm < ...
teardown: function( namespaces ){ if ( namespaces.length ) { var remove = 0, name = RegExp("(^|\\.)" + namespaces[0] + "(\\.|$)"); jQuery.each( (jQuery.data(this, "events").live || {}), function(){ if ( name.test(this.type) ) remove++; }); if ( remove < 1 ) jQuery.event.remove( this, namespaces[0], liveHandler ); } ...
(function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^...
teardown: function( namespaces ){ if ( namespaces.length ) { var remove = 0, name = RegExp("(^|\\.)" + namespaces[0] + "(\\.|$)"); jQuery.each( (jQuery.data(this, "events").live || {}), function(){ if ( name.test(this.type) ) remove++; }); if ( remove < 1 ) jQuery.event....
teardown: function( namespaces ) { jQuery.event.remove( this, ".specialSubmit" ); }
teardown: function() {}
teardown: function( namespaces ) { jQuery.event.remove( this, ".specialSubmit" ); }
(function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^...
teardown: function( namespaces ) { jQuery.event.remove( this, ".specialSubmit" ); }
(function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^...
alert(message+tree.getUserData(_nodeID, 'folderName'));
alert(message+top.tree.getUserData(_nodeID, 'folderName'));
function tellUser(message,_nodeID) { if (_nodeID) { alert(message+tree.getUserData(_nodeID, 'folderName')); } else { alert(message); }}
this.expectedErrorName = expectedErrorName[1]||"";
var expectedErrorName = throwsExp.exec(name); this.expectedErrorName = expectedErrorName && expectedErrorName[1]||"";
function Test(name, func, parent) { this.name = name || func.name || parent.testableList.length; this.parent = parent; this.id = makeId(name); this.func = func; this.shouldThrow = throwsExp.test(name); if(this.shouldThrow) { this.expectedErrorName = expectedErro...
this.errorList = [];
function Testable(name) { this.oncomplete = noop; this.onload = noop; this.onfail = null; this.name = ""; this.id = ""; this.add = ITestable.add; this.start = ITestable.start; this.toString = ITestable.toString; this.addCallback = addCallback; th...
if(typeof testable == "string") { loadRemoteTest(parent, testable, testable); } else { name = name || testable.name || parent.name + "." + parent.testableList.length; if(typeof testable == "function") { testable = new Test(name, testable, parent); } parent.testableList.push(testable); }
name = name || testable.name || parent.name + "." + parent.testableList.length; if(typeof testable == "function") { testable = new Test(name, testable, parent); } parent.testableList.push(testable);
function testableAdd(parent, testable, name) { if(typeof testable == "string") { loadRemoteTest(parent, testable, testable); } else { name = name || testable.name || parent.name + "." + parent.testableList.length; if(typeof testable == "function") { test...
* Fetches a template using AJAX if it was never fetched before and stores it in that.fetchedTemplates
* Fetches a template synchronously using AJAX if it was never fetched before and stores it in that.fetchedTemplates
jqUnit.testCase = function (moduleName, setUpFn, tearDownFn) { var that = {}; that.fetchedTemplates = []; /** * Fetches a template using AJAX if it was never fetched before and stores it in that.fetchedTemplates * @param {Object} templateURL URL to the document to be fet...
stop(); container.load(selectorToFetch, function () { that.fetchedTemplates[selectorToFetch] = $(this).clone(); start(); });
loadSync(container, selectorToFetch, function () { that.fetchedTemplates[selectorToFetch] = $(container).clone(); });
jqUnit.testCase = function (moduleName, setUpFn, tearDownFn) { var that = {}; that.fetchedTemplates = []; /** * Fetches a template using AJAX if it was never fetched before and stores it in that.fetchedTemplates * @param {Object} templateURL URL to the document to be fet...
that.asyncTest = function (string, testFn) { asyncTest(string, testFn); };
jqUnit.testCase = function (moduleName, setUpFn, tearDownFn) { var that = {}; that.fetchedTemplates = []; /** * Fetches a template using AJAX if it was never fetched before and stores it in that.fetchedTemplates * @param {Object} templateURL URL to the document to be fet...
this.errorList = [];
function TestCase(testCaseData, parent) { this.testableList = []; this.queuedTestLoads = []; buildTestableList(this, testCaseData); this.name = testCaseData.name || ("TestCase:" + parent.testableList.length); this.id = makeId(name); this.parent = parent; ...
(function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^...
testChange = function testChange( e ) { var elem = e.target, data, val; if ( !formElems.test( elem.nodeName ) || elem.readOnly ) { return; } data = jQuery.data( elem, "_change_data" ); val = getVal(elem); if ( e.type !== "focusout" || elem.type !== "radio" ) { jQuery.data( elem, "_change_data", val ); } if ( data ...
(function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^...
optionsWithComponentsWithOptions.components.dateEntry.options.typeName = "cspace.testComponent4";
delete options["targetTypeName"];
cspace.testComponent4 = function (container, options) { jqUnit.assertTrue("TestComponent4 instantiated", true); jqUnit.assertEquals("TestComponent4 initiated with correct container", "#recordEditorContainer", container); optionsWithComponentsWithOptions.components.dateEntry.opti...