rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
return null;
hasPrevious : function () { if ($defined(this.data)) { if (this.index > 0) { return true; } else { return false; } } else { return null; } },
return "Sort the selected text.";
return "Sort the selected text or whole document.";
function help(cmd){ if (cmd == "sort") { return "Sort the selected text."; } else if (cmd == "uniq") { return "Remove duplicate lines from the selected text."; } else if (cmd == "natsort") { return "Sort the selected text in natural order.<br>" +"Here's an example to show the ...
return "Remove duplicate lines from the selected text.";
return "Remove duplicate lines from the selected text or whole document.";
function help(cmd){ if (cmd == "sort") { return "Sort the selected text."; } else if (cmd == "uniq") { return "Remove duplicate lines from the selected text."; } else if (cmd == "natsort") { return "Sort the selected text in natural order.<br>" +"Here's an example to show the ...
return "Sort the selected text in natural order.<br>"
return "Sort the selected text or whole document in natural order.<br>"
function help(cmd){ if (cmd == "sort") { return "Sort the selected text."; } else if (cmd == "uniq") { return "Remove duplicate lines from the selected text."; } else if (cmd == "natsort") { return "Sort the selected text in natural order.<br>" +"Here's an example to show the ...
return "Trims trailing whitespace from selection.";
return "Trims trailing whitespace from selection or whole document.";
function help(cmd){ if (cmd == "sort") { return "Sort the selected text."; } else if (cmd == "uniq") { return "Remove duplicate lines from the selected text."; } else if (cmd == "natsort") { return "Sort the selected text in natural order.<br>" +"Here's an example to show the ...
return "Trims leading whitespace from selection.";
return "Trims leading whitespace from selection or whole document.";
function help(cmd){ if (cmd == "sort") { return "Sort the selected text."; } else if (cmd == "uniq") { return "Remove duplicate lines from the selected text."; } else if (cmd == "natsort") { return "Sort the selected text in natural order.<br>" +"Here's an example to show the ...
return "Trims leading and trailing whitespace from selection.";
return "Trims leading and trailing whitespace from selection or whole document.";
function help(cmd){ if (cmd == "sort") { return "Sort the selected text."; } else if (cmd == "uniq") { return "Remove duplicate lines from the selected text."; } else if (cmd == "natsort") { return "Sort the selected text in natural order.<br>" +"Here's an example to show the ...
return i18n("Joins selected lines or whole document. Optionally pass a separator to put between each line:<br>"
return i18n("Joins selected lines or whole document. Optionally pass a separator to put between each line:<br>" +
function help(cmd){ if (cmd == "sort") { return i18n("Sort the selected text or whole document."); } else if (cmd == "moveLinesDown") { return i18n("Move selected lines down."); } else if (cmd == "moveLinesUp") { return i18n("Move selected lines up."); } else if (cmd == "uniq") { ...
return i18n("Sort the selected text or whole document in natural order.<br>" +"Here is an example to show the difference to the normal sort method:<br>" +"sort(a10, a1, a2) => a1, a10, a2<br>" +"natsort(a10, a1, a2) => a1, a2, a10");
return i18n("Sort the selected text or whole document in natural order.<br>Here is an example to show the difference to the normal sort method:<br>sort(a10, a1, a2) => a1, a10, a2<br>natsort(a10, a1, a2) => a1, a2, a10");
function help(cmd){ if (cmd == "sort") { return i18n("Sort the selected text or whole document."); } else if (cmd == "moveLinesDown") { return i18n("Move selected lines down."); } else if (cmd == "moveLinesUp") { return i18n("Move selected lines up."); } else if (cmd == "uniq") { ...
return i18n("Joins selected lines or whole document. Optionally pass a separator to put between each line:<br>" + "<code>join ', '</code> will e.g. join lines and separate them by a comma.");
return i18n("Joins selected lines or whole document. Optionally pass a separator to put between each line:<br><code>join ', '</code> will e.g. join lines and separate them by a comma.");
function help(cmd){ if (cmd == "sort") { return i18n("Sort the selected text or whole document."); } else if (cmd == "moveLinesDown") { return i18n("Move selected lines down."); } else if (cmd == "moveLinesUp") { return i18n("Move selected lines up."); } else if (cmd == "uniq") { ...
return i18n("Given a JavaScript function as argument, call that for the list of (selected) lines and" + "replace them with the return value of that callback.<br>" + "Example (join selected lines):<br>" + "<code>each 'function(lines){return lines.join(\", \"}'</code><br>" + "To save you some typing, you can also do this...
return i18n("Given a JavaScript function as argument, call that for the list of (selected) lines and replace them with the return value of that callback.<br>Example (join selected lines):<br><code>each 'function(lines){return lines.join(\", \"}'</code><br>To save you some typing, you can also do this to achieve the sam...
function help(cmd){ if (cmd == "sort") { return i18n("Sort the selected text or whole document."); } else if (cmd == "moveLinesDown") { return i18n("Move selected lines down."); } else if (cmd == "moveLinesUp") { return i18n("Move selected lines up."); } else if (cmd == "uniq") { ...
return i18n("Given a JavaScript function as argument, call that for the list of (selected) lines " + "and remove those where the callback returns false.<br>" + "Example (see also <code>rmblank</code>):<br>" + "<code>filter 'function(l){return l.length > 0;}'</code><br>" + "To save you some typing, you can also do this ...
return i18n("Given a JavaScript function as argument, call that for the list of (selected) lines and remove those where the callback returns false.<br>Example (see also <code>rmblank</code>):<br><code>filter 'function(l){return l.length > 0;}'</code><br>To save you some typing, you can also do this to achieve the same:...
function help(cmd){ if (cmd == "sort") { return i18n("Sort the selected text or whole document."); } else if (cmd == "moveLinesDown") { return i18n("Move selected lines down."); } else if (cmd == "moveLinesUp") { return i18n("Move selected lines up."); } else if (cmd == "uniq") { ...
return i18n("Given a JavaScript function as argument, call that for the list of (selected) lines " + "and replace the line with the return value of the callback.<br>" + "Example (see also <code>ltrim</code>):<br>" + "<code>map 'function(line){return line.replace(/^\s+/, \"\");}'</code><br>" + "To save you some typing, ...
return i18n("Given a JavaScript function as argument, call that for the list of (selected) lines and replace the line with the return value of the callback.<br>Example (see also <code>ltrim</code>):<br><code>map 'function(line){return line.replace(/^\s+/, \"\");}'</code><br>To save you some typing, you can also do this...
function help(cmd){ if (cmd == "sort") { return i18n("Sort the selected text or whole document."); } else if (cmd == "moveLinesDown") { return i18n("Move selected lines down."); } else if (cmd == "moveLinesUp") { return i18n("Move selected lines up."); } else if (cmd == "uniq") { ...
return "Sort the selected text.";
return "Sort the selected text or whole document.";
function help(cmd){ if (cmd == "sort") { return "Sort the selected text."; } else if (cmd == "uniq") { return "Remove duplicate lines from the selected text."; } else if (cmd == "natsort") { return "Sort the selected text in natural order.<br>" +"Here's an example to show the ...
return "Remove duplicate lines from the selected text.";
return "Remove duplicate lines from the selected text or whole document.";
function help(cmd){ if (cmd == "sort") { return "Sort the selected text."; } else if (cmd == "uniq") { return "Remove duplicate lines from the selected text."; } else if (cmd == "natsort") { return "Sort the selected text in natural order.<br>" +"Here's an example to show the ...
return "Sort the selected text in natural order.<br>"
return "Sort the selected text or whole document in natural order.<br>"
function help(cmd){ if (cmd == "sort") { return "Sort the selected text."; } else if (cmd == "uniq") { return "Remove duplicate lines from the selected text."; } else if (cmd == "natsort") { return "Sort the selected text in natural order.<br>" +"Here's an example to show the ...
} else if (cmd == "rtrim") { return "Trims trailing whitespace from selection or whole document."; } else if (cmd == "ltrim") { return "Trims leading whitespace from selection or whole document."; } else if (cmd == "trim") { return "Trims leading and trailing whitespace from selection or whole document.";
function help(cmd){ if (cmd == "sort") { return "Sort the selected text."; } else if (cmd == "uniq") { return "Remove duplicate lines from the selected text."; } else if (cmd == "natsort") { return "Sort the selected text in natural order.<br>" +"Here's an example to show the ...
"<code>filter 'l.length > 0'</code>");
"<code>filter 'line.length > 0'</code>");
function help(cmd){ if (cmd == "sort") { return i18n("Sort the selected text or whole document."); } else if (cmd == "moveLinesDown") { return i18n("Move selected lines down."); } else if (cmd == "moveLinesUp") { return i18n("Move selected lines up."); } else if (cmd == "uniq") { ...
var anchorText = len == 0 ? $.i18n._('add a comment') : $.i18n._('comments') + ' (<b>' + len + "</b>)";
var anchorText = len === 0 ? $.i18n._('add a comment') : $.i18n._('comments') + ' (<b>' + len + "</b>)";
hide: function(id) { var jDiv = jDivInit(id); var len = jDiv.children("div.comments").children().length; var anchorText = len == 0 ? $.i18n._('add a comment') : $.i18n._('comments') + ' (<b>' + len + "</b>)"; jDiv.hide(); jDiv.siblings("a").unbind("click")....
if (this.hideTimer) { window.clearTimeout(this.hideTimer); }
hide: function(e) { if (e) { if (this.visibleItem && this.visibleItem.eventInMenu) { if (this.visibleItem.eventInMenu(e)) { return; } } else if (this.eventInMenu(e)) { return; } } if (Jx.Menu.Menus[...
document.removeEvent('mousedown', this.hide); document.removeEvent('keydown', this.keypressHandler);
document.removeEvent('mousedown', this.bound.hide); document.removeEvent('keydown', this.bound.keypress);
hide: function(e) { if (e) { if (this.visibleItem && this.visibleItem.eventInMenu) { if (this.visibleItem.eventInMenu(e)) { return; } } else if (this.eventInMenu(e)) { return; } } if (Jx.Menu.Menus[...
hide: function() {this.blur();},
hide: function() {this.blur.delay(1,this);},
hide: function() {this.blur();},
document.removeEvent('keydown', this.keypressWatcher); document.removeEvent('click', this.hideWatcher);
this.unstack(this.contentContainer); document.removeEvent('keydown', this.keypressHandler); document.removeEvent('click', this.clickHandler);
hide: function() { if (this.owner != document.body) { this.owner.currentFlyout = null; } Jx.Button.Flyout.Stack.pop(); this.setActive(false); this.contentContainer.dispose(); document.removeEvent('keydown', this.keypressWatcher); document.r...
}
},
hide: function() { this.button.setActive(false); Jx.Field.Color.ColorPalette.removeEvent('change', this.changed); Jx.Field.Color.ColorPalette.removeEvent('click', this.hide); this.button.hide(); Jx.Field.Color.ColorPalette.currentButton = null; }
this.unstack(this.contentContainer);
hide: function(e) { if (e) { if (this.visibleItem && this.visibleItem.eventInMenu) { if (this.visibleItem.eventInMenu(e)) { return; } } else if (this.eventInMenu(e)) { return; } } if (Jx.Menu.Menus[...
Jx.Dialog.Stack.erase(this); Jx.Dialog.ZIndex--;
hide : function() { Jx.Dialog.Stack.erase(this); Jx.Dialog.ZIndex--; this.domObj.setStyle('display','none'); if (this.options.modal && this.options.parent.unmask) { this.options.parent.unmask(); } },
this.unstack();
hide : function() { Jx.Dialog.Stack.erase(this); Jx.Dialog.ZIndex--; this.domObj.setStyle('display','none'); if (this.options.modal && this.options.parent.unmask) { this.options.parent.unmask(); } },
}})
}});
hide : function() { if (!this.visible) return; var self = this; n2i.ani(this.element,'opacity',0,200,{onComplete:function() { self.element.setStyle({'display':'none'}); }}) this.removeHider(); for (var i=0; i < this.subMenus.length; i++) { this.subMenus[i].hide(); }; this.visible = false; },
items.each( function(e) { e.className = "item hidden"; });
for (var i = 0; i < items.length; i++) items[i].className = "item hidden";
function hide_all(){ items = document.getElementsByClassName("item", "items"); items.each( function(e) { e.className = "item hidden"; });}
this.log("hide list");
hideList: function() { this.log("hide list"); if(!this.listVisible()) return; this.listWrapper.addClass(this.css.hidden); this.listItems.removeClass(this.css.hidden); },
runHook("hideObject", FBEFORE);
runHook("hideObject", FBEFORE, obj);
function hideObject(obj) { runHook("hideObject", FBEFORE); var theObj=(olNs4 ? obj : obj.style); if (olNs6 && olShowId>0) { clearTimeout(olShowId); olShowId=0; } theObj.visibility = 'hidden'; theObj.top = theObj.left = ((olIe4&&!olOp) ? 0 : -10000) + (!olNs4 ? 'px' : 0); if (o3_timerid > 0) clearTimeout(o3_timerid); if...
runHook("hideObject", FAFTER);
runHook("hideObject", FAFTER, obj);
function hideObject(obj) { runHook("hideObject", FBEFORE); var theObj=(olNs4 ? obj : obj.style); if (olNs6 && olShowId>0) { clearTimeout(olShowId); olShowId=0; } theObj.visibility = 'hidden'; theObj.top = theObj.left = ((olIe4&&!olOp) ? 0 : -10000) + (!olNs4 ? 'px' : 0); if (o3_timerid > 0) clearTimeout(o3_timerid); if...
if ((o3_x - winoffset) > (iwidth / 2)) {
if ((o3_x - winoffset) > (iwidth / 2) && o3_hpos == RIGHT && ((o3_x - winoffset) - (parsedWidth + o3_offsetx - iwidth > (iwidth - widthFix)))) {
function horizontalPlacement(browserWidth, horizontalScrollAmount, widthFix) { var placeX, iwidth=browserWidth, winoffset=horizontalScrollAmount; var parsedWidth = parseInt(o3_width); if (o3_fixx > -1 || o3_relx != null) { // Fixed position placeX=(o3_relx != null ? ( o3_relx < 0 ? winoffset +o3_relx+ iwidth - parsed...
} else {
} else if (o3_hpos == LEFT && ((o3_x - o3_offsetx - parsedWidth) < winoffset)) {
function horizontalPlacement(browserWidth, horizontalScrollAmount, widthFix) { var placeX, iwidth=browserWidth, winoffset=horizontalScrollAmount; var parsedWidth = parseInt(o3_width); if (o3_fixx > -1 || o3_relx != null) { // Fixed position placeX=(o3_relx != null ? ( o3_relx < 0 ? winoffset +o3_relx+ iwidth - parsed...
n=g=null})();(function(){var g=t.createElement("div");g.appendChild(t.createComment(""));if(g.getElementsByTagName("*").length>0)o.find.TAG=function(i,n){var m=n.getElementsByTagName(i[1]);if(i[1]==="*"){for(var p=[],q=0;m[q];q++)m[q].nodeType===1&&p.push(m[q]);m=p}return m};g.innerHTML="<a href='#'></a>";if(g.firstChi...
POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(g){return g.getAttribute("href")}},relative:{"+":function(g,i){var n=typeof i==="s...
n=g=null})();(function(){var g=t.createElement("div");g.appendChild(t.createComment(""));if(g.getElementsByTagName("*").length>0)o.find.TAG=function(i,n){var m=n.getElementsByTagName(i[1]);if(i[1]==="*"){for(var p=[],q=0;m[q];q++)m[q].nodeType===1&&p.push(m[q]);m=p}return m};g.innerHTML="<a href='#'></a>";if(g.firstChi...
i="script"+(new Date).getTime(),n=t.documentElement;g.innerHTML="<a name='"+i+"'/>";n.insertBefore(g,n.firstChild);if(t.getElementById(i)){o.find.ID=function(m,p,q){if(typeof p.getElementById!=="undefined"&&!q)return(p=p.getElementById(m[1]))?p.id===m[1]||typeof p.getAttributeNode!=="undefined"&&p.getAttributeNode("id"...
"")+" ";if(q)return g;q=0;for(var u;(u=i[q])!=null;q++)if(u)if(p^(u.className&&(" "+u.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))n||m.push(u);else if(n)i[q]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var i=/(-...
i="script"+(new Date).getTime(),n=t.documentElement;g.innerHTML="<a name='"+i+"'/>";n.insertBefore(g,n.firstChild);if(t.getElementById(i)){o.find.ID=function(m,p,q){if(typeof p.getElementById!=="undefined"&&!q)return(p=p.getElementById(m[1]))?p.id===m[1]||typeof p.getAttributeNode!=="undefined"&&p.getAttributeNode("id"...
return '<img src="'+ imce.getURL(fid) +'" width="'+ width +'" height="'+ height +'" alt="'+ imce.decode(fid) +'">';
return '<img src="'+ imce.getURL(fid) +'" width="'+ width +'" height="'+ height +'" alt="'+ imce.decodePlain(fid) +'">';
imgHtml: function (fid, width, height) { return '<img src="'+ imce.getURL(fid) +'" width="'+ width +'" height="'+ height +'" alt="'+ imce.decode(fid) +'">';},
if (onSuccessFn) onSuccessFn(r.getResult().Score);
if (onSuccessFn) onSuccessFn(r.Score);
incrementItemInSortedSet: function(id, item, incrementBy, onSuccessFn, onErrorFn) { this.gateway.getFromService('IncrementItemInSortedSet', { Id: id || null, Item: item || null, IncrementBy: incrementBy || '0' }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Score); }, onErrorFn || RedisClient.e...
if (onSuccessFn) onSuccessFn(r.getResult().Value);
if (onSuccessFn) onSuccessFn(r.Value);
incrementValue: function(key, incrementBy, onSuccessFn, onErrorFn) { this.gateway.getFromService('IncrementValue', { Key: key || null, IncrementBy: incrementBy || '0' }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Value); }, onErrorFn || RedisClient.errorFn); },
if (onSuccessFn) onSuccessFn(r.getResult().Value);
if (onSuccessFn) onSuccessFn(r.Value);
incrementValueInHash: function(id, key, incrementBy, onSuccessFn, onErrorFn) { this.gateway.getFromService('IncrementValueInHash', { Id: id || null, Key: key || null, IncrementBy: incrementBy || '0' }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Value); }, onErrorFn || RedisClient.errorFn); },
};
}
function indent(node, value) { var cell = $(node.children("td")[options.treeColumn]); cell[0].style.paddingLeft = getPaddingLeft(cell) + value + "px"; childrenOf(node).each(function() { indent($(this), value); }); };
var prevLine = line - 1;
var prevLine = line;
function indent(line, indentWidth, char){ var prevLine = line - 1; var prevLineString = " "; while (prevLine > 0 && prevLineString.match(/^\s+$/)) { prevLine--; prevLineString = document.line(prevLine); } var prevIndent = document.firstVirtualColumn(prevLine); var lineString = document.l...
while (prevLine > 0 && prevLineString.match(/^\s+$/)) {
while (prevLine >= 0 && prevLineString.match(/^\s+$/)) {
function indent(line, indentWidth, char){ var prevLine = line - 1; var prevLineString = " "; while (prevLine > 0 && prevLineString.match(/^\s+$/)) { prevLine--; prevLineString = document.line(prevLine); } var prevIndent = document.firstVirtualColumn(prevLine); var lineString = document.l...
dbg(line); dbg(lineString); dbg(prevLineString); dbg(prevIndent); dbg(char);
function indent(line, indentWidth, char){ var prevLine = line - 1; var prevLineString = " "; while (prevLine > 0 && prevLineString.match(/^\s+$/)) { prevLine--; prevLineString = document.line(prevLine); } var prevIndent = document.firstVirtualColumn(prevLine); var lineString = document.l...
filler = tryMatchedAnchor(line);
filler = tryMatchedAnchor(line, alignOnly);
function indentLine(line, alignOnly){ var firstChar = document.firstChar(line); var lastChar = document.lastChar(line); var filler = -1; if (filler == -1) filler = tryMatchedAnchor(line); if (filler == -1) filler = tryCComment(line); if (filler == -1 && !alignOnly) filler = tryCpp...
indexBioSequence : bsCheckBox.getValue()
indexBioSequence : bsCheckBox.getValue(), indexExperimentSet : eeSetCheckBox.getValue(), indexGeneSet : geneSetCheckBox.getValue()
function index(event) { var dh = Ext.DomHelper; var callParams = []; var commandObj = { indexAD : adCheckBox.getValue(), indexEE : eeCheckBox.getValue(), indexProbe : probeCheckBox.getValue(), indexBibRef : bibRefCheckBox.getValue(), indexGene : geneCheckBox.getValue(), indexBioSequence : bsCheckBox.getValue() };...
if (params.query) {
if ((params.termUri) && (params.termUri.length != 0)){ this.form.getForm().findField('query').setValue(params.termUri); } else if (params.query) {
init : function() { this.form = new Gemma.SearchForm({ renderTo : 'general-search-form' }); this.resultGrid = new Gemma.SearchGrid({ renderTo : 'search-results-grid', form : this.form }); this.form.on("search", this.search.createDelegate(this)); /* * Search from url if we have to. */ var ...
$("#interestingTagAdd").click(function(){handlePickedTag(this,'good')}); $("#ignoredTagAdd").click(function(){handlePickedTag(this,'bad')});
$("#interestingTagAdd").click(function(){handlePickedTag(this,'good');}); $("#ignoredTagAdd").click(function(){handlePickedTag(this,'bad');});
init: function(){ collectPickedTags(); setupHideIgnoredQuestionsControl(); $("#interestingTagInput, #ignoredTagInput").autocomplete(tags, { minChars: 1, matchContains: true, max: 20, multiple: true, multi...
this.bound.saveRecord = this.saveRecord.bind(this); this.bound.onComplete = this.onComplete.bind(this);
this.bound.save = this.saveRecord.bind(this); this.bound.completed = this.onComplete.bind(this);
init: function () { this.bound.saveRecord = this.saveRecord.bind(this); this.bound.onComplete = this.onComplete.bind(this); this.parent(); },
var c = this.columns[this.columns.length - 1 ]; if (c.options.renderMode === 'expand') { this.hasExpandable = true; }
init : function () { this.parent(); if ($defined(this.options.grid) && this.options.grid instanceof Jx.Grid) { this.grid = this.options.grid; } this.options.columns.each(function (col) { //check the column to see if it's a Jx.Grid.Column or an object if (...
this.parent();
init: function () { this.selection = []; },
if (col instanceof Jx.Column) { this.columns.push(col); } else if (Jx.type(col) === "object") { col.grid = this.grid; this.columns.push(new Jx.Column(col)); }
if (col instanceof Jx.Column) { this.columns.push(col); } else if (Jx.type(col) === "object") { this.columns.push(new Jx.Column(col,this.grid)); }
init : function () { this.parent(); if ($defined(this.options.grid) && this.options.grid instanceof Jx.Grid) { this.grid = this.options.grid; } this.options.columns.each(function (col) { //check the column to see if it's a Jx.Grid.Column or an object ...
if ($defined(this.options.formatter) && !(this.options.formatter instanceof Jx.Formatter)) { var t = Jx.type(this.options.formatter);
if ($defined(this.options.renderer) && !(this.options.renderer instanceof Jx.Grid.Renderer)) { var t = Jx.type(this.options.renderer);
init : function () { this.parent(); if ($defined(this.options.grid) && this.options.grid instanceof Jx.Grid) { this.grid = this.options.grid; } this.name = this.options.name; //we need to check the formatter if ($defined(this.options.formatter) && ...
this.options.formatter = new Jx.Formatter[this.options.formatter.name]( this.options.formatter.options);
this.options.renderer = new Jx.Grid.Renderer[this.options.renderer.name]( this.options.renderer.options);
init : function () { this.parent(); if ($defined(this.options.grid) && this.options.grid instanceof Jx.Grid) { this.grid = this.options.grid; } this.name = this.options.name; //we need to check the formatter if ($defined(this.options.formatter) && ...
this.options.renderer.setColumn(this);
init : function () { this.parent(); if ($defined(this.options.grid) && this.options.grid instanceof Jx.Grid) { this.grid = this.options.grid; } this.name = this.options.name; //we need to check the formatter if ($defined(this.options.formatter) && ...
if (this.options.useTemplate) {
if (this.options.useTemplate && $defined(this.store.getColumns())) {
init: function () { this.parent(); this.store = this.options.store; if (this.options.useTemplate) { this.columnsNeeded = this.store.parseTemplate(this.options.template); } },
if( $.pageless.settings.progress_id ){ element = $( "#"+$.escape($.pageless.settings.progress_id) ); offset = $.pageless.settings.progress_top ? (element.offset()['top']-(+$.pageless.settings.progress_top)) : element.offset()['top']; $(window).scrollTop( offset ); $.pageless.setProgress( element ); } else if ($.pagele...
$.pageless.init = function(settings) { if ($.pageless.settings.inited) return; $.pageless.settings.inited = true; if (settings) $.extend($.pageless.settings, settings); // for accessibility we can keep pagination links // but since we have javascript enabled we remove pagination links if($.pageless....
$(this).attr('src',scriptUrl + 'media/images/close-small-hover.png');
$(this).attr('src',mediaUrl('media/images/close-small-hover.png'));
init: function() { // Setup "show comments" clicks.. $("a[id^='comments-link-" + objectType + "-" + "']").unbind("click").click(function() { commentsFactory[objectType].show($(this).attr("id").substr(("comments-link-" + objectType + "-").length)); }); ...
$(this).attr('src',scriptUrl + 'media/images/close-small.png');
$(this).attr('src',mediaUrl('media/images/close-small.png'));
init: function() { // Setup "show comments" clicks.. $("a[id^='comments-link-" + objectType + "-" + "']").unbind("click").click(function() { commentsFactory[objectType].show($(this).attr("id").substr(("comments-link-" + objectType + "-").length)); }); ...
if(!$defined(this.options.renderer.options.textTemplate)) { this.options.renderer.options.textTemplate = '{' + this.name + '}'; } if(!$defined(this.options.renderer.name)) { this.options.renderer.name = 'Text'; }
init : function () { this.name = this.options.name; //adjust header for column if (!$defined(this.options.template)) { this.options.template = '<span class="jxGridCellContent">' + this.name.capitalize() + '</span>'; } this.parent(); if ($defined(this.options.grid...
firstInitDone = true;
this.firstInitDone = true;
init : function() { if (this.grid) { try { this.grid.destroy(); } catch (e) { } } firstInitDone = true; ExperimentalDesignController.getBioMaterials(this.expressionExperiment, this.firstCallback .createDelegate(this)); }
this.parent();
init: function () { this.parent(); this.bound.saveRecord = this.saveRecord.bind(this); this.bound.onComplete = this.onComplete.bind(this); },
this.parent();
init: function () { this.parent(); this.bound.saveRecord = this.saveRecord.bind(this); this.bound.onComplete = this.onComplete.bind(this); },
this.columnsNeeded = this.parseTemplate();
this.columnsNeeded = this.store.parseTemplate(this.options.template);
init: function () { this.parent(); this.store = this.options.store; if (this.options.useTemplate) { this.columnsNeeded = this.parseTemplate(); } },
* FIXME: why isn't this using restoreState method?
init : function() { this.form = new Gemma.SearchForm({ renderTo : 'general-search-form' }); this.resultGrid = new Gemma.SearchGrid({ renderTo : 'search-results-grid', form : this.form }); this.form.on("search", this.search.createDelegate(this)); /* * Search from url if we have to. * FIXME: ...
var url = document.URL; if (url.indexOf("?") > -1) { var sq = url.substr(url.indexOf("?") + 1); var params = Ext.urlDecode(sq); if ((params.termUri) && (params.termUri.length != 0)){ this.form.getForm().findField('query').setValue(params.termUri); } else if (params.query) { this.form.getForm().findField('query').setVa...
if (this.form.restoreState()){ this.search();
init : function() { this.form = new Gemma.SearchForm({ renderTo : 'general-search-form' }); this.resultGrid = new Gemma.SearchGrid({ renderTo : 'search-results-grid', form : this.form }); this.form.on("search", this.search.createDelegate(this)); /* * Search from url if we have to. * FIXME: ...
this.loadMask = new Ext.LoadMask(Ext.getBody(), { msg : "Please wait..." }); this.loadMask.show();
this.loadMask = new Ext.LoadMask(loadMaskTarget, { msg : "Please wait..." });
init : function() { this.loadMask = new Ext.LoadMask(Ext.getBody(), { msg : "Please wait..." }); this.loadMask.show(); if (this.grid) { try { this.grid.destroy(); } catch (e) { } } this.firstInitDone = true; ExperimentalDesignController.getBioMaterials(this.expressionExperiment, this...
if (this.grid) { try { this.grid.destroy(); } catch (e) { }
this.loadMask.show(); ExperimentalDesignController.getBioMaterials(this.expressionExperiment, this.firstCallback .createDelegate(this));
init : function() { this.loadMask = new Ext.LoadMask(Ext.getBody(), { msg : "Please wait..." }); this.loadMask.show(); if (this.grid) { try { this.grid.destroy(); } catch (e) { } } this.firstInitDone = true; ExperimentalDesignController.getBioMaterials(this.expressionExperiment, this...
this.firstInitDone = true; ExperimentalDesignController.getBioMaterials(this.expressionExperiment, this.firstCallback .createDelegate(this)); }
init : function() { this.loadMask = new Ext.LoadMask(Ext.getBody(), { msg : "Please wait..." }); this.loadMask.show(); if (this.grid) { try { this.grid.destroy(); } catch (e) { } } this.firstInitDone = true; ExperimentalDesignController.getBioMaterials(this.expressionExperiment, this...
this.bound.select = this.select.bind(this);
init: function() { this.parent(); this.bound.select = this.select.bind(this); },
updateSharingGroupCheckboxes(getActiveGroup());
var groupId = getActiveGroup(); if(groupId){ updateSharingGroupCheckboxes(); }
function initCollectionTree() { var dynaTree = $('#collection-tree-tree'); var treeDiv = $('#collection-tree-main').css('display', 'none'); dynaTree.dynatree({ persist: true, rootVisible: false, initAjax: {url: "collections.xql" }, onActivate: function (dtnode) { var titl...
updateSharingGroupCheckboxes();
updateSharingGroupCheckboxes(groupId);
function initCollectionTree() { var dynaTree = $('#collection-tree-tree'); var treeDiv = $('#collection-tree-main').css('display', 'none'); dynaTree.dynatree({ persist: true, rootVisible: false, initAjax: {url: "collections.xql" }, onActivate: function (dtnode) { var titl...
field : "name", dir : "ASC"
field : "size", dir : "DESC"
initComponent : function() { var template = new Ext.XTemplate('<tpl for="."><div style="font-size:11px" class="x-combo-list-item" ext:qtip="{name} ({size})"> {name} - {description} ({size})</div></tpl>'); Ext.apply(this, { tpl : template, store : new Gemma.GeneGroupStore({ proxy : new Ext.data.DWRProx...
if (this.prepopulate) { this.on('focus', function() { GeneSetController.getUsersGeneGroups(false, function(records) { this.store.loadData(records); }.createDelegate(this)); }.createDelegate(this), this, { scope : this, single : true }); }
initComponent : function() { var template = new Ext.XTemplate('<tpl for="."><div style="font-size:11px" class="x-combo-list-item" ext:qtip="{name} ({size})"> {name} - {description} ({size})</div></tpl>'); Ext.apply(this, { tpl : template, store : new Gemma.GeneGroupStore({ proxy : new Ext.data.DWRProx...
this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' });
Gemma.GeneGroupGrid.superclass.initComponent.call(this);
initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonComb...
this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "", stateful : false, stateEvents : [] }); Ext.apply(this, { layout : 'border', height : 400, title : "Gene Group Manager", tbar : { items : [{ toolt...
this.getStore().load({ params : [this.geneid] }); }
initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonComb...
var geneGroupCombo = new Gemma.GeneGroupCombo({ id : "visGeneGroupCombo", reader : new Ext.data.ListRangeReader({ id : "id" }, this.record),
this.geneGroupCombo = new Gemma.GeneGroupCombo({ id : "visGeneGroupCombo",
initComponent : function() { // has to be done after constructor is done creating the handler... var geneGroupCombo = new Gemma.GeneGroupCombo({ id : "visGeneGroupCombo", reader : new Ext.data.ListRangeReader({ id : "id" }, this.record), listeners : { 'select' : { fn : function...
fn : function(e, selectedGeneGroup) {
fn : function(combo, record, index) {
initComponent : function() { // has to be done after constructor is done creating the handler... var geneGroupCombo = new Gemma.GeneGroupCombo({ id : "visGeneGroupCombo", reader : new Ext.data.ListRangeReader({ id : "id" }, this.record), listeners : { 'select' : { fn : function...
if (!selectedGeneGroup.data){ return; } var loadMask = new Ext.LoadMask(Ext.getCmp("eedvwId").getEl(), { msg : "Loading Genes..."
var loadMask = new Ext.LoadMask(this.getEl(), { msg : "Loading Genes for " + record.get('name') + " ..."
initComponent : function() { // has to be done after constructor is done creating the handler... var geneGroupCombo = new Gemma.GeneGroupCombo({ id : "visGeneGroupCombo", reader : new Ext.data.ListRangeReader({ id : "id" }, this.record), listeners : { 'select' : { fn : function...
this.loadGenes(selectedGeneGroup.data.geneIds, function() { loadMask.hide(); });
this.loadGenes(record.get('geneIds'), function() { loadMask.hide(); });
initComponent : function() { // has to be done after constructor is done creating the handler... var geneGroupCombo = new Gemma.GeneGroupCombo({ id : "visGeneGroupCombo", reader : new Ext.data.ListRangeReader({ id : "id" }, this.record), listeners : { 'select' : { fn : function...
extraButtons : [geneGroupCombo, new Ext.Button({ id : this.vizButtonId, text : "Show", tooltip : "Click to display data for selected genes, or a 'random' selection of data from this experiment", handler : this.showButHandler, scope : this })]
extraButtons : [this.geneGroupCombo, { xtype : 'tbfill' }, new Ext.Button({ id : this.vizButtonId, text : "Show", tooltip : "Click to display data for selected genes, or a 'random' selection of data from this experiment", handler : this.showButHandler, scope : this })]
initComponent : function() { // has to be done after constructor is done creating the handler... var geneGroupCombo = new Gemma.GeneGroupCombo({ id : "visGeneGroupCombo", reader : new Ext.data.ListRangeReader({ id : "id" }, this.record), listeners : { 'select' : { fn : function...
this.on('ready', function(taxon) {
this.on('ready', function() {
initComponent : function() { // has to be done after constructor is done creating the handler... var geneGroupCombo = new Gemma.GeneGroupCombo({ id : "visGeneGroupCombo", reader : new Ext.data.ListRangeReader({ id : "id" }, this.record), listeners : { 'select' : { fn : function...
* taxon is the one filled in by staterestore; we need to enforce that we pick an exact taxon. Cant * use getToolbar() at this point. Set taxon, hide taxon combo and disable it....
* Taxon is passed in during construction.
initComponent : function() { // has to be done after constructor is done creating the handler... var geneGroupCombo = new Gemma.GeneGroupCombo({ id : "visGeneGroupCombo", reader : new Ext.data.ListRangeReader({ id : "id" }, this.record), listeners : { 'select' : { fn : function...
var foundTaxon = this.getTopToolbar().taxonCombo.setTaxonByCommonName(this.taxon);
var foundTaxon = this.getTopToolbar().taxonCombo.setTaxonByCommonName(this.taxon.commonName);
initComponent : function() { // has to be done after constructor is done creating the handler... var geneGroupCombo = new Gemma.GeneGroupCombo({ id : "visGeneGroupCombo", reader : new Ext.data.ListRangeReader({ id : "id" }, this.record), listeners : { 'select' : { fn : function...
this.geneGroupCombo.taxon = this.taxon;
initComponent : function() { // has to be done after constructor is done creating the handler... var geneGroupCombo = new Gemma.GeneGroupCombo({ id : "visGeneGroupCombo", reader : new Ext.data.ListRangeReader({ id : "id" }, this.record), listeners : { 'select' : { fn : function...
data : [['CommentedEvent', 'Comment'], ['TroubleStatusFlagEvent', 'Trouble flag'], ['OKStatusFlagEvent', 'OK flag (clear Trouble flag)'], ['ValidatedFlagEvent', 'Validated flag']]
data : [['CommentedEvent', 'Comment'], ['TroubleStatusFlagEvent', 'Other (generic) Trouble'], ['ExperimentalDesignTrouble', 'Experimental Design Trouble'], ['OutlierSampleTrouble', 'Outlier sample'], ['OKStatusFlagEvent', 'OK flag (clear Trouble)'], ['ValidatedFlagEvent', 'Validated flag'], ['ValidatedQualityControl', ...
initComponent : function() { this.auditEventTypeStore = new Ext.data.SimpleStore({ fields : ['type', 'description'], data : [['CommentedEvent', 'Comment'], ['TroubleStatusFlagEvent', 'Trouble flag'], ['OKStatusFlagEvent', 'OK flag (clear Trouble flag)'], ['ValidatedFlagEvent', 'Validat...
extraButtons : [new Ext.Button({
extraButtons : [geneGroupCombo, new Ext.Button({
initComponent : function() { // has to be done after constructor is done creating the handler... Ext.apply(this, { extraButtons : [new Ext.Button({ id : this.vizButtonId, text : "Show", tooltip : "Click to display data for selected genes, or a 'random' selection of data from this experiment", handler :...
* use getToolbar() at this point.
* use getToolbar() at this point. Set taxon, hide taxon combo and disable it....
initComponent : function() { // has to be done after constructor is done creating the handler... Ext.apply(this, { extraButtons : [new Ext.Button({ id : this.vizButtonId, text : "Show", tooltip : "Click to display data for selected genes, or a 'random' selection of data from this experiment", handler :...
this.getTopToolbar().taxonCombo.hide();
initComponent : function() { // has to be done after constructor is done creating the handler... Ext.apply(this, { extraButtons : [new Ext.Button({ id : this.vizButtonId, text : "Show", tooltip : "Click to display data for selected genes, or a 'random' selection of data from this experiment", handler :...
this.writeMethod(characteristic, [this.entId], callback);
this.writeMethod(characteristic, this.entId, callback);
initComponent : function() { Ext.apply(this, { columns : [{ header : "Category", dataIndex : "className" }, { header : "Term", dataIndex : "termName", renderer : this.termStyler.createDelegate(this) }, { header : "Annotation belongs to:",...
this.removeMethod(ids, [this.entId], callback);
this.removeMethod(ids, this.entId, callback);
initComponent : function() { Ext.apply(this, { columns : [{ header : "Category", dataIndex : "className" }, { header : "Term", dataIndex : "termName", renderer : this.termStyler.createDelegate(this) }, { header : "Annotation belongs to:",...
columns : [{ header : 'Name', dataIndex : 'name', editable : false, groupable : false, sortable : true }, { header : 'Description', dataIndex : 'description', editable : false, groupable : false, sortable : true }, { header : 'Owner', hidden : true, tooltip : 'Who owns the data', dataIndex : 'owner', groupable : true, ...
store : new Ext.data.Store({ proxy : new Ext.data.DWRProxy(this.readMethod), reader : new Ext.data.ListRangeReader({ id : "id" }, this.record) }) });
initComponent : function() { Ext.apply(this, { columns : [{ header : 'Name', dataIndex : 'name', editable : false, groupable : false, sortable : true }, { header : 'Description', dataIndex : 'description', editable : false, groupable : false, sortable : true ...
Gemma.GeneGroupGrid.superclass.initComponent.call(this);
Gemma.GeneGroupDataView.superclass.initComponent.call(this);
initComponent : function() { Ext.apply(this, { columns : [{ header : 'Name', dataIndex : 'name', editable : false, groupable : false, sortable : true }, { header : 'Description', dataIndex : 'description', editable : false, groupable : false, sortable : true ...
this.getStore().load({ params : [this.geneid]
this.store.load({ params : this.getReadParams()
initComponent : function() { Ext.apply(this, { columns : [{ header : 'Name', dataIndex : 'name', editable : false, groupable : false, sortable : true }, { header : 'Description', dataIndex : 'description', editable : false, groupable : false, sortable : true ...
annotationGrid : this,
annotationGrid : this, showValidateButton : true, isValidated : this.entityAnnotsAreValidated,
initComponent : function() { Ext.apply(this, { columns : [{ header : "Category", dataIndex : "className", sortable : true }, { header : "Term", dataIndex : "termName", renderer : this.termStyler.createDelegate(this), sortable : true ...
handler : this.hide.createDelegate(this, [], true)
handler : this.hide, scope : this
initComponent : function() { this.addEvents({ "commit" : true }); Ext.apply(this, { items : [{ id : 'gene-list-text', xtype : 'textarea', fieldLabel : "Paste in gene symbols, one per line, up to " + Gemma.MAX_GENES_PER_QUERY, width : 290 }...
Ext.apply(this, { columns : [{ header : "Name", dataIndex : "name" }, { header : "Type", dataIndex : "type" }, { header : "Description", dataIndex : "description" }],
Ext.apply(this, { columns : [{ header : 'Name', dataIndex : 'name', editable : false, groupable : false, sortable : true }, { header : 'Description', dataIndex : 'description', editable : false, groupable : false, sortable : true }, { header : 'Owner', hidden : true, tooltip : 'Who owns the data', dataIndex : 'owner', ...
initComponent : function() { Ext.apply(this, { columns : [{ header : "Name", dataIndex : "name" }, { header : "Type", dataIndex : "type" }, { header : "Description", dataIndex : "description" }], store : new Ext.data.Store({...
store : new Ext.data.Store({ proxy : new Ext.data.DWRProxy(GeneController.getProducts), reader : new Ext.data.ListRangeReader({ id : "id" }, this.record), remoteSort : false }) });
Gemma.GeneGroupGrid.superclass.initComponent.call(this);
initComponent : function() { Ext.apply(this, { columns : [{ header : "Name", dataIndex : "name" }, { header : "Type", dataIndex : "type" }, { header : "Description", dataIndex : "description" }], store : new Ext.data.Store({...
Gemma.GeneProductGrid.superclass.initComponent.call(this); this.getStore().setDefaultSort('type', 'name'); this.getStore().load({ params : [this.geneid] }); }
this.getStore().load({ params : [this.geneid] }); }
initComponent : function() { Ext.apply(this, { columns : [{ header : "Name", dataIndex : "name" }, { header : "Type", dataIndex : "type" }, { header : "Description", dataIndex : "description" }], store : new Ext.data.Store({...
combo.setValue(record.data.value);
combo.setValue(record.data.value + ".");
initComponent : function() { Ext.apply(this, { record : Ext.data.Record.create([{ name : "id", type : "int" }, { name : "value", type : "string" }, { name : "valueUri", type : "string" }, { name : "categoryUri", type : "string" }, { ...