rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
+ '. Previous analysis results for this experiment will be deleted.',
+ '. If there is an existing analysis on the same factor(s), it will be deleted.',
doDifferential : function(id) { /* * Do an analysis interactively. */ var customize = function(analysisInfo) { var factors = analysisInfo.factors; var proposedAnalysis = analysisInfo.type; var canDoInteractions = (proposedAnalysis == 'TWIA') || factors.length > 2; /* * DifferentialExpressionAnalysisSe...
deasw.relayEvents(k, ['done']);
this.relayEvents(k, ['done']);
doDifferential : function(id) { /* * Do an analysis interactively. */ var customize = function(analysisInfo) { var factors = analysisInfo.factors; var proposedAnalysis = analysisInfo.type; var canDoInteractions = (proposedAnalysis == 'TWIA') || factors.length > 2; /* * DifferentialExpressionAnalysisSe...
var canDoInteractions = (proposedAnalysis == 'TWIA') || factors.length > 2; /* * DifferentialExpressionAnalysisSetupWindow - to be refactored.
var subsetRadios = []; subsetRadios.push(new Ext.form.Radio({ boxLabel : 'None', name : 'diff-ex-analyze-subset', id : 'no-factor-subset-radio', checked : true, listeners : { check : validateFactorsChosen.createDelegate(this, [factors]) } })); for (var i = 0; i < factors.length; i++) { var f = factors[i]; if (!f.name)...
doDifferential : function(id) { var m = this; /* * Do an analysis interactively. */ var customize = function(analysisInfo) { var factors = analysisInfo.factors; var proposedAnalysis = analysisInfo.type; var canDoInteractions = (proposedAnalysis == 'TWIA') || factors.length > 2; /* * DifferentialExpre...
modal : true, stateful : false, resizable : false, autoHeight : true, width : 300, plain : true, title : "Differential analysis settings", items : [{ xtype : 'form', autoHeight : true, items : [{ xtype : 'fieldset', title : "Select factor(s) to use", autoHeight : true, labelWidth : 200, id : 'diff-ex-analysis-customize...
name : 'diff-customization-window', modal : true, stateful : false, resizable : false, autoHeight : true, width : 300, plain : true, title : "Differential analysis settings", items : [{ xtype : 'form', bodyBorder : false, autoHeight : true, items : [{ xtype : 'fieldset', title : "Select factor(s) to use", autoHeight : ...
doDifferential : function(id) { var m = this; /* * Do an analysis interactively. */ var customize = function(analysisInfo) { var factors = analysisInfo.factors; var proposedAnalysis = analysisInfo.type; var canDoInteractions = (proposedAnalysis == 'TWIA') || factors.length > 2; /* * DifferentialExpre...
* Create the checkboxes for user choice of factors.
* Create the checkboxes for user choice of factors. We assume there is more than one.
doDifferential : function(id) { var m = this; /* * Do an analysis interactively. */ var customize = function(analysisInfo) { var factors = analysisInfo.factors; var proposedAnalysis = analysisInfo.type; var canDoInteractions = (proposedAnalysis == 'TWIA') || factors.length > 2; /* * DifferentialExpre...
var onlyOne = factors.length == 1;
doDifferential : function(id) { var m = this; /* * Do an analysis interactively. */ var customize = function(analysisInfo) { var factors = analysisInfo.factors; var proposedAnalysis = analysisInfo.type; var canDoInteractions = (proposedAnalysis == 'TWIA') || factors.length > 2; /* * DifferentialExpre...
checked : onlyOne
checked : false, listeners : { check : validateFactorsChosen.createDelegate(this, [factors]) }
doDifferential : function(id) { var m = this; /* * Do an analysis interactively. */ var customize = function(analysisInfo) { var factors = analysisInfo.factors; var proposedAnalysis = analysisInfo.type; var canDoInteractions = (proposedAnalysis == 'TWIA') || factors.length > 2; /* * DifferentialExpre...
/*
var getFactorsToUseIds = function(factors) { var factorsToUseIds = []; for (var i = 0; i < factors.length; i++) { var f = factors[i]; if (!f.name) { continue; } var checked = Ext.getCmp(f.id + '-factor-checkbox').getValue(); if (checked) { factorsToUseIds.push(f.id); } } return factorsToUseIds; }; var getSubsetFactorI...
doDifferential : function(id) { var m = this; /* * Do an analysis interactively. */ var customize = function(analysisInfo) { var factors = analysisInfo.factors; var proposedAnalysis = analysisInfo.type; var canDoInteractions = (proposedAnalysis == 'TWIA') || factors.length > 2; /* * DifferentialExpre...
analysisType = 'T-test';
analysisType = 'T-test (two-sample)'; } else if (analysisInfo.type === 'OSTTEST') { analysisType = 'T-test (one-sample)';
doDifferential : function(id) { /* * Do an analysis interactively. */ var customize = function(analysisInfo) { var factors = analysisInfo.factors; var proposedAnalysis = analysisInfo.type; var canDoInteractions = (proposedAnalysis == 'TWIA') || factors.length > 2; /* * DifferentialExpressionAnalysisSe...
this.relayEvents(k, ['done']);
m.relayEvents(k, ['done', 'fail']);
doDifferential : function(id) { /* * Do an analysis interactively. */ var customize = function(analysisInfo) { var factors = analysisInfo.factors; var proposedAnalysis = analysisInfo.type; var canDoInteractions = (proposedAnalysis == 'TWIA') || factors.length > 2; /* * DifferentialExpressionAnalysisSe...
this.fireEvent('differential', payload)
m.fireEvent('differential', payload)
doDifferential : function(id) { /* * Do an analysis interactively. */ var customize = function(analysisInfo) { var factors = analysisInfo.factors; var proposedAnalysis = analysisInfo.type; var canDoInteractions = (proposedAnalysis == 'TWIA') || factors.length > 2; /* * DifferentialExpressionAnalysisSe...
}.createDelegate(this),
}.createDelegate(m),
doDifferential : function(id) { /* * Do an analysis interactively. */ var customize = function(analysisInfo) { var factors = analysisInfo.factors; var proposedAnalysis = analysisInfo.type; var canDoInteractions = (proposedAnalysis == 'TWIA') || factors.length > 2; /* * DifferentialExpressionAnalysisSe...
this.relayEvents(k, ['done']);
this.relayEvents(k, ['done', 'fail']);
doDifferential : function(id) { /* * Do an analysis interactively. */ var customize = function(analysisInfo) { var factors = analysisInfo.factors; var proposedAnalysis = analysisInfo.type; var canDoInteractions = (proposedAnalysis == 'TWIA') || factors.length > 2; /* * DifferentialExpressionAnalysisSe...
Ext.Msg.alert("Please pick 1 or 2 factors.");
Ext.Msg.alert("Invalid selection", "Please pick 1 or 2 factors.");
doDifferential : function(id) { /* * Do an analysis interactively. */ var customize = function(analysisInfo) { var factors = analysisInfo.factors; var proposedAnalysis = analysisInfo.type; var canDoInteractions = (proposedAnalysis == 'TWIA') || factors.length > 2; /* * DifferentialExpressionAnalysisSe...
cfg.url = "http:
function dodo_getConfig() { var cfg = new Object(); cfg.url = "https://secure.dodo.com.au/externalwebservices/MembersPageUsage.asmx/ProvideUsage?un={USERNAME}&pw={PASSWORD}"; cfg.url = "http://localhost/~charles/dodo.spec.xml"; cfg.requestType = "GET"; cfg.requestParams = null; return cfg;}
this.relayEvents(k, ['done']);
this.relayEvents(k, ['done', 'fail']);
doLinks : function(id) { Ext.Msg.show({ title : 'Link analysis', msg : 'Please confirm. Previous analysis results will be deleted.', buttons : Ext.Msg.YESNO, fn : function(btn, text) { if (btn == 'yes') { var callParams = []; callParams.push(id); Ext.getBody().mask(); call...
this.relayEvents(k, ['done']);
this.relayEvents(k, ['done', 'fail']);
doMissingValues : function(id) { Ext.Msg.show({ title : 'Missing value analysis', msg : 'Please confirm. Previous analysis results will be deleted.', buttons : Ext.Msg.YESNO, fn : function(btn, text) { if (btn == 'yes') { var callParams = [] callParams.push(id); Ext.getBody().ma...
this.relayEvents(k, ['done']);
this.relayEvents(k, ['done', 'fail']);
doProcessedVectors : function(id) { Ext.Msg.show({ title : 'Processed vector analysis', msg : 'Please confirm. Any existing processed vectors will be deleted.', buttons : Ext.Msg.YESNO, fn : function(btn, text) { if (btn == 'yes') { var callParams = []; callParams.push(id); Ext....
uploader.upload({albumName:albumName});
uploader.upload({albumName:albumName, albumDescription:albumDescription});
doUpload = function(){ console.log("doUpload"); displayProgress(); var selectAlbum = dojo.byId("selectAlbum"); var selected = selectAlbum.value; console.log("selected:"+selected); if(selected == null || (selected != null && selected == "" && selected.length == 0)) { alert("Photo Upload can not be start...
uploader.upload({albumName:selected});
uploader.upload({albumName:selected,albumDescription:albumDescription});
doUpload = function(){ console.log("doUpload"); displayProgress(); var selectAlbum = dojo.byId("selectAlbum"); var selected = selectAlbum.value; console.log("selected:"+selected); if(selected == null || (selected != null && selected == "" && selected.length == 0)) { alert("Photo Upload can not be start...
uploader.upload({albumName:albumName, albumDescription:albumDescription});
uploader.upload({albumName:albumName, albumDescription:albumDescription, securityToken:securityToken});
doUpload = function(){ console.log("doUpload"); displayProgress(); var files= dojo.byId("files").childElementCount; var selectAlbum = dojo.byId("selectAlbum"); var selected = selectAlbum.value; albumName=selected; var albumDescription= dojo.byId("albumDescription").value; console.log("selected:"+selec...
uploader.upload({albumName:selected,albumDescription:albumDescription});
uploader.upload({albumName:selected,albumDescription:albumDescription, securityToken:securityToken});
doUpload = function(){ console.log("doUpload"); displayProgress(); var files= dojo.byId("files").childElementCount; var selectAlbum = dojo.byId("selectAlbum"); var selected = selectAlbum.value; albumName=selected; var albumDescription= dojo.byId("albumDescription").value; console.log("selected:"+selec...
if(selected == null || (selected != null && selected == "" && selected.length == 0)) {
if(files == 0) { alert("Photo Upload can not be started. Select picture(s) before upload"); dojo.byId("progressBar").style.display="none"; } else if(selected == null || (selected != null && selected == "" && selected.length == 0)) {
doUpload = function(){ console.log("doUpload"); displayProgress(); var selectAlbum = dojo.byId("selectAlbum"); var selected = selectAlbum.value; var albumDescription= dojo.byId("albumDescription").value; console.log("selected:"+selected); if(selected == null || (selected != null && selected == "" && sel...
var albumName = dojo.byId("newAlbumName").value;
albumName = dojo.byId("newAlbumName").value;
doUpload = function(){ console.log("doUpload"); displayProgress(); var selectAlbum = dojo.byId("selectAlbum"); var selected = selectAlbum.value; var albumDescription= dojo.byId("albumDescription").value; console.log("selected:"+selected); if(selected == null || (selected != null && selected == "" && sel...
dojo.byId("progressBar").style.display="none";
doUpload = function(){ console.log("doUpload"); displayProgress(); var selectAlbum = dojo.byId("selectAlbum"); var selected = selectAlbum.value; var albumDescription= dojo.byId("albumDescription").value; console.log("selected:"+selected); if(selected == null || (selected != null && selected == "" && sel...
var auth = "Basic " + Base64.encode(networkUsername + ':' + networkPassword);
var auth = "Basic " + info_webtoolkit_Base64.encode(networkUsername + ':' + networkPassword);
download: function(callback, url, feed, networkUsername, networkPassword) { var request = new XMLHttpRequest(); request.open("GET", url, true); if (networkUsername !== null && networkUsername !== '') { var auth = "Basic " + Base64.encode(networkUsername + ':' + networkPassword); request.setRequestHeader("Aut...
var newleft = ui.position.left % photo_width; if (newleft > 0) { newleft -= photo_width; } ui.position.left = newleft;
var newleft = ui.position.left % photo_width; if (newleft > 0) { newleft -= photo_width;
drag: function(e, ui) { var newleft = ui.position.left % photo_width; if (newleft > 0) { newleft -= photo_width; } ui.position.left = newleft; }
ui.position.left = newleft; }
drag: function(e, ui) { var newleft = ui.position.left % photo_width; if (newleft > 0) { newleft -= photo_width; } ui.position.left = newleft; }
drawGrid(); for (var i = 0; i < series.length; ++i) { var s = series[i]; if (s.subseries) for (var j = 0; j < s.subseries.length; ++j) drawSeries(s.subseries[j]); else drawSeries(s); }
ctx.clearRect(0, 0, canvasWidth, canvasHeight); var grid = options.grid; if (grid.show && !grid.aboveData) drawGrid(); for (var i = 0; i < series.length; ++i) drawSeries(series[i]); executeHooks(hooks.draw, [ctx]); if (grid.show && grid.aboveData) drawGrid();
function draw() { drawGrid(); for (var i = 0; i < series.length; ++i) { var s = series[i]; if (s.subseries) for (var j = 0; j < s.subseries.length; ++j) drawSeries(s.subseries[j]); else ...
octx.strokeStyle = parseColor(series.color).scale(1, 1, 1, 0.5).toString();
octx.strokeStyle = $.color.parse(series.color).scale('a', 0.5).toString();
function drawPointHighlight(series, point) { var x = point[0], y = point[1], axisx = series.xaxis, axisy = series.yaxis; if (x < axisx.min || x > axisx.max || y < axisy.min || y > axisy.max) return; var pointRadius = series.p...
store = this.store,
drawRow: function(record, index, position) { var columns = this.columns, body = this.gridTableBody, row = this.row, rowHeaders = row.useHeaders(), autoRowHeight = row.options.rowHeight == 'auto', rowBody = this.rowTableBody, rowHeaderColumn, rowHeaderColumnIndex, ...
if (autoRowHeight) { th.setStyle('height', tr.childNodes[0].getContentBoxSize().height); }
drawRow: function(record, index, position) { var columns = this.columns, body = this.gridTableBody, row = this.row, store = this.store, rowHeaders = row.useHeaders(), autoRowHeight = row.options.rowHeight == 'auto', rowBody = this.rowTableBody, rowHeaderColumn, ...
if (autoRowHeight) { rh.setBorderBoxSize({height: tr.getBorderBoxSize().height}); }
drawRow: function(record, index, position) { var columns = this.columns, body = this.gridTableBody, row = this.row, store = this.store, rowHeaders = row.useHeaders(), autoRowHeight = row.options.rowHeight == 'auto', rowBody = this.rowTableBody, rowHeaderColumn, ...
if (isNaN(y1) || isNaN(y2)) { if (isNaN(y2) && i == 0) { ctx.lineTo(prevx + 2, prevy); }
if (isNaN(y2)) { ctx.lineTo(prevx + 5, prevy); continue; } if (isNaN(y1)) { prevx = tHoz(x2); prevy = tVert(y2) + offset; ctx.moveTo(prevx, prevy); ctx.lineTo(prevx + 5, prevy);
function drawSeriesLines(series) { function plotLine(data, offset) { if (data.length < 2) return; var i = 0; // Find the first non-missing value. while (i < data.length) { var y = data[i][1]; if (isNaN(y)) { i++; continue; } var x = data[i][0]; var prevx = tHoz(x), prev...
ctx.arc(axisx.p2c(x), axisy.p2c(y) + offset, radius, 0, circumference, true);
ctx.arc(axisx.p2c(x), axisy.p2c(y) + offset, radius, 0, circumference, false);
function drawSeriesPoints(series) { function plotPoints(datapoints, radius, fillStyle, offset, circumference, axisx, axisy) { var points = datapoints.points, incr = datapoints.incr; for (var i = 0; i < points.length; i += incr) { var x ...
plotPoints(series.datapoints, radius, null, w + w/2, 2 * Math.PI,
plotPoints(series.datapoints, radius, null, w + w/2, Math.PI,
function drawSeriesPoints(series) { function plotPoints(datapoints, radius, fillStyle, offset, circumference, axisx, axisy) { var points = datapoints.points, incr = datapoints.incr; for (var i = 0; i < points.length; i += incr) { var x ...
plotPoints(series.datapoints, radius, null, w/2, 2 * Math.PI,
plotPoints(series.datapoints, radius, null, w/2, Math.PI,
function drawSeriesPoints(series) { function plotPoints(datapoints, radius, fillStyle, offset, circumference, axisx, axisy) { var points = datapoints.points, incr = datapoints.incr; for (var i = 0; i < points.length; i += incr) { var x ...
console.profile();
drawStore: function() { console.profile(); this.domObj.resize(); this.gridTableBody.empty(); if (this.row.useHeaders()) { this.rowTableBody.empty(); } this.store.each(function(record,index) { this.drawRow(record, index); }, this); console.profileEnd(); },
console.profileEnd();
drawStore: function() { console.profile(); this.domObj.resize(); this.gridTableBody.empty(); if (this.row.useHeaders()) { this.rowTableBody.empty(); } this.store.each(function(record,index) { this.drawRow(record, index); }, this); console.profileEnd(); },
if (this.row.useHeaders()) {
if (useHeaders) {
drawStore: function() { this.domObj.resize(); this.gridTableBody.empty(); if (this.row.useHeaders()) { this.rowTableBody.empty(); } this.store.each(function(record,index) { this.store.index = index; this.drawRow(record, index); }, this); },
if (useHeaders) { blank = new Element('tr', { styles: { height: 1000 } }); blank.adopt(new Element('th', { 'class':'jxGridRowHead', html: '&nbsp' })); this.rowTableBody.adopt(blank); }
drawStore: function() { this.domObj.resize(); this.gridTableBody.empty(); if (this.row.useHeaders()) { this.rowTableBody.empty(); } this.store.each(function(record,index) { this.store.index = index; this.drawRow(record, index); }, this); },
e: function(event, dx, dy) { return { width: this.originalSize.width + dx }; },
d(this);c.html(c.data("label.tabs")).removeData("label.tabs")})},_tabify:function(c){function e(g,f){g.css({display:""});!d.support.opacity&&f.opacity&&g[0].style.removeAttribute("filter")}this.list=this.element.find("ol,ul").eq(0);this.lis=d("li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return d("a...
e: function(event, dx, dy) { return { width: this.originalSize.width + dx }; },
for (var i = 0, l = data.length; i < l; i++) { fn.call(bind, data[i], i, data); }
data.each(fn, bind);
each: function (fn, bind, ignoreDeleted) { var data; if (ignoreDeleted) { data = this.data.filter(function (record) { return record.state !== Jx.Record.DELETE; }, this); } else { data = this.data; } for (var i = 0, l = data.length; i...
debug("invalid selection"); return;
selection = document.documentRange(); } else { selection.start.column = 0; selection.end.column = document.lineLength(selection.end.line);
function each(func){ if ( typeof(func) != "function" ) { debug("parameter is not a function: " + typeof(func)); return; } var selection = view.selection(); if (!selection.isValid()) { debug("invalid selection"); return; } selection.start.column = 0; selection.end.column ...
selection.start.column = 0; selection.end.column = document.lineLength(selection.end.line);
function each(func){ if ( typeof(func) != "function" ) { debug("parameter is not a function: " + typeof(func)); return; } var selection = view.selection(); if (!selection.isValid()) { debug("invalid selection"); return; } selection.start.column = 0; selection.end.column ...
function EAL(){this.version="0.7.2.3";date=new Date();this.start_time=date.getTime();this.win="loading";this.error=false;this.baseURL="";this.template="";this.lang=new Object();this.load_syntax=new Object();this.syntax=new Object();this.loadedFiles=new Array();this.waiting_loading=new Object();this.scripts_to_load=new ...
function EAL(){var t=this;t.version="0.8.2";date=new Date();t.start_time=date.getTime();t.win="loading";t.error=false;t.baseURL="";t.template="";t.lang={};t.load_syntax={};t.syntax={};t.loadedFiles=[];t.waiting_loading={};t.scripts_to_load=[];t.sub_scripts_to_load=[];t.syntax_display_name={'basic':'Basic','brainfuck':'...
function EAL(){this.version="0.7.2.3";date=new Date();this.start_time=date.getTime();this.win="loading";this.error=false;this.baseURL="";this.template="";this.lang=new Object();this.load_syntax=new Object();this.syntax=new Object();this.loadedFiles=new Array();this.waiting_loading=new Object();this.scripts_to_load=new...
if (value[ref.i] == '"' && (ref.i + 1 >= valueLength || value[ref.i + 1] == findChar))
if (value[ref.i] == '"')
JSV.eatUntilCharFound_ = function(value, ref, findChar){ var tokenStartPos = ref.i; var valueLength = value.length; if (value[tokenStartPos] != '"') { ref.i = value.indexOf(findChar, tokenStartPos); if (ref.i == -1) ref.i = valueLength; return value.substr(tokenStartPos, ref.i - tokenSt...
ref.i++; return value.substr(tokenStartPos, ref.i - tokenStartPos);
if (ref.i + 1 >= valueLength) { return value.substr(tokenStartPos, ++ref.i - tokenStartPos); } if (value[ref.i + 1] == '"') { ref.i++; } else if (value[ref.i + 1] == findChar) { return value.substr(tokenStartPos, ++ref.i - tokenStartPos); }
JSV.eatUntilCharFound_ = function(value, ref, findChar){ var tokenStartPos = ref.i; var valueLength = value.length; if (value[tokenStartPos] != '"') { ref.i = value.indexOf(findChar, tokenStartPos); if (ref.i == -1) ref.i = valueLength; return value.substr(tokenStartPos, ref.i - tokenSt...
if (onSuccessFn) onSuccessFn(r.getResult().Text);
if (onSuccessFn) onSuccessFn(r.Text);
echo: function(text, onSuccessFn, onErrorFn) { this.gateway.getFromService('Echo', { Text: text || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Text); }, onErrorFn || RedisClient.errorFn); },
this.log("add emphasis? " + isAddEmphasis);
emphasis: function(array, isAddEmphasis, searchText ) { var searchTextLength = searchText.length || 0; var options = this.selectbox.get(0).options; var tritem, index, indexB, li, text, stPattern, escapedST; isAddEmphasis = (isAddEmphasis && searchTextLength > 0); // don't add emphasis to 0-length if(isAddEm...
var options = this.selectbox.get(0).options;
var wrappedSearchText = "<em>" + searchText + "</em>"; var stPattern = new RegExp( searchText.replace(/([\\\^\$*+[\]?{}.=!:(|)])/g,"\\$1"), "gi");
emphasis: function(array, isAddEmphasis, searchText ) { //console.time("em"); var searchTextLength = searchText.length || 0; var tritem, index, indexB, li, text; var options = this.selectbox.get(0).options; isAddEmphasis = (isAddEmphasis && searchTextLength); // don't add emphasis to 0-length index = array...
li.innerHTML = '<em>' + text.slice(0, searchTextLength) + '</em>' + text.slice(searchTextLength) ;
li.innerHTML = text.replace(stPattern, wrappedSearchText);
emphasis: function(array, isAddEmphasis, searchText ) { //console.time("em"); var searchTextLength = searchText.length || 0; var tritem, index, indexB, li, text; var options = this.selectbox.get(0).options; isAddEmphasis = (isAddEmphasis && searchTextLength); // don't add emphasis to 0-length index = array...
li.innerHTML = text.replace(stPattern, "<em>$1</em>");
li.innerHTML = text.replace(stPattern, "<em>$1</em>").replace("&", "&amp;");
emphasis: function(array, isAddEmphasis, searchText ) { var searchTextLength = searchText.length || 0; var options = this.selectbox.get(0).options; var tritem, index, indexB, li, text, stPattern, escapedST; index = array.length; isAddEmphasis = (isAddEmphasis && searchTextLength > 0 && index > 1); // don't ad...
li.innerHTML = text;
li.innerHTML = text.replace("&", "&amp;");
emphasis: function(array, isAddEmphasis, searchText ) { var searchTextLength = searchText.length || 0; var options = this.selectbox.get(0).options; var tritem, index, indexB, li, text, stPattern, escapedST; index = array.length; isAddEmphasis = (isAddEmphasis && searchTextLength > 0 && index > 1); // don't ad...
var tritem, index, indexB, li, text;
var tritem, index, indexB, li, text, stPattern, escapedST; isAddEmphasis = (isAddEmphasis && searchTextLength > 0);
emphasis: function(array, isAddEmphasis, searchText ) { //console.time("em"); var searchTextLength = searchText.length || 0; var options = this.selectbox.get(0).options; var tritem, index, indexB, li, text; var wrappedSearchText = "<em>" + searchText + "</em>"; var stPattern = new RegExp( searchText.repla...
var wrappedSearchText = "<em>" + searchText + "</em>"; var stPattern = new RegExp( searchText.replace(/([\\\^\$*+[\]?{}.=!:(|)])/g,"\\$1"), "gi");
if(isAddEmphasis) { escapedST = searchText.replace(/([\\\^\$*+[\]?{}.=!:(|)])/g,"\\$1"); stPattern = new RegExp("(" + escapedST + ")", "gi"); }
emphasis: function(array, isAddEmphasis, searchText ) { //console.time("em"); var searchTextLength = searchText.length || 0; var options = this.selectbox.get(0).options; var tritem, index, indexB, li, text; var wrappedSearchText = "<em>" + searchText + "</em>"; var stPattern = new RegExp( searchText.repla...
isAddEmphasis = (isAddEmphasis && searchTextLength);
emphasis: function(array, isAddEmphasis, searchText ) { //console.time("em"); var searchTextLength = searchText.length || 0; var options = this.selectbox.get(0).options; var tritem, index, indexB, li, text; var wrappedSearchText = "<em>" + searchText + "</em>"; var stPattern = new RegExp( searchText.repla...
li.innerHTML = text.replace(stPattern, wrappedSearchText);
li.innerHTML = text.replace(stPattern, "<em>$1</em>");
emphasis: function(array, isAddEmphasis, searchText ) { //console.time("em"); var searchTextLength = searchText.length || 0; var options = this.selectbox.get(0).options; var tritem, index, indexB, li, text; var wrappedSearchText = "<em>" + searchText + "</em>"; var stPattern = new RegExp( searchText.repla...
var tritem, index, indexB, li, text, stPattern, escapedST;
emphasis: function(array, isAddEmphasis, searchText ) { var searchTextLength = searchText.length || 0; var options = this.selectbox.get(0).options; var tritem, index, indexB, li, text, stPattern, escapedST; index = array.length; isAddEmphasis = (isAddEmphasis && searchTextLength > 0 && index > 1); // don't ad...
isAddEmphasis = (isAddEmphasis && searchTextLength > 0 && index > 1);
isAddEmphasis = (isAddEmphasis && searchTextLength > 0);
emphasis: function(array, isAddEmphasis, searchText ) { var searchTextLength = searchText.length || 0; var options = this.selectbox.get(0).options; var tritem, index, indexB, li, text, stPattern, escapedST; index = array.length; isAddEmphasis = (isAddEmphasis && searchTextLength > 0 && index > 1); // don't ad...
escapedST = searchText.replace(/([\\\^\$*+[\]?{}.=!:(|)])/g,"\\$1");
escapedST = this._encodeString(searchText).replace(/([\\\^\$*+[\]?{}.=!:(|)])/g,"\\$1");
emphasis: function(array, isAddEmphasis, searchText ) { var searchTextLength = searchText.length || 0; var options = this.selectbox.get(0).options; var tritem, index, indexB, li, text, stPattern, escapedST; index = array.length; isAddEmphasis = (isAddEmphasis && searchTextLength > 0 && index > 1); // don't ad...
text = $.trim(options[li.getAttribute("name")].text); if (isAddEmphasis) { li.innerHTML = text.replace(stPattern, "<em>$1</em>").replace("&", "&amp;"); } else { li.innerHTML = text.replace("&", "&amp;"); }
text = $.trim(options[li.getAttribute("name")].innerHTML); li.innerHTML = isAddEmphasis ? text.replace(stPattern, "<em>$1</em>") : text;
emphasis: function(array, isAddEmphasis, searchText ) { var searchTextLength = searchText.length || 0; var options = this.selectbox.get(0).options; var tritem, index, indexB, li, text, stPattern, escapedST; index = array.length; isAddEmphasis = (isAddEmphasis && searchTextLength > 0 && index > 1); // don't ad...
this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length){if(!b&&e.nodeType===1){c.cleanData(e.getElementsByTagName("*"));c.cleanData([e])}e.paren...
true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,i,n){return!!k(n[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:...
this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length){if(!b&&e.nodeType===1){c.cleanData(e.getElementsByTagName("*"));c.cleanData([e])}e.paren...
this.log("enable");
enable: function() { this.log("enable"); this.isDisabled = false; this.button.removeClass(this.css.buttonDisabled); this.input.removeClass(this.css.inputDisabled); this.input.removeAttr("disabled"); },
this.selectbox.removeAttr("disabled");
enable: function() { // this.log("enable"); this.isDisabled = false; this.button.removeClass(this.css.buttonDisabled); this.input.removeClass(this.css.inputDisabled); this.input.removeAttr("disabled"); },
input = Base64._utf8_encode(input);
input = info_webtoolkit_Base64._utf8_encode(input);
encode : function (input) { var output = ""; var chr1, chr2, chr3, enc1, enc2, enc3, enc4; var i = 0; input = Base64._utf8_encode(input); while (i < input.length) { chr1 = input.charCodeAt(i++); chr2 = input.charCodeAt(i++); chr3 = input.charCodeAt(i++); enc1 = chr1 >> 2; enc2 = ((chr1 & 3) << 4) | ...
else return null;}var move_current_element;function start_move_element(e,id,frame){var elem_id=(e.target||e.srcElement).id;if(id)elem_id=id;if(!frame)frame=window;if(frame.event)e=frame.event;move_current_element=frame.document.getElementById(elem_id);move_current_element.frame=frame;frame.document.onmousemove=move_ele...
else return null;}var _mCE;function start_move_element(e,id,frame){var elem_id=(e.target||e.srcElement).id;if(id)elem_id=id;if(!frame)frame=window;if(frame.event)e=frame.event;_mCE=frame.document.getElementById(elem_id);_mCE.frame=frame;frame.document.onmousemove=move_element;frame.document.onmouseup=end_move_element;m...
else return null;}var move_current_element;function start_move_element(e,id,frame){var elem_id=(e.target||e.srcElement).id;if(id)elem_id=id;if(!frame)frame=window;if(frame.event)e=frame.event;move_current_element=frame.document.getElementById(elem_id);move_current_element.frame=frame;frame.document.onmousemove=move_ele...
toArray:function(){return N.call(this,0)},get:function(j){return j==null?this.toArray():j<0?this.slice(j)[0]:this[j]},pushStack:function(j,s,v){var z=b();b.isArray(j)?M.apply(z,j):b.merge(z,j);z.prevObject=this;z.context=this.context;if(s==="find")z.selector=this.selector+(this.selector?" ":"")+v;else if(s)z.selector=t...
0===i},eq:function(g,i,n){return n[3]-0===i}},filter:{PSEUDO:function(g,i,n,m){var p=i[1],q=o.filters[p];if(q)return q(g,n,i,m);else if(p==="contains")return(g.textContent||g.innerText||k.getText([g])||"").indexOf(i[3])>=0;else if(p==="not"){i=i[3];n=0;for(m=i.length;n<m;n++)if(i[n]===g)return false;return true}else k....
toArray:function(){return N.call(this,0)},get:function(j){return j==null?this.toArray():j<0?this.slice(j)[0]:this[j]},pushStack:function(j,s,v){var z=b();b.isArray(j)?M.apply(z,j):b.merge(z,j);z.prevObject=this;z.context=this.context;if(s==="find")z.selector=this.selector+(this.selector?" ":"")+v;else if(s)z.selector=t...
var column = this.resolveCol(column);
if (column === 'primaryKey') { column = this.resolveCol(this.options.primaryKey); } else { column = this.resolveCol(column); }
equals: function (column, value) { var column = this.resolveCol(column); if (!this.data.has(column.name)) { return null; } else { if (!$defined(this.comparator)) { this.comparator = new Jx.Compare({ separator : this.options.separator ...
statusmessages.error = function(msg){alert(msg)};
statusmessages.error = function(msg){alert(msg);};
statusmessages.error = function(msg){alert(msg)};
adminLogout();
error: function(response, ioArgs) { console.error("Error in deleting file"); }
error: function(){ this.fireEvent('error', arguments); }
error: function(){ this.fireEvent('error', arguments); }.bind(this)
error: function(){ this.fireEvent('error', arguments); }
alert("No metrics found " + error); }
alert("No version found: " + version); }
error : function(xhr, status, error) { alert("No metrics found " + error); }
$this.log.error("Unknown KeyType: " + keyType);
$this.log.severe("RedisClient.errorFn: "); $this.log.severe(JSV.serialize(e));
RedisClient.errorFn = function(e) { $this.log.error("Unknown KeyType: " + keyType); };
errorHandler : function(error) { Ext.Msg.alert("Diff. Analysis failed", error); Ext.getBody().unmask(); }.createDelegate(this)
errorHandler : function(message, exception) { Ext.Msg.alert("There was an error", message); Ext.getBody().unmask(); }
errorHandler : function(error) { Ext.Msg.alert("Diff. Analysis failed", error); Ext.getBody().unmask(); }.createDelegate(this)
errorHandler : function() { sp.destroy(); alert("There was an error saving the settings."); Gemma.SecurityManager.updateSecurityLink( elid, securityInfo.publiclyReadable, sared); }
errorHandler : function(data) { alert("There was an error getting your group information: " + data); }
errorHandler : function() { sp.destroy(); alert("There was an error saving the settings."); Gemma.SecurityManager.updateSecurityLink( elid, securityInfo.publiclyReadable, sared); }
Ext.Msg.alert('Sorry', e); loadMask.hide(); }
this.getEl().unmask(); Ext.Msg.alert('There was an error', e); }
errorHandler : function(e) { Ext.Msg.alert('Sorry', e); loadMask.hide(); }
this.fireEvent('done', data);
this.fireEvent('fail', data);
errorHandler : function(data) { this.fireEvent('done', data); }.createDelegate(this),
if (span.length == 0) {
if (span.length === 0) {
errorPlacement: function(error, element) { var span = element.next().find("span.form-error"); if (span.length == 0) { span = element.parent().find("span.form-error"); } span.replaceWith(error); },
span = element.parent().find("span.form-error");
var span = element.parent().find("span.form-error"); if (span.length === 0){ var element_id = element.attr('id'); span = $("label[for='" + element_id + "']"); }
errorPlacement: function(error, element) { var span = element.next().find("span.form-error"); if (span.length === 0) { span = element.parent().find("span.form-error"); } span.replaceWith(error); },
return false;
execute: function(statement) { try { this._conn.executeSimpleSQL(statement); } catch (e) { this.log("Failed to execute query: (" + statement + ") " + this._conn.lastErrorString + "\n"); } },
searchService.search(query).addCallback(searchResponse);
searchService.searchToUser(query,SECURITY_TOKEN).addCallback(searchResponse);
function executeSearch(query) { searchService.search(query).addCallback(searchResponse);}
results[i + 1] = new Object();
function exetel_parseXML(text) { var xml = (new DOMParser()).parseFromString(text, "text/xml"); var results = new Array(); var daysLeft = _getDaysLeft(xml); if(daysLeft == null) { return mkError('invalid XML'); } var planDetails = xml.evaluate('/Response/PlanDetails', xml, null, XPathResult.ANY_TYPE, null); var qResu...
+ '"><img src="/Gemma/images/icons/pencil.png" alt="view/edit experimental design" title="view/edit experimental design"/></a>';
+ '"><img src="/Gemma/images/icons/pencil.png" alt="view/edit experimental design" ext:qtip="view/edit experimental design"/></a>';
var experimentalDesignEditRenderer = function(value, metadata, record, rowIndex, colIndex, store) { var id = record.get('id'); var url = '<a target="_blank" href="/Gemma/experimentalDesign/showExperimentalDesign.html?eeid=' + id + '"><img src="/Gemma/images/icons/pencil.png" alt="view/edit experimental design"...
var url = '<span class="link" onClick="return Ext.getCmp(\'eemanager\').tagger(' + id + ',' + taxonId + ',' + record.get("currentUserHasWritePermission") + ')"><img src="/Gemma/images/icons/pencil.png" alt="view tags" ext:qtip="add/view tags"/></span>';
var url = '<span class="link" onClick="return Ext.getCmp(\'eemanager\').tagger(' + id + ',' + taxonId + ',' + record.get("currentUserHasWritePermission") + ',' + (record.get("validatedAnnotations") !== null) + ')"><img src="/Gemma/images/icons/pencil.png" alt="view tags" ext:qtip="add/view tags"/></span>';
var experimentTaggerRenderer = function(value, metadata, record, rowIndex, colIndex, store) { var id = record.get('id'); var taxonId = record.get('taxonId'); var url = '<span class="link" onClick="return Ext.getCmp(\'eemanager\').tagger(' + id + ',' + taxonId + ',' + record.get("currentUserHasWritePermission") ...
var turl = '<span class="link" onClick="return Ext.getCmp(\'eemanager\').autoTag(' + id + ')"><img src="/Gemma/images/icons/wand.png" alt="run auto-tagger" ext:qtip="add tags automatically"/></span>';
var turl; if (record.get('autoTagDate')) { var icon = "/Gemma/images/icons/wand.png"; turl = '<span class="link" onClick="return Ext.getCmp(\'eemanager\').autoTag(' + id + ')"><img src="' + icon + '" alt="run auto-tagger" ext:qtip="tagger was run on ' + Ext.util.Format.date(record.get('autoTagDate'), 'y/M/d') + '; cli...
var experimentTaggerRenderer = function(value, metadata, record, rowIndex, colIndex, store) { var id = record.get('id'); var taxonId = record.get('taxonId'); var url = '<span class="link" onClick="return Ext.getCmp(\'eemanager\').tagger(' + id + ',' + taxonId + ',' + record.get("currentUserHasWritePermission") ...
+ ')"><img src="/Gemma/images/icons/pencil.png" alt="view tags" title="add tags"/></a>';
+ ',' + taxonId +')"><img src="/Gemma/images/icons/pencil.png" alt="view tags" title="add tags"/></a>';
var experimentTaggerRenderer = function(value, metadata, record, rowIndex, colIndex, store) { var id = record.get('id'); var url = '<a href="#" onClick="return Ext.getCmp(\'eemanager\').tagger(' + id + ')"><img src="/Gemma/images/icons/pencil.png" alt="view tags" title="add tags"/></a>'; value = value + '&nbsp;'...
var url = '<a href="#" onClick="return Ext.getCmp(\'eemanager\').tagger(' + id + ',' + taxonId + ')"><img src="/Gemma/images/icons/pencil.png" alt="view tags" title="add tags"/></a>';
var url = '<a href="#" onClick="return Ext.getCmp(\'eemanager\').tagger(' + id + ',' + taxonId + ',' + record.get("currentUserHasWritePermission") + ')"><img src="/Gemma/images/icons/pencil.png" alt="view tags" ext:qtip="add/view tags"/></a>';
var experimentTaggerRenderer = function(value, metadata, record, rowIndex, colIndex, store) { var id = record.get('id'); var taxonId = record.get('taxonId'); var url = '<a href="#" onClick="return Ext.getCmp(\'eemanager\').tagger(' + id + ',' + taxonId + ')"><img src="/Gemma/images/icons/pencil.png" alt="view ta...
var isAdmin = Ext.get("hasAdmin").getValue() == 'true'; if (isAdmin) {
if (record.get("currentUserHasWritePermission")) {
var experimentTaggerRenderer = function(value, metadata, record, rowIndex, colIndex, store) { var id = record.get('id'); var taxonId = record.get('taxonId'); var url = '<a href="#" onClick="return Ext.getCmp(\'eemanager\').tagger(' + id + ',' + taxonId + ')"><img src="/Gemma/images/icons/pencil.png" alt="view ta...
+ ')"><img src="/Gemma/images/icons/database_edit.png" alt="run auto-tagger" title="add tags automatically"/></a>';
+ ')"><img src="/Gemma/images/icons/database_edit.png" alt="run auto-tagger" ext:qtip="add tags automatically"/></a>';
var experimentTaggerRenderer = function(value, metadata, record, rowIndex, colIndex, store) { var id = record.get('id'); var taxonId = record.get('taxonId'); var url = '<a href="#" onClick="return Ext.getCmp(\'eemanager\').tagger(' + id + ',' + taxonId + ')"><img src="/Gemma/images/icons/pencil.png" alt="view ta...
if (onSuccessFn) onSuccessFn(r.getResult().Result);
if (onSuccessFn) onSuccessFn(r.Result);
expireEntryAt: function(key, expireAt, onSuccessFn, onErrorFn) { this.gateway.getFromService('ExpireEntryAt', { Key: key || null, ExpireAt: expireAt || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Result); }, onErrorFn || RedisClient.errorFn); },
if (onSuccessFn) onSuccessFn(r.getResult().Result);
if (onSuccessFn) onSuccessFn(r.Result);
expireEntryIn: function(key, expireIn, onSuccessFn, onErrorFn) { this.gateway.getFromService('ExpireEntryIn', { Key: key || null, ExpireIn: expireIn || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Result); }, onErrorFn || RedisClient.errorFn); },
var previous = this.base || Base.prototype.base;
var previous = this.base || name_edwards_dean_Base.prototype.base;
extend: function(source, value) { if (arguments.length > 1) { // extending with a name/value pair var ancestor = this[source]; if (ancestor && (typeof value == "function") && // overriding a method? // the valueOf() comparison is to avoid circular references (!ancestor.valueOf || ancestor.valueOf() != value...
value.toString = Base.toString;
value.toString = name_edwards_dean_Base.toString;
extend: function(source, value) { if (arguments.length > 1) { // extending with a name/value pair var ancestor = this[source]; if (ancestor && (typeof value == "function") && // overriding a method? // the valueOf() comparison is to avoid circular references (!ancestor.valueOf || ancestor.valueOf() != value...
var extend = Base.prototype.extend;
var extend = name_edwards_dean_Base.prototype.extend;
extend: function(source, value) { if (arguments.length > 1) { // extending with a name/value pair var ancestor = this[source]; if (ancestor && (typeof value == "function") && // overriding a method? // the valueOf() comparison is to avoid circular references (!ancestor.valueOf || ancestor.valueOf() != value...
if (!Base._prototyping && typeof this != "function") {
if (!name_edwards_dean_Base._prototyping && typeof this != "function") {
extend: function(source, value) { if (arguments.length > 1) { // extending with a name/value pair var ancestor = this[source]; if (ancestor && (typeof value == "function") && // overriding a method? // the valueOf() comparison is to avoid circular references (!ancestor.valueOf || ancestor.valueOf() != value...
var i = Base._prototyping ? 0 : 1;
var i = name_edwards_dean_Base._prototyping ? 0 : 1;
extend: function(source, value) { if (arguments.length > 1) { // extending with a name/value pair var ancestor = this[source]; if (ancestor && (typeof value == "function") && // overriding a method? // the valueOf() comparison is to avoid circular references (!ancestor.valueOf || ancestor.valueOf() != value...
if (factor.type = 'Continuous') { this.getStore().on('load', function(store, records) { var i = this.findExact('description', factor.description); this.getAt(i).set('type', 'Continuous'); this.commitChanges(); }, this.getStore(), { single : true }); }
factorCreated : function(factor) { /* * 'continuous' is a client-side value only. If they reload without adding a factor, this value is lost, * but it's a rare case. See bug 1796. */ if (factor.type = 'Continuous') { this.getStore().on('load', function(store, records) { var i = this.find...
this.fireEvent('experimentalfactorchange', this, efs);
this.fireEvent('experimentalfactorselected', this, efs);
factorCreated : function(factor) { this.refresh(); var efs = [factor]; this.fireEvent('experimentalfactorchange', this, efs); },
failure: function(form, action) { var username = form.items.get(0); var password = form.items.get(1); username.markInvalid(); password.markInvalid(); username.focus(true); },
failure: function() { newSourceWindow.setError("Error contacting server.\nPlease check the url and try again."); },
failure: function(form, action) { var username = form.items.get(0); var password = form.items.get(1); username.markInvalid(); password.markInvalid()...