rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
try { this.transport = new ActiveXObject('Msxml2.XMLHTTP'); }
try { this.xhr = new ActiveXObject('Msxml2.XMLHTTP'); }
callService : function(method, parameters, options) { if (options) { for (var property in options) this.options[property] = options[property]; } try { this.transport = new XMLHttpRequest();} catch(e) { try { this.transport = new ActiveXObject('Msxml2.XMLHTTP'); } catch(e) { try { this.transport = new ...
try { this.transport = new ActiveXObject('Microsoft.XMLHTTP'); }
try { this.xhr = new ActiveXObject('Microsoft.XMLHTTP'); }
callService : function(method, parameters, options) { if (options) { for (var property in options) this.options[property] = options[property]; } try { this.transport = new XMLHttpRequest();} catch(e) { try { this.transport = new ActiveXObject('Msxml2.XMLHTTP'); } catch(e) { try { this.transport = new ...
dispatchError(0, "Cannot create request object");
this.error(0, "Cannot create request object"); return;
callService : function(method, parameters, options) { if (options) { for (var property in options) this.options[property] = options[property]; } try { this.transport = new XMLHttpRequest();} catch(e) { try { this.transport = new ActiveXObject('Msxml2.XMLHTTP'); } catch(e) { try { this.transport = new ...
this.transport.onreadystatechange = this.onStateChange.pwgBind(this);
this.xhr.onreadystatechange = pwgBind(this, this.onStateChange);
callService : function(method, parameters, options) { if (options) { for (var property in options) this.options[property] = options[property]; } try { this.transport = new XMLHttpRequest();} catch(e) { try { this.transport = new ActiveXObject('Msxml2.XMLHTTP'); } catch(e) { try { this.transport = new ...
for (var property in parameters)
for (var prop in parameters)
callService : function(method, parameters, options) { if (options) { for (var property in options) this.options[property] = options[property]; } try { this.transport = new XMLHttpRequest();} catch(e) { try { this.transport = new ActiveXObject('Msxml2.XMLHTTP'); } catch(e) { try { this.transport = new ...
if ( typeof parameters[property] == 'object' && parameters[property])
if ( typeof parameters[prop] == 'object' && parameters[prop])
callService : function(method, parameters, options) { if (options) { for (var property in options) this.options[property] = options[property]; } try { this.transport = new XMLHttpRequest();} catch(e) { try { this.transport = new ActiveXObject('Msxml2.XMLHTTP'); } catch(e) { try { this.transport = new ...
for (var i=0; i<parameters[property].length; i++) body += "&"+property+"[]="+encodeURIComponent(parameters[property][i]);
for (var i=0; i<parameters[prop].length; i++) body += "&"+prop+"[]="+encodeURIComponent(parameters[prop][i]);
callService : function(method, parameters, options) { if (options) { for (var property in options) this.options[property] = options[property]; } try { this.transport = new XMLHttpRequest();} catch(e) { try { this.transport = new ActiveXObject('Msxml2.XMLHTTP'); } catch(e) { try { this.transport = new ...
body += "&"+property+"="+encodeURIComponent(parameters[property]);
body += "&"+prop+"="+encodeURIComponent(parameters[prop]);
callService : function(method, parameters, options) { if (options) { for (var property in options) this.options[property] = options[property]; } try { this.transport = new XMLHttpRequest();} catch(e) { try { this.transport = new ActiveXObject('Msxml2.XMLHTTP'); } catch(e) { try { this.transport = new ...
{ this.transport.open(this.options.method, url, this.options.async); this.transport.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); this.transport.send(body); }
this.xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
callService : function(method, parameters, options) { if (options) { for (var property in options) this.options[property] = options[property]; } try { this.transport = new XMLHttpRequest();} catch(e) { try { this.transport = new ActiveXObject('Msxml2.XMLHTTP'); } catch(e) { try { this.transport = new ...
this.transport.open(this.options.method, url, this.options.async); this.transport.send(null);
body = null; } this.xhr.open(this.options.method, url, this.options.async); try { this.xhr.send(body); } catch(e) { this.error(0, e.message);
callService : function(method, parameters, options) { if (options) { for (var property in options) this.options[property] = options[property]; } try { this.transport = new XMLHttpRequest();} catch(e) { try { this.transport = new ActiveXObject('Msxml2.XMLHTTP'); } catch(e) { try { this.transport = new ...
Ext.msg.Alert("Couldn't cancel", "Sorry, the job couldn't be cancelled.");
Ext.Msg.alert("Couldn't cancel", "Sorry, the job couldn't be cancelled.");
cancelCallback : function(successfullyCancelled) { if (successfullyCancelled) { this.stopProgress(); this.showAllMessages("Job was cancelled"); this.fireEvent('cancel', successfullyCancelled); } else { Ext.msg.Alert("Couldn't cancel", "Sorry, the job couldn't be cancelled."); } },
if (successfullyCancelled) { this.stopProgress();
this.stopProgress(); this.fireEvent('cancel', successfullyCancelled); if (!successfullyCancelled) { Ext.Msg.alert("Couldn't cancel", "Sorry, the job couldn't be cancelled."); } else {
cancelCallback : function(successfullyCancelled) { if (successfullyCancelled) { this.stopProgress(); this.showAllMessages("Job was cancelled"); this.fireEvent('cancel', successfullyCancelled); } else { Ext.Msg.alert("Couldn't cancel", "Sorry, the job couldn't be cancelled."); } },
this.fireEvent('cancel', successfullyCancelled); } else { Ext.Msg.alert("Couldn't cancel", "Sorry, the job couldn't be cancelled.");
cancelCallback : function(successfullyCancelled) { if (successfullyCancelled) { this.stopProgress(); this.showAllMessages("Job was cancelled"); this.fireEvent('cancel', successfullyCancelled); } else { Ext.Msg.alert("Couldn't cancel", "Sorry, the job couldn't be cancelled."); } },
var customizable = true;
var customizable = false;
var cb = function(analysisInfo) { if (analysisInfo.type) { var customizable = true; var analysisType = ''; if (analysisInfo.type === 'TWIA') { analysisType = 'Two-way ANOVA with interactions'; customizable = true; } else if (analysisInfo.type === 'TWA') { analysisType = 'Two-way ANOVA withou...
height : 100,
height : 130,
var cb = function(analysisInfo) { if (analysisInfo.type) { var customizable = true; var analysisType = ''; if (analysisInfo.type === 'TWIA') { analysisType = 'Two-way ANOVA with interactions'; customizable = true; } else if (analysisInfo.type === 'TWA') { analysisType = 'Two-way ANOVA withou...
+ '. Previous analysis results for this experiment will be deleted.',
+ '. If there is an existing analysis on the same factor(s), it will be deleted.',
var cb = function(analysisInfo) { if (analysisInfo.type) { var customizable = true; var analysisType = ''; if (analysisInfo.type === 'TWIA') { analysisType = 'Two-way ANOVA with interactions'; customizable = true; } else if (analysisInfo.type === 'TWA') { analysisType = 'Two-way ANOVA withou...
analysisType = 'T-test';
analysisType = 'T-test (two-sample)'; } else if (analysisInfo.type === 'OSTTEST') { analysisType = 'T-test (one-sample)';
var cb = function(analysisInfo) { if (analysisInfo.type) { var customizable = false; var analysisType = ''; if (analysisInfo.type === 'TWIA') { analysisType = 'Two-way ANOVA with interactions'; customizable = true; } else if (analysisInfo.type === 'TWA') { analysisType = 'Two-way ANOVA witho...
this.relayEvents(k, ['done']);
this.relayEvents(k, ['done', 'fail']);
var cb = function(analysisInfo) { if (analysisInfo.type) { var customizable = false; var analysisType = ''; if (analysisInfo.type === 'TWIA') { analysisType = 'Two-way ANOVA with interactions'; customizable = true; } else if (analysisInfo.type === 'TWA') { analysisType = 'Two-way ANOVA witho...
this.refresh([this.experimentalFactor]);
if (efId === null) { this.store.removeAll(); } else { this.refresh([this.experimentalFactor]); }
changeExperimentalFactor : function(efId) { this.experimentalFactor.id = efId; this.store.rejectChanges(); // reset. this.refresh([this.experimentalFactor]); // causes a load. this.getTopToolbar().setExperimentalFactor(efId); },
hideLoadingGif();
function changeNickname(newNick){ $.ajax({ url: "/nickname", type: "POST", data: { "new_nick": newNick }, success: function(msg){ $("#nick_text").hide(); $("#hi_msg").text("Hi " + newNick); }, error: on_ajax_fail });}
this.log("changeOptions");
changeOptions: function() { this.log("changeOptions"); this._populateFromMaster(); },
if(this.options.required) { this.requiredText = new Element('em', { 'html' : this.getText({set:'Jx',key:'field',value:'requiredText'}), 'class' : 'required' }); this.requiredText.inject(this.label); }
changeText: function (lang) { this.parent(); if ($defined(this.options.label)) { this.label.set('html', this.getText(this.options.label) + this.options.labelSeparator); } if ($defined(this.requiredText)) { this.requiredText.set('html',MooTools.lang.get('Jx','field').req...
this.ok.setLabel({set:'Jx',key:'confirm',value:'affirmitiveLabel'});
this.ok.setLabel({set:'Jx',key:'confirm',value:'affirmativeLabel'});
changeText: function (lang) { this.parent(); if ($defined(this.ok)) { this.ok.setLabel({set:'Jx',key:'confirm',value:'affirmitiveLabel'}); } if ($defined(this.cancel)) { this.cancel.setLabel({set:'Jx',key:'confirm',value:'negativeLabel'}); } if(Jx.type(this.options.question) === '...
this.parent(); this.render();
this.parent(); this.resize(); this.resizeRowsCols();
changeText : function(lang) { this.parent(); this.render(); }
}
},
changeText: function (lang) { this.options.busyMask['message'] = MooTools.lang.get('Jx','widget').busyMessage; //if the mask is being used then recreate it with the new text if (this.busy) { this.setBusy(false); this.setBusy(true); } }
}
},
changeText: function (lang) { this.parent(); if ($defined(this.requiredText)) { this.requiredText.set('html',MooTools.lang.get('Jx','field').requiredText); } }
}
},
changeText: function (lang) { this.parent(); //TODO: change this class so that we can access these properties without too much voodoo... if($defined(this.closeB)) { this.closeB.setTooltip({set:'Jx',key:'panel',value:'closeTooltip'}); } if ($defined(this.closeM)) { this.closeM.setLabel({set...
if(this.options.popup.button.submit.label.length == 0) this.popup.button.submit.label = MooTools.lang.get('Jx','plugin.editor').submitButton; if(this.options.popup.button.cancel.label.length == 0) this.popup.button.cancel.label = MooTools.lang.get('Jx','plugin.editor').cancelButton;
if(this.popup.button.submit != null) { this.popup.button.submit.cleanup(); this.popup.button.cancel.cleanup(); this.popup.button.submit = null; this.popup.button.cancel = null; this.setPopUpButtons(); }
changeText: function (lang) { this.parent(); if (this.options.popup.use && this.options.popup.useButtons) { if(this.options.popup.button.submit.label.length == 0) this.popup.button.submit.label = MooTools.lang.get('Jx','plugin.editor').submitButton; if(this.options.popup.button.cancel...
if ($defined(this.options.label)) {
if ($defined(this.options.label) && this.label) {
changeText: function (lang) { this.parent(); if ($defined(this.options.label)) { this.label.set('html', this.getText(this.options.label) + this.options.labelSeparator); } if(this.options.required) { this.requiredText = new Element('em', { 'html' : this.getT...
};
}
function childrenOf(node) { return $("table.treeTable tbody tr." + options.childPrefix + node[0].id); };
t.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){o.order.splice(1,0,"CLASS");o.find.CLASS=function(i,n,m){if(typeof n.getElementsByClas...
i=i.toLowerCase();q=a}q("previousSibling",i,p,g,m,n)}},find:{ID:function(g,i,n){if(typeof i.getElementById!=="undefined"&&!n)return(g=i.getElementById(g[1]))&&g.parentNode?[g]:[]},NAME:function(g,i){if(typeof i.getElementsByName!=="undefined"){for(var n=[],m=i.getElementsByName(g[1]),p=0,q=m.length;p<q;p++)m[p].getAttr...
t.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){o.order.splice(1,0,"CLASS");o.find.CLASS=function(i,n,m){if(typeof n.getElementsByClas...
return string.replace(/[\'\s\(\)]/g, "_");
return string.replace(/[\\\/\"\'\s\(\),\.]/g, " ");
function cleanName(string) { return string.replace(/[\'\s\(\)]/g, "_");}
return string.replace(/[\'\s]/g, "_");
return string.replace(/[\'\s\(\)]/g, "_");
function cleanName(string) { return string.replace(/[\'\s]/g, "_");}
return string.replace(/[\\\/\"\'\s\(\),\.]/g, " ");
return string.replace(/[\\\/\"\'\s\(\),\.;]/g, "_");
function cleanName(string) { return string.replace(/[\\\/\"\'\s\(\),\.]/g, " ");}
this.contentClone.destroy();
cleanup: function() { this.list.removeEvent('remove', this.bound.remove); this.list.destroy(); this.list = null; if (this.button) { this.domObj.eliminate('jxMenu'); this.domObj = null; this.button.removeEvent('click', this.bound.show); this.button.domA.removeEvents({ ...
mouseenter: this.onMouseEnter, mouseleave: this.onMouseLeave
mouseenter: this.bound.mouseenter, mouseleave: this.bound.mouseleave
cleanup: function() { this.list.removeEvent('remove', this.bound.remove); this.list.destroy(); this.list = null; if (this.button) { this.domObj.eliminate('jxMenu'); this.domObj = null; this.button.removeEvent('click', this.bound.show); this.button.domA.removeEvents({ ...
this.bound.onRemove = null;
this.bound.remove = null;
cleanup: function() { this.list.removeEvent('remove', this.bound.remove); this.list.destroy(); this.list = null; if (this.button) { this.domObj.eliminate('jxMenu'); this.domObj = null; this.button.removeEvent('click', this.bound.show); this.button.domA.removeEvents({ ...
this.bound.mouseenter = null; this.bound.mouseleave = null; this.bound.keypress = null; this.bound.hide = null;
cleanup: function() { this.list.removeEvent('remove', this.bound.remove); this.list.destroy(); this.list = null; if (this.button) { this.domObj.eliminate('jxMenu'); this.domObj = null; this.button.removeEvent('click', this.bound.show); this.button.domA.removeEvents({ ...
MooTools.lang.removeEvent('langChange', this.bound.changeText);
if (this.options.useLang && $defined(this.bound.changeText)) { MooTools.lang.removeEvent('langChange', this.bound.changeText); }
cleanup: function () { //detach plugins if (this.plugins.getLength > 0) { this.plugins.each(function (plugin) { plugin.detach(); plugin.destroy(); }, this); } this.plugins.empty(); MooTools.lang.removeEvent('langChange', this.bou...
$("<option/>").text("-- Select a metric --").appendTo("#verplot2metr"); $("<option/>").text("-- Select a metric --").appendTo("#verplot1metr");
function cleanup() { $("#verplot2metr").empty(); $("#verplot1metr").empty(); $('#verplot1plot').empty(); $('#verplot2plot').empty(); $("#dirs thead tr").empty(); $("#dirs tbody").empty(); $("#files thead tr").empty(); $("#files tbody").empty();}
this.setActive(!this.options.active);
this.setActive.delay(1,this,!this.options.active);
clicked: function(obj) { if (this.options.enabled) { if (this.options.toggle) { this.setActive(!this.options.active); } this.fireEvent('click', this); if (this.owner && this.owner.deactivate) { this.owner.deactivate(obj.event); ...
this.fireEvent('click', this);
this.fireEvent.delay(1, this, ['click', {obj: this}]); this.blur.delay(1,this);
clicked: function(obj) { if (this.options.enabled) { if (this.options.toggle) { this.setActive(!this.options.active); } this.fireEvent('click', this); if (this.owner && this.owner.deactivate) { this.owner.deactivate(obj.event); ...
this.owner.deactivate(obj.event);
this.owner.deactivate.delay(1, this.owner, obj.event);
clicked: function(obj) { if (this.options.enabled) { if (this.options.toggle) { this.setActive(!this.options.active); } this.fireEvent('click', this); if (this.owner && this.owner.deactivate) { this.owner.deactivate(obj.event); ...
this.blur.delay(1,this);
this.blur();
clicked: function(obj) { if (this.options.enabled) { if (this.options.toggle) { this.setActive.delay(1,this,!this.options.active); } this.fireEvent.delay(1, this, ['click', {obj: this}]); this.blur.delay(1,this); if (this.owner && this.own...
return false;
clicked: function(obj) { if (this.options.enabled) { if (this.options.toggle) { this.setActive.delay(1,this,!this.options.active); } this.fireEvent.delay(1, this, ['click', {obj: this}]); this.blur.delay(1,this); if (this.owner && this.own...
} if(this.options.loadOnDemand || !this.options.cacheContent) { this.loadContent(this.content);
clicked: function(e) { if (!this.options.enabled) { return; } /* find out what we are contained by if we don't already know */ if (!this.owner) { this.owner = document.body; var node = document.id(this.domObj.parentNode); while (node != documen...
document.addEvent('keydown', this.keypressWatcher); document.addEvent('click', this.hideWatcher);
document.addEvent('keydown', this.keypressHandler); document.addEvent('click', this.clickHandler);
clicked: function(e) { if (!this.options.enabled) { return; } /* find out what we are contained by if we don't already know */ if (!this.owner) { this.owner = document.body; var node = document.id(this.domObj.parentNode); while (node != documen...
this.position(this.contentContainer, this.domObj, { horizontal: ['left left', 'right right'], vertical: ['bottom top', 'top bottom'], offsets: this.chromeOffsets
var rel = this.options.positionElement || this.domObj; var pos = $merge(this.options.position, { offsets: this.chromeOffsets
clicked: function(e) { if (!this.options.enabled) { return; } /* find out what we are contained by if we don't already know */ if (!this.owner) { this.owner = document.body; var node = document.id(this.domObj.parentNode); while (node != documen...
this.position(this.contentContainer, rel, pos);
clicked: function(e) { if (!this.options.enabled) { return; } /* find out what we are contained by if we don't already know */ if (!this.owner) { this.owner = document.body; var node = document.id(this.domObj.parentNode); while (node != documen...
els.lightbox.hide(); els.overlay.fadeOut({ duration: this.overlayDuration }); els.shim.hide();
response = window.frames['ux-lightbox-shim'].response; if(!response.url) { els.lightbox.hide(); els.overlay.fadeOut({ duration: this.overlayDuration }); els.shim.hide(); }
close: function(){ els.lightbox.hide(); els.overlay.fadeOut({ duration: this.overlayDuration }); els.shim.hide(); this.fireEvent('close', this); },
item_id = $(item).attr('id')
var item_id = $(item).attr('id'); var tag_name, tag_store;
var collectPickedTags = function(){ var good_prefix = 'interesting-tag-'; var bad_prefix = 'ignored-tag-'; var good_re = RegExp('^' + good_prefix); var bad_re = RegExp('^' + bad_prefix); interestingTags = {}; ignoredTags = {}; $('.deletable-tag').each( fun...
setupTagDeleteEvents($(item).find('img'),tag_store,tag_name,reason,true)
setupTagDeleteEvents($(item).find('img'),tag_store,tag_name,reason,true);
var collectPickedTags = function(){ var good_prefix = 'interesting-tag-'; var bad_prefix = 'ignored-tag-'; var good_re = RegExp('^' + good_prefix); var bad_re = RegExp('^' + bad_prefix); interestingTags = {}; ignoredTags = {}; $('.deletable-tag').each( fun...
}
};
var collectPickedTags = function(){ var good_prefix = 'interesting-tag-'; var bad_prefix = 'ignored-tag-'; var good_re = RegExp('^' + good_prefix); var bad_re = RegExp('^' + bad_prefix); interestingTags = {}; ignoredTags = {}; $('.deletable-tag').each( fun...
for (var i = 0, len = arguments.length; i < arguments.length; i++) {
for (var i = 0, len = arguments.length; i < len; i++) {
Path.combine = function() { var paths = ""; for (var i = 0, len = arguments.length; i < arguments.length; i++) { if (paths.length > 0) paths += "/"; paths += S.rtrim(arguments[i], '/'); } return paths;};
function comm_del(ctrl, label) { var res = window.confirm(strings.get('entry_deleteConfirm', label));
function comm_del() { var item = this.href.replace(/^.*delete=(.+)$/, "$1"); var res = window.confirm(strings.get('entry_deleteConfirm', item));
function comm_del(ctrl, label) { var res = window.confirm(strings.get('entry_deleteConfirm', label)); if (res) { if (ctrl.href.lastIndexOf('?') >= 0) { ctrl.href=ctrl.href+'&conf=yes'; } else { ctrl.href=ctrl.href+'?conf=yes'; } } return res;}
if (ctrl.href.lastIndexOf('?') >= 0) { ctrl.href=ctrl.href+'&conf=yes';
if (this.href.lastIndexOf('?') >= 0) { this.href=this.href+'&conf=yes';
function comm_del(ctrl, label) { var res = window.confirm(strings.get('entry_deleteConfirm', label)); if (res) { if (ctrl.href.lastIndexOf('?') >= 0) { ctrl.href=ctrl.href+'&conf=yes'; } else { ctrl.href=ctrl.href+'?conf=yes'; } } return res;}
ctrl.href=ctrl.href+'?conf=yes';
this.href=this.href+'?conf=yes';
function comm_del(ctrl, label) { var res = window.confirm(strings.get('entry_deleteConfirm', label)); if (res) { if (ctrl.href.lastIndexOf('?') >= 0) { ctrl.href=ctrl.href+'&conf=yes'; } else { ctrl.href=ctrl.href+'?conf=yes'; } } return res;}
window[callback_finished_function()];
var json; try { json=jQuery.parseJSON(XMLHttpRequest.responseText); } catch(error) { json=null; } window[callback_finished_function(json)];
complete: function(XMLHttpRequest, textStatus) { if (XMLHttpRequest.params.containsKey('callback_finished') && XMLHttpRequest.params.get('callback_finished')!==null) { var callback_finished_function = XMLHttpRequest.params.get('callback_finished'); window[callback_finished_function()]; } }
complete: function() { if ( !options.autoHeight ) { options.toShow.css("height", ""); } options.toShow.css("width", originalWidth); options.toShow.css({overflow: overflow}); options.complete(); }
0};i[f]=(e=="show"?b=="pos"?"+=":"-=":b=="pos"?"-=":"+=")+g;a.animate(i,{queue:false,duration:d.duration,easing:d.options.easing,complete:function(){e=="hide"&&a.hide();c.effects.restore(a,h);c.effects.removeWrapper(a);d.callback&&d.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
complete: function() { if ( !options.autoHeight ) { options.toShow.css("height", ""); } options.toShow.css("width", originalWidth); options.toShow.css({overflow: overflow}); options.complete(); }
function confirmDelete(item) {
function confirmDelete(item, type) {
function confirmDelete(item) { var r; if (item == undefined) { r = confirm("Are you sure to delete the album " + albumName + "?"); } else { r = confirm("Are you sure to delete the image " + item + "?"); } if (r == true) { removeImage(item); }}
if (item == undefined) { r = confirm("Are you sure to delete the album " + albumName + "?"); } else { r = confirm("Are you sure to delete the image " + item + "?");
if (type == "Group") { if (confirm("Are you sure to delete the user group " + groups[currentGroup][0] + "?")) { deleteGroup(); } } else if (type != "Role") { if (item == undefined) { r = confirm("Are you sure to delete the album " + albumName + "?"); } else { r = confirm("Are you sure to delete the image " + item + "?"...
function confirmDelete(item) { var r; if (item == undefined) { r = confirm("Are you sure to delete the album " + albumName + "?"); } else { r = confirm("Are you sure to delete the image " + item + "?"); } if (r == true) { removeImage(item); }}
if (r == true) { removeImage(item); }
function confirmDelete(item) { var r; if (item == undefined) { r = confirm("Are you sure to delete the album " + albumName + "?"); } else { r = confirm("Are you sure to delete the image " + item + "?"); } if (r == true) { removeImage(item); }}
canvasWidth = target.width(); canvasHeight = target.height(); target.html(""); if (target.css("position") == 'static') target.css("position", "relative");
canvasWidth = placeholder.width(); canvasHeight = placeholder.height(); placeholder.html(""); if (placeholder.css("position") == 'static') placeholder.css("position", "relative");
function constructCanvas() { function makeCanvas(width, height) { var c = document.createElement('canvas'); c.width = width; c.height = height; if ($.browser.msie) // excanvas hack c = window.G_vmlCanvasManager.initElement...
canvas = $(makeCanvas(canvasWidth, canvasHeight)).appendTo(target).get(0);
canvas = $(makeCanvas(canvasWidth, canvasHeight)).appendTo(placeholder).get(0);
function constructCanvas() { function makeCanvas(width, height) { var c = document.createElement('canvas'); c.width = width; c.height = height; if ($.browser.msie) // excanvas hack c = window.G_vmlCanvasManager.initElement...
overlay = $(makeCanvas(canvasWidth, canvasHeight)).css({ position: 'absolute', left: 0, top: 0 }).appendTo(target).get(0);
overlay = $(makeCanvas(canvasWidth, canvasHeight)).css({ position: 'absolute', left: 0, top: 0 }).appendTo(placeholder).get(0);
function constructCanvas() { function makeCanvas(width, height) { var c = document.createElement('canvas'); c.width = width; c.height = height; if ($.browser.msie) // excanvas hack c = window.G_vmlCanvasManager.initElement...
if (!this.preferences.getExecutor()) { this.uiElementSets = new Array(this.historicUiElementSet); } else { this.uiElementSets = new Array(this.executorUiElementSet, this.historicUiElementSet); }
this.uiElementSets = new Array(this.executorUiElementSet, this.historicUiElementSet);
constructor: function(localiser, preferences) { this.localiser = localiser; this.preferences = preferences; this.uiUtil = new HudsonUiUtil(); this.executorUiElementSet = new HudsonUiElementSet(TYPE_EXECUTOR); this.historicUiElementSet = new HudsonUiElementSet(TYPE_HISTORIC); if (!this.preferences.getExecutor...
this.isAdmin = Ext.get("hasAdmin").getValue() == 'true'; this.isUser = Ext.get("hasUser").getValue() == 'true'; this.editable = this.isAdmin || this.isUser;
if((Ext.get("hasWritePermission")) && Ext.get("hasWritePermission").getValue() == 'true'){ this.editable = 'true'; }
constructor : function(id) { this.eeId = id; this.id = 'ee-details-panel'; Gemma.EEPanel.superclass.constructor.call(this); this.addEvents({ "ready" : true }); this.isAdmin = Ext.get("hasAdmin").getValue() == 'true'; this.isUser = Ext.get("hasUser").getValue() == 'true'; this.editable = this.isAdmin || t...
"fail" : true,
constructor : function(config) { this.addEvents({ "done" : true, "background" : true }); // Copy configured listeners into *this* object so that the base class's // constructor will add them. if (config) { this.listeners = config.listeners; this.throbberEl = config.throbberEl; ...
if (!Base._prototyping) {
if (!name_edwards_dean_Base._prototyping) {
var klass = proto.constructor = function() { if (!Base._prototyping) { if (this._constructing || this.constructor == klass) { // instantiation this._constructing = true; constructor.apply(this, arguments); delete this._constructing; } else if (arguments[0] != null) { // casting return (arguments[0].ex...
this.throbberEl = config.throbberEl;
constructor : function(config) { this.addEvents({ "done" : true, "background" : true }); // Copy configured listeners into *this* object so that the base class's // constructor will add them. if (config) { this.listeners = config.listeners; } // Call our superclass constructor ...
if (!is.String(str)) return; for (var i = 0, len = tests.length; i < len; i++) { if (str.indexOf(tests[i]) != -1) return true; } return false;
if (!JSV.isString_(str)) return; for (var i = 0, len = tests.length; i < len; i++) { if (str.indexOf(tests[i]) != -1) return true; } return false;
JSV.containsAny_ = function(str, tests){ if (!is.String(str)) return; for (var i = 0, len = tests.length; i < len; i++) { if (str.indexOf(tests[i]) != -1) return true; } return false;};
if (onSuccessFn) onSuccessFn(r.getResult().Result);
if (onSuccessFn) onSuccessFn(r.Result);
containsKey: function(key, onSuccessFn, onErrorFn) { this.gateway.getFromService('ContainsKey', { Key: key || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Result); }, onErrorFn || RedisClient.errorFn); },
if (neg) { val = val * -1; }
convert: function (val) { if (Jx.type(val) === 'string') { val = parseFloat(val.replace(/^[^\d\.]*([\d., ]+).*/g, "$1").replace(new RegExp("[^\\\d" + this.options.separator + "]", "g"), '').replace(/,/, '.')) || 0; } return val || 0; },
} else { return null;
count : function () { if ($defined(this.data)) { return this.data.length; } else { return null; } },
return null;
count : function () { if ($defined(this.data)) { return this.data.length; } else { return null; } },
minlength: jQuery.format(' ' + $.i18n._('content minchars'))
minlength: $.format(' ' + $.i18n._('content minchars'))
var CPValidator = function(){ return { getQuestionFormRules : function(){ return { tags: { required: true, maxlength: 105 }, text: { required: true, minlength: 10 ...
minlength: jQuery.format(' ' + $.i18n._('title minchars'))
minlength: $.format(' ' + $.i18n._('title minchars'))
var CPValidator = function(){ return { getQuestionFormRules : function(){ return { tags: { required: true, maxlength: 105 }, text: { required: true, minlength: 10 ...
minlength: $.format(' ' + $.i18n._('content minchars'))
minlength: $.i18n._('content minchars').replace('{0}', 10)
var CPValidator = function(){ return { getQuestionFormRules : function(){ return { tags: { required: true, maxlength: 105 }, text: { required: true, minlength: 10 ...
minlength: $.format(' ' + $.i18n._('title minchars'))
minlength: $.i18n._('title minchars').replace('{0}', 10)
var CPValidator = function(){ return { getQuestionFormRules : function(){ return { tags: { required: true, maxlength: 105 }, text: { required: true, minlength: 10 ...
ExpressionExperimentSetController.create = function(p0, callback) { dwr.engine._execute(ExpressionExperimentSetController._path, 'ExpressionExperimentSetController', 'create', p0, callback);
GeneSetController.create = function(p0, callback) { dwr.engine._execute(GeneSetController._path, 'GeneSetController', 'create', p0, callback);
ExpressionExperimentSetController.create = function(p0, callback) { dwr.engine._execute(ExpressionExperimentSetController._path, 'ExpressionExperimentSetController', 'create', p0, callback);}
function createCollection() {
function createCollection(dialog) {
function createCollection() { var name = $('#create-collection-form input[name = name]').val(); var collection = $('#simple-search-form input[name = collection]').val(); var data = { action: 'create-collection', name: name, collection: collection }; $.ajax({ url: "operations.xql", dataType: "x...
var data = { action: 'create-collection', name: name, collection: collection }; $.ajax({ url: "operations.xql", dataType: "xml", data: data, success: function(data) { $("#collection-tree-tree").dynatree("getRoot").reload(); }
var params = { action: 'create-collection', name: name, collection: collection }; $.get("operations.xql", params, function (data) { $("#collection-tree-tree").dynatree("getRoot").reload(); dialog.dialog("close");
function createCollection() { var name = $('#create-collection-form input[name = name]').val(); var collection = $('#simple-search-form input[name = collection]').val(); var data = { action: 'create-collection', name: name, collection: collection }; $.ajax({ url: "operations.xql", dataType: "x...
if (!continuous) {
createColumns : function(factors) { var columns = [this.rowExpander, { id : "bm-column", header : "BioMaterial", dataIndex : "bmName", sortable : true, width : 120, tooltip : 'BioMaterial (sample) name/details' }, { id : "ba-column", header : "BioAssay", width : 150, dataInd...
}
createColumns : function(factors) { var columns = [this.rowExpander, { id : "bm-column", header : "BioMaterial", dataIndex : "bmName", sortable : true, width : 120, tooltip : 'BioMaterial (sample) name/details' }, { id : "ba-column", header : "BioAssay", width : 150, dataInd...
var continuous = factor.type == "Continuous";
var continuous = factor.type == "continuous";
createColumns : function(factors) { var columns = [this.rowExpander, { id : "bm-column", header : "BioMaterial", dataIndex : "bmName", sortable : true, width : 120, tooltip : 'BioMaterial (sample) name/details' }, { id : "ba-column", header : "BioAssay", width : 150, dataInd...
SecurityController.createGeneGroup = function(p0, p1, callback) { dwr.engine._execute(SecurityController._path, 'SecurityController', 'createGeneGroup', p0, p1, callback);
GeneSetController.createGeneGroup = function(p0, p1, callback) { dwr.engine._execute(GeneSetController._path, 'GeneSetController', 'createGeneGroup', p0, p1, callback);
SecurityController.createGeneGroup = function(p0, p1, callback) { dwr.engine._execute(SecurityController._path, 'SecurityController', 'createGeneGroup', p0, p1, callback);}
container.css("display", "block"); container.ready(containerReady(container, mode));
if (mode == 'drag') { container.css("display", "block"); initDrag(container); } else if (mode == 'drag360') { container.css("display", "block"); initDrag360(container); } else if (mode == 'move') { container.css("display", "block"); initMove(container); }
function createPhotoNav(id, mode){ var container = jQuery("#" + id); container.css("display", "block"); container.ready(containerReady(container, mode));}
popup.setStyle('width', cell.getContentBoxSize().width);
createPopUp : function(cell) { var coords = cell.getCoordinates(), self = this, popup = null, innerWrapper = null, closeIcon = null, submit = null, cancel = null, template = Jx.Widget.prototype.processTemplate(this.options.popup.template, this.classes); popup = temp...
var selector = scope+' .jxGridCol'+idx+', '+scope + " .jxGridCol" + idx + " .jxGridCellContent";
var selector = scope+' .jxGridCol'+idx
createRules: function(styleSheet, scope) { this.columns.each(function(col, idx) { var selector = scope+' .jxGridCol'+idx+', '+scope + " .jxGridCol" + idx + " .jxGridCellContent"; var dec = ''; if (col.options.renderMode === 'fixed' || col.options.renderMode === 'expand') { ...
rule.style.height = this.getHeight(idx) + "px";
rule.style.height = this.heights[idx] + "px"; if (Browser.Engine.webkit) { selector += " th"; var thRule = Jx.Styles.insertCssRule(selector, '', styleSheet); thRule.style.height = this.heights[idx] + "px"; }
createRules: function(styleSheet, scope) { this.grid.gridTableBody.getChildren().each(function(row, idx) { var selector = scope+' .jxGridRow'+idx; var rule = Jx.Styles.insertCssRule(selector, '', styleSheet); this.rules.set('jxGridRow'+idx, rule); rule.style.height...
col.rule = Jx.Styles.insertCssRule(selector, '', styleSheet);
var dec = ''; if (col.options.renderMode === 'fixed' || col.options.renderMode === 'expand') { dec = 'white-space: normal !important'; } col.rule = Jx.Styles.insertCssRule(selector, dec, styleSheet);
createRules: function(styleSheet, scope) { this.columns.each(function(col, idx) { var selector = scope+' .jxGridCol'+idx+', '+scope + " .jxGridCol" + idx + " .jxGridCellContent"; col.rule = Jx.Styles.insertCssRule(selector, '', styleSheet); col.rule.style.width = col.getWidth...
var selector = scope+' .jxGridRow'+idx;
var selector = scope+' .jxGridRow'+idx + ', ' + scope + ' .jxGridRow'+idx+' .jxGridCellContent';
createRules: function(styleSheet, scope) { this.grid.gridTableBody.getChildren().each(function(row, idx) { var selector = scope+' .jxGridRow'+idx; var rule = Jx.Styles.insertCssRule(selector, '', styleSheet); this.rules.set('jxGridRow'+idx, rule); rule.style.height...
this.rules.set('th_jxGridRow'+idx, thRule);
createRules: function(styleSheet, scope) { this.grid.gridTableBody.getChildren().each(function(row, idx) { var selector = scope+' .jxGridRow'+idx; var rule = Jx.Styles.insertCssRule(selector, '', styleSheet); this.rules.set('jxGridRow'+idx, rule); rule.style.height...
console.log('not present')
,createSlider:function() { // if ( this.sliderCreated ) return; //console.log(' createSlider'); if ($('#' + slider_id).length > 0 && $('#' + table_id).length > 0) return; var offset = this.getSli...
console.log('present')
,createSlider:function() { // if ( this.sliderCreated ) return; //console.log(' createSlider'); if ($('#' + slider_id).length > 0 && $('#' + table_id).length > 0) return; var offset = this.getSli...
if (onSuccessFn) onSuccessFn(r.getResult().Key);
if (onSuccessFn) onSuccessFn(r.Key);
createSubscription: function(channels, patterns, timeOut, onSuccessFn, onErrorFn) { this.gateway.postToService('CreateSubscription', { Channels: channels || null, Patterns: patterns || null, TimeOut: timeOut || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Key); }, onErrorFn || RedisClie...
c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseF...
(function($){var ver="2.86";if($.support==undefined){$.support={opacity:!($.browser.msie)};}function debug(s){if($.fn.cycle.debug){log(s);}}function log(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments," "));}}$.fn.cycle=function(options,arg2){var o={s:this.sele...
c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseF...
title : "Select the factor(s) to use",
title : "Select up to 2 factor(s) to use",
var customize = function(analysisInfo) { var factors = analysisInfo.factors; var proposedAnalysis = analysisInfo.type; var canDoInteractions = (proposedAnalysis == 'TWIA') || factors.length > 2; /* * DifferentialExpressionAnalysisSetupWindow - to be refactored. */ var deasw = new Ext.Window({ mod...
fieldLabel : 'Include interactions'
fieldLabel : 'Include interactions if possible'
var customize = function(analysisInfo) { var factors = analysisInfo.factors; var proposedAnalysis = analysisInfo.type; var canDoInteractions = (proposedAnalysis == 'TWIA') || factors.length > 2; /* * DifferentialExpressionAnalysisSetupWindow - to be refactored. */ var deasw = new Ext.Window({ mod...
} if (factorsToUseIds.length < 1 || factorsToUseIds.length > 2) { Ext.Msg.alert("Please pick 1 or 2 factors."); return;
var customize = function(analysisInfo) { var factors = analysisInfo.factors; var proposedAnalysis = analysisInfo.type; var canDoInteractions = (proposedAnalysis == 'TWIA') || factors.length > 2; /* * DifferentialExpressionAnalysisSetupWindow - to be refactored. */ var deasw = new Ext.Window({ mod...