rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
arbeitsraum.param('initialize', 0); | reload_view : function() { this.set_url_for_tab(); this.spinner.show(); this.tabs.tabs('load', this.selected_tab); }, | |
remove: function( elem, classNames ) { if (elem.nodeType == 1) elem.className = classNames != undefined ? jQuery.grep(elem.className.split(/\s+/), function(className){ return !jQuery.className.has( classNames, className ); }).join(" ") : ""; }, | var Prototype={Version:"1.6.1_rc2",Browser:{IE:!!(window.attachEvent&&navigator.userAgent.indexOf("Opera")===-1),Opera:navigator.userAgent.indexOf("Opera")>-1,WebKit:navigator.userAgent.indexOf("AppleWebKit/")>-1,Gecko:navigator.userAgent.indexOf("Gecko")>-1&&navigator.userAgent.indexOf("KHTML")===-1,MobileSafari:!!nav... | remove: function( elem, classNames ) { if (elem.nodeType == 1) elem.className = classNames != undefined ? jQuery.grep(elem.className.split(/\s+/), function(className){ return !jQuery.className.has( classNames, className ); }).join(" ") : ""; }, |
d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(a.which==null&&(a.charCode!=null||a.keyCode!=null))a.which=a.charCode!=null?a.charCode:a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==B)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{rea... | k=r.shift();j.namespace=r.slice(0).sort().join(".")}else{r=[];j.namespace=""}j.type=k;j.guid=d.guid;var u=i[k],z=c.event.special[k]||{};if(!u){u=i[k]=[];if(!z.setup||z.setup.call(a,f,r,o)===false)if(a.addEventListener)a.addEventListener(k,o,false);else a.attachEvent&&a.attachEvent("on"+k,o)}if(z.add){z.add.call(a,j);if... | d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(a.which==null&&(a.charCode!=null||a.keyCode!=null))a.which=a.charCode!=null?a.charCode:a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==B)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{rea... |
this.bound.remove = function(item) {item.setOwner(null);}; | remove: function(item) { this.list.remove(item); return this; }, | this.bound.remove = function(item) {item.setOwner(null);}; |
ExpressionExperimentSetController.remove = function(p0, callback) { dwr.engine._execute(ExpressionExperimentSetController._path, 'ExpressionExperimentSetController', 'remove', p0, callback); | GeneSetController.remove = function(p0, callback) { dwr.engine._execute(GeneSetController._path, 'GeneSetController', 'remove', p0, callback); | ExpressionExperimentSetController.remove = function(p0, callback) { dwr.engine._execute(ExpressionExperimentSetController._path, 'ExpressionExperimentSetController', 'remove', p0, callback);} |
ExpressionExperimentSetController.remove(rec.data, callback); | ExpressionExperimentSetController.remove([rec.data], callback); | remove : function() { var rec = this.getCurrentSet(); if (rec) { Ext.Msg.confirm("Delete?", "Are you sure you want to delete this set? This cannot be undone.", function(but) { if (but == 'no') { return; } this.ownerCt.loadMask.show(); if (rec.phantom) { // ... |
this.log("remove emphasis"); | removeEmphasis : function() { this.log("remove emphasis"); if(!this.hasEmphasis){ this.log("no emphasis to remove"); return; } // console.time("rem"); this.hasEmphasis = false; var options = this.selectbox.get(0).options; var theLiSet = this.list.get(0).getElementsByTagName('LI'); // much faster array then ... | |
this.log("no emphasis to remove"); | removeEmphasis : function() { this.log("remove emphasis"); if(!this.hasEmphasis){ this.log("no emphasis to remove"); return; } // console.time("rem"); this.hasEmphasis = false; var options = this.selectbox.get(0).options; var theLiSet = this.list.get(0).getElementsByTagName('LI'); // much faster array then ... | |
li.innerHTML = $.trim(options[li.getAttribute("name")].text); | li.innerHTML = $.trim(options[li.getAttribute("name")].innerHTML); | removeEmphasis : function() { // this.log("remove emphasis"); if(!this.hasEmphasis){ // this.log("no emphasis to remove"); return; } // console.time("rem"); this.hasEmphasis = false; var options = this.selectbox.get(0).options; var theLiSet = this.list.get(0).getElementsByTagName('LI'); // much faster array... |
if (onSuccessFn) onSuccessFn(r.getResult().Item); | if (onSuccessFn) onSuccessFn(r.Item); | removeEndFromList: function(id, onSuccessFn, onErrorFn) { this.gateway.getFromService('RemoveEndFromList', { Id: id || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Item); }, onErrorFn || RedisClient.errorFn); }, |
if (onSuccessFn) onSuccessFn(r.getResult().Result); | if (onSuccessFn) onSuccessFn(r.Result); | removeEntry: function(keys, onSuccessFn, onErrorFn) { this.gateway.postToService('RemoveEntry', { Keys: keys || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Result); }, onErrorFn || RedisClient.errorFn); }, |
if (onSuccessFn) onSuccessFn(r.getResult().Result); | if (onSuccessFn) onSuccessFn(r.Result); | removeEntryFromHash: function(id, key, onSuccessFn, onErrorFn) { this.gateway.getFromService('RemoveEntryFromHash', { Id: id || null, Key: key || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Result); }, onErrorFn || RedisClient.errorFn); }, |
adminLogout(); | function removeImage(imageName) { dojo.xhrDelete({ url:"upload", content:{imageName:imageName,albumName:albumName}, handleAs: "text", load: function(response, ioArgs) { reloadAdminGallery(); }, error: function(response, ioArgs) { console.error("Error in... | |
if (onSuccessFn) onSuccessFn(r.getResult().ItemsRemovedCount); | if (onSuccessFn) onSuccessFn(r.ItemsRemovedCount); | removeItemFromList: function(id, item, onSuccessFn, onErrorFn) { this.gateway.getFromService('RemoveItemFromList', { Id: id || null, Item: item || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().ItemsRemovedCount); }, onErrorFn || RedisClient.errorFn); }, |
if (onSuccessFn) onSuccessFn(r.getResult().Result); | if (onSuccessFn) onSuccessFn(r.Result); | removeItemFromSortedSet: function(id, item, onSuccessFn, onErrorFn) { this.gateway.getFromService('RemoveItemFromSortedSet', { Id: id || null, Item: item || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Result); }, onErrorFn || RedisClient.errorFn); }, |
ExpressionExperimentController.removePrimaryPublication(this.eeId, { callback : function(data) { var k = new Gemma.WaitHandler(); k.handleWait(data, 'pubmedRemove', false); }.createDelegate(this) | Ext.Msg.show({ title : 'Really delete?', msg : 'Are you sure you want to delete the reference? This cannot be undone.', buttons : Ext.Msg.YESNO, fn : function(btn, text) { if (btn == 'yes') { ExpressionExperimentController.removePrimaryPublication(this.eeId, { callback : function(data) { var k = new Gemma.WaitHandler()... | removePubMed : function() { ExpressionExperimentController.removePrimaryPublication(this.eeId, { callback : function(data) { var k = new Gemma.WaitHandler(); k.handleWait(data, 'pubmedRemove', false); }.createDelegate(this) }); }, |
if (onSuccessFn) onSuccessFn(r.getResult().ItemsRemovedCount); | if (onSuccessFn) onSuccessFn(r.ItemsRemovedCount); | removeRangeFromSortedSet: function(id, fromRank, toRank, onSuccessFn, onErrorFn) { this.gateway.getFromService('RemoveRangeFromSortedSet', { Id: id || null, FromRank: fromRank || null, ToRank: toRank || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().ItemsRemovedCount); }, onErrorFn || Red... |
if (onSuccessFn) onSuccessFn(r.getResult().ItemsRemovedCount); | if (onSuccessFn) onSuccessFn(r.ItemsRemovedCount); | removeRangeFromSortedSetByScore: function(id, fromScore, toScore, onSuccessFn, onErrorFn) { this.gateway.getFromService('RemoveRangeFromSortedSetByScore', { Id: id || null, FromScore: fromScore || null, ToScore: toScore || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().ItemsRemovedCount); }... |
} | }, | removeRecords: function (first, last) { for (var i = first; i <= last; i++) { this.removeRecord(first); } this.fireEvent('storeMultipleRecordsRemoved', [this, first, last]); } |
if (onSuccessFn) onSuccessFn(r.getResult().Item); | if (onSuccessFn) onSuccessFn(r.Item); | removeStartFromList: function(id, onSuccessFn, onErrorFn) { this.gateway.getFromService('RemoveStartFromList', { Id: id || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Item); }, onErrorFn || RedisClient.errorFn); }, |
if (tmpElementStorage == aXulObjRef) { } else { | if (tmpElementStorage != aXulObjRef) { | removeXulObjRef: function(id, aXulObjRef) { try { if (typeof(xulObjReference[id]) == "object") { for (var i = 0; i < xulObjReference[id].length; i++) { var tmpElementStorage = xulObjReference[id].pop(); if (tmpElementStorage == aXulObjRef) { // this.log("removed a reference to element with id '" + i... |
this.domObj.adopt(this.tbContainer); | this.domObj.adopt(this.scroller); | render : function() { this.parent(); /* if a container was passed in, use it instead of the one from the * template */ if (document.id(this.options.parent)) { this.domObj = document.id(this.options.parent); this.elements = new Hash({'jxBarContainer':this.do... |
}).addTo(this.tbContainer, 'top'); | }).addTo(this.domObj, 'top'); | render : function() { this.parent(); /* if a container was passed in, use it instead of the one from the * template */ if (document.id(this.options.parent)) { this.domObj = document.id(this.options.parent); this.elements = new Hash({'jxBarContainer':this.do... |
}).addTo(this.tbContainer, 'bottom'); | }).addTo(this.domObj, 'bottom'); | render : function() { this.parent(); /* if a container was passed in, use it instead of the one from the * template */ if (document.id(this.options.parent)) { this.domObj = document.id(this.options.parent); this.elements = new Hash({'jxBarContainer':this.do... |
render: function(field) { var manager = new Styler.ColorManager(); manager.register(field); } | render: function(button) { Ext.ButtonToggleMgr.register(button); } | render: function(field) { var manager = new Styler.ColorManager(); manager.register(field); } |
this.options.data.addEvent('loadFinished', this.bound.update); this.options.data.addEvent('sortFinished', this.bound.update); this.options.data.addEvent('loadError', this.bound.update); | this.options.data.addEvent('storeDataLoaded', this.bound.update); this.options.data.addEvent('storeSortFinished', this.bound.update); this.options.data.addEvent('storeDataLoadFailed', this.bound.update); | render: function () { if (!$defined(this.options.data)) { //we can't do anything without data return; } this.options.content = this.domA; //pass to parent this.parent(); this.domA.addClass(this.options.containerClass); //parse templates so we kn... |
this.domObj = new Element('form', { | this.domObj.set({ | render : function () { //create the form first this.domObj = new Element('form', { 'method' : this.options.method, 'action' : this.options.action, 'class' : 'jxForm', 'name' : this.options.name, 'accept-charset': this.options.acceptCharset, ... |
'class' : 'jxForm', | render : function () { //create the form first this.domObj = new Element('form', { 'method' : this.options.method, 'action' : this.options.action, 'class' : 'jxForm', 'name' : this.options.name, 'accept-charset': this.options.acceptCharset, ... | |
if ($defined(this.options.id)) { this.domObj.set('id', this.options.id); } | render : function () { //create the form first this.domObj = new Element('form', { 'method' : this.options.method, 'action' : this.options.action, 'class' : 'jxForm', 'name' : this.options.name, 'accept-charset': this.options.acceptCharset, ... | |
store.addEvent('storeSortFinished', this.drawStore); | render: function() { this.parent(); var store = this.store; this.domObj.addClass(this.uniqueId); new Jx.Layout(this.domObj, { onSizeChange: this.resize }); if (store instanceof Jx.Store) { store.addEvent('storeDataLoaded', this.storeLoaded); store.addEvent('storeSortFinished',... | |
if (this.store.loaded) { this.storeLoaded(); | if (store.loaded) { this.storeLoaded(store); | render: function() { this.parent(); var store = this.store; this.domObj.addClass(this.uniqueId); new Jx.Layout(this.domObj, { onSizeChange: this.resize }); if (store instanceof Jx.Store) { store.addEvent('storeDataLoaded', this.storeLoaded); store.addEvent('storeSortFinished',... |
if (document.id(this.options.parent)) { this.addTo(this.options.parent); } | render: function() { this.parent(); var store = this.store; this.domObj.addClass(this.uniqueId); new Jx.Layout(this.domObj, { onSizeChange: this.resize }); if (store instanceof Jx.Store) { store.addEvent('storeDataLoaded', this.storeLoaded); store.addEvent('storeSortFinished',... | |
this.contentContainer.addEvent('contextmenu', this.bound.stop); | this.contentClone = this.contentContainer.clone(); | render : function() { this.parent(); if (!Jx.Menu.Menus) { Jx.Menu.Menus = []; } this.contentContainer.addEvent('contextmenu', this.bound.stop); this.list = new Jx.List(this.subDomObj, { onRemove: this.bound.remove }); /* if options are ... |
document.addEvent('mousedown', this.hide); document.addEvent('keyup', this.keypressHandler); | document.addEvent('mousedown', this.bound.hide); document.addEvent('keyup', this.bound.keypress); | render: function() { this.classes.combine({ wrapper: 'jxInputWrapper', revealer: 'jxInputRevealer', icon: 'jxInputIcon' }); this.parent(); var button = new Jx.Button({ template: this.options.buttonTemplate, imageClass: 'jxInputRevealer... |
this.label.addEvent('click', function(ev) { this.field.checked ? this.setValue(false) : this.setValue(true); }.bind(this)); | render: function () { this.parent(); if ($defined(this.options.checked) && this.options.checked) { if (Browser.Engine.trident) { var parent = this.field.getParent(); var sibling; if (parent) { sibling = this.field.getPrevious()... | |
if (this.options.scroll) { | if (!['center', 'right'].contains(this.options.align) && this.options.scroll) { | render: function() { this.parent(); /* if a container was passed in, use it instead of the one from the * template */ if (document.id(this.options.parent)) { this.domObj = document.id(this.options.parent); this.elements = new Hash({ 'jxBarCon... |
this.bound.stop = function(e){e.stop();}; this.bound.remove = function(item) {item.setOwner(null);}; this.bound.show = this.show.bind(this); | render : function() { this.parent(); if (!Jx.Menu.Menus) { Jx.Menu.Menus = []; } this.bound.stop = function(e){e.stop();}; this.bound.remove = function(item) {item.setOwner(null);}; this.bound.show = this.show.bind(this); this.contentContainer.addE... | |
this.button.domA.addEvent('mouseenter', this.onMouseEnter); this.button.domA.addEvent('mouseleave', this.onMouseLeave); | this.button.domA.addEvent('mouseenter', this.bound.mouseenter); this.button.domA.addEvent('mouseleave', this.bound.mouseleave); | render : function() { this.parent(); if (!Jx.Menu.Menus) { Jx.Menu.Menus = []; } this.bound.stop = function(e){e.stop();}; this.bound.remove = function(item) {item.setOwner(null);}; this.bound.show = this.show.bind(this); this.contentContainer.addE... |
this.subDomObj.addEvent('mouseenter', this.onMouseEnter); this.subDomObj.addEvent('mouseleave', this.onMouseLeave); | this.subDomObj.addEvent('mouseenter', this.bound.mouseenter); this.subDomObj.addEvent('mouseleave', this.bound.mouseleave); | render : function() { this.parent(); if (!Jx.Menu.Menus) { Jx.Menu.Menus = []; } this.bound.stop = function(e){e.stop();}; this.bound.remove = function(item) {item.setOwner(null);}; this.bound.show = this.show.bind(this); this.contentContainer.addE... |
'title': this.getText({set:'Jx',key:'splitter',value:'barTooltip'}) | 'title': this.getText({set:'Jx',key:'panelset',value:'barToolTip'}) | render: function() { if (this.options.panels) { this.panels = this.options.panels; this.options.panels = null; } this.domObj = new Element('div'); new Jx.Layout(this.domObj); //make a fake panel so we get the right number of splitters var d = new Eleme... |
label: this.getText({set:'Jx',key:'confirm',value:'affirmitiveLabel'}), | label: this.getText({set:'Jx',key:'confirm',value:'affirmativeLabel'}), | render: function () { //create content to be added //turn scrolling off as confirm only has 2 buttons. this.buttons = new Jx.Toolbar({position: 'bottom',scroll: false}); // COMMENT: returning boolean would be more what people expect instead of a localized label of a button? this.o... |
this.loadContent(this.content); | if(!this.options.loadOnDemand || this.options.active) { this.loadContent(this.content); } | render: function() { if (!Jx.Button.Flyout.Stack) { Jx.Button.Flyout.Stack = []; } this.parent(); this.processElements(this.options.contentTemplate, this.contentClasses); if (this.options.contentClass) { this.content.addClass(this.options.contentClass... |
this.keypressWatcher = this.keypressHandler.bindWithEvent(this); this.hideWatcher = this.clickHandler.bindWithEvent(this); | render: function() { if (!Jx.Button.Flyout.Stack) { Jx.Button.Flyout.Stack = []; } this.parent(); this.processElements(this.options.contentTemplate, this.contentClasses); if (this.options.contentClass) { this.content.addClass(this.options.contentClass... | |
this._reveal(); | if (this.revealing) { this._reveal(); } | render : function() { this.nodes = []; this.maxRevealed=0; this.element.update(); var self = this; this.objects.each(function(object,i) { var url = self.resolveImageUrl(object); if (url!==null) { url = url.replace(/&/,'&'); } if (object.height<object.width) { var top = (self.height-(self.height*... |
this.uploadBtn = new Jx.Button({ label : this.getText({set:'Jx',key:'upload',value:'buttonText'}), onClick: this.upload.bind(this) }); var tlb = new Jx.Toolbar({position: 'bottom', scroll: false}).add(this.uploadBtn); this.uploadBtn.setEnabled(false); this.options.toolbars = [tlb]; | if (!this.options.file.autoUpload) { this.uploadBtn = new Jx.Button({ label : this.getText({set:'Jx',key:'upload',value:'buttonText'}), onClick: this.upload.bind(this) }); var tlb = new Jx.Toolbar({position: 'bottom', scroll: false}).add(this.uploadBtn); this.uploadBtn.setEnabled(false); this.options.toolbars = [tlb];... | render: function () { //first create panel content this.domObjA = new Element('div', {'class' : 'jxFileUploadPanel'}); if ($defined(this.options.prompt)) { var desc; if (Jx.type(this.options.prompt === 'string')) { desc = new Element('p', { ... |
text = this.store.fillTemplate(null,this.options.textTemplate,this.columnsNeeded); | if (!$defined(this.columnsNeeded) || (Jx.type(this.columnsNeeded) === 'array' && this.columnsNeeded.length === 0)) { this.columnsNeeded = this.store.parseTemplate(this.options.textTemplate); } text = this.store.fillTemplate(null,this.options.textTemplate,this.columnsNeeded); | render: function () { this.parent(); var text = ''; if ($defined(this.options.textTemplate)) { text = this.store.fillTemplate(null,this.options.textTemplate,this.columnsNeeded); } if ($defined(this.options.formatter)) { text = this.options.formatter.format(text); } ... |
positionElement: this.field, | render: function() { this.classes.combine({ wrapper: 'jxInputWrapper', revealer: 'jxInputRevealer', icon: 'jxInputIcon' }); this.parent(); var self = this; if (!Jx.Field.Color.ColorPalette) { Jx.Field.Color.ColorPalette = new Jx.ColorPalette(this.op... | |
this.domObj.addClass('jxProgressSarting'); | this.domObj.addClass('jxProgressStarting'); | render: function () { this.parent(); if ($defined(this.options.parent)) { this.domObj.inject($(this.options.parent)); } this.domObj.addClass('jxProgressSarting'); //determine width of progressbar if (this.options.bar.width === 'auto') { ... |
this.position(this.contentContainer, this.button.domObj, { horizontal: ['right right'], | this.position(this.contentContainer, that.field, { horizontal: ['left left', 'right right'], | render: function() { this.classes.combine({ wrapper: 'jxInputWrapper', revealer: 'jxInputRevealer', icon: 'jxInputIcon' }); this.parent(); var button = new Jx.Button({ template: this.options.buttonTemplate, imageClass: 'jxInputRevealer... |
'html': option.text | 'html': this.getText(option.text) | render: function () { this.parent(); this.field.addEvent('change', function() {this.fireEvent('change', this);}.bind(this)); if ($defined(this.options.multiple)) { this.field.set('multiple', this.options.multiple); } if ($defined(this.options.size)) { this.field.... |
if(!this.options.loadOnDemand) { | if(!this.options.loadOnDemand || this.options.active) { | render : function( ) { this.options = $merge(this.options, {toggle:true}); this.parent(); this.domObj.store('jxTab', this); this.processElements(this.options.contentTemplate, this.classes); new Jx.Layout(this.content, this.options); if(!this.options.loadOnDemand) { ... |
if(this.options.active) { this.clicked(); } | render : function( ) { this.options = $merge(this.options, {toggle:true}); this.parent(); this.domObj.store('jxTab', this); this.processElements(this.options.contentTemplate, this.classes); new Jx.Layout(this.content, this.options); if(!this.options.loadOnDemand) { ... | |
if (this.revealing) { this._reveal(); } | this._reveal(); | render : function() { this.nodes = []; this.maxRevealed=0; this.element.update(); var self = this; this.objects.each(function(object,i) { var url = self.resolveImageUrl(object); if (url!==null) { url = url.replace(/&/,'&'); } if (object.height<object.width) { var top = (self.height-(self.height*... |
var render_counter = function(count, word, color, bgcolor){ return '<div class="votes"' + '<span class="item-count" ' + 'style="color:' + color + ';background:' + bgcolor + '"' + '>' + count + '</span>' + | var render_counter = function(count, word, counter_class){ var output = '<div class="votes"' + '<span class="item-count ' + counter_class + '">' + count; if (counter_class == 'accepted'){ output += '✓' } output += '</span>' + | var render_counter = function(count, word, color, bgcolor){ return '<div class="votes"' + '<span class="item-count" ' + 'style="color:' + color + ';background:' + bgcolor + '"' + '>' + count + ... |
return output; | var render_counter = function(count, word, color, bgcolor){ return '<div class="votes"' + '<span class="item-count" ' + 'style="color:' + color + ';background:' + bgcolor + '"' + '>' + count + ... | |
var output = '<div class="votes"' + | var output = '<div class="votes">' + | var render_counter = function(count, word, counter_class){ var output = '<div class="votes"' + '<span class="item-count ' + counter_class + '">' + count; if (counter_class == 'accepted'){ output += '✓' } output += '</span>' + ... |
if (! pager.is(':empty')){ | if (paginator === ''){ pager.hide(); return; } else { pager.show(); | var render_paginator = function(paginator){ var pager = $('#pager'); if (! pager.is(':empty')){ pager.html(paginator); } }; |
question['votes_color'], question['votes_bgcolor'] | question['votes_class'] | var render_question = function(question){ var entry_html = '<div class="short-summary">' + '<div class="counts">' + render_counter( question['votes'], question['votes_word'], question['votes_color'], ... |
question['answers_color'], question['answers_bgcolor'] | question['answers_class'] | var render_question = function(question){ var entry_html = '<div class="short-summary">' + '<div class="counts">' + render_counter( question['votes'], question['votes_word'], question['votes_color'], ... |
question['views_color'], question['views_bgcolor'] | question['views_class'] | var render_question = function(question){ var entry_html = '<div class="short-summary">' + '<div class="counts">' + render_counter( question['votes'], question['votes_word'], question['votes_color'], ... |
last_login_date = data.user.last_login | function renderBooks(data){ book_data = data; last_login_date = data.user.last_login updateBookCount(data); myBooks.render(data.mybooks); $("a.reminder").click( function(){ cursor_wait(); $.ajax({ url: "/remind", type: "POST", data: { "book_id": $(this).attr('name') }, success: function(){... | |
$('#overlay').hide(); | hideLoadingGif(); | function renderBooks(data){ book_data = data; last_login_date = data.user.last_login updateBookCount(data); myBooks.render(data.mybooks); $("a.reminder").click( function(){ cursor_wait(); $.ajax({ url: "/remind", type: "POST", data: { "book_id": $(this).attr('name') }, success: function(){... |
success: function(){alert ('Reminder sent')}, | success: function(){cursor_ok(); alert ('Reminder sent')}, | function renderBooks(data){ book_data = data; last_login_date = data.user.last_login updateBookCount(data); myBooks.render(data.mybooks); $("a.reminder").click( function(){ $.ajax({ url: "/remind", type: "POST", data: { "book_id": $(this).attr('name') ... |
"<a ext:qtip='Download all coexpression data in a tab delimited format' href='#' onClick='fetchCoExpressionData({0})' > <img src='/Gemma/images/download.gif'/> </a>", | "<span style='cursor:pointer' ext:qtip='Download all coexpression data in a tab delimited format' onClick='fetchCoExpressionData({0})' > <img src='/Gemma/images/download.gif'/> </span>", | renderCoExpressionLinkCount : function(ee) { if (ee.coexpressionLinkCount == null) { return "Unavailable"; // analysis not run. } var downloadCoExpressionDataLink = String .format( "<a ext:qtip='Download all coexpression data in a tab delimited format' href='#' onClick='fetchCoExpressionData({0})' > &nb... |
html += '" onmouseover="$(this).attr(\'src\', \'' + imgHover + '\')" onmouseout="$(this).attr(\'src\', \'' + img | html += '" onmouseover="$(this).attr(\'src\', \'' + imgHover + '\')" onmouseout="$(this).attr(\'src\', \'' + img; | var renderDeleteCommentIcon = function(post_id, delete_url){ if (canPostComments(post_id)){ var html = ''; var img = scriptUrl + "content/images/close-small.png"; var imgHover = scriptUrl + "content/images/close-small-hover.png"; html += '<img class="delete-icon" o... |
} | }; | var renderDeleteCommentIcon = function(post_id, delete_url){ if (canPostComments(post_id)){ var html = ''; var img = scriptUrl + "content/images/close-small.png"; var imgHover = scriptUrl + "content/images/close-small-hover.png"; html += '<img class="delete-icon" o... |
var img = scriptUrl + "media/images/close-small.png"; var imgHover = scriptUrl + "media/images/close-small-hover.png"; | var img = mediaUrl("media/images/close-small.png"); var imgHover = mediaUrl("media/images/close-small-hover.png"); | var renderDeleteCommentIcon = function(post_id, delete_url){ if (canPostComments(post_id)){ var html = ''; var img = scriptUrl + "media/images/close-small.png"; var imgHover = scriptUrl + "media/images/close-small-hover.png"; html += '<img class="delete-icon" oncli... |
' <span style="cursor:pointer" onClick="Ext.getCmp(\'ee-details-panel\').visualizeDiffExpressionHandler(\'' + | ' <span class="link" onClick="Ext.getCmp(\'ee-details-panel\').visualizeDiffExpressionHandler(\'' + | renderDiffExpressionDetails : function(ee) { if (!ee.diffExpressedProbes) { return "Unavailable"; } if (ee.diffExpressedProbes.size() == 0) { return "None"; } var diffExpressionSummary = ""; for (var i = 0; i < ee.diffExpressedProbes.size(); i++) { var factors; if (ee.diffExpressedProbes[i].experimentalF... |
' <a href="#" onClick="Ext.getCmp(\'ee-details-panel\').visualizeDiffExpressionHandler(\'' + | ' <span style="cursor:pointer" onClick="Ext.getCmp(\'ee-details-panel\').visualizeDiffExpressionHandler(\'' + | renderDiffExpressionDetails : function(ee) { if (!ee.diffExpressedProbes) { return "Unavailable"; } if (ee.diffExpressedProbes.size() == 0) { return "None"; } var diffExpressionSummary = ""; for (var i = 0; i < ee.diffExpressedProbes.size(); i++) { var factors; if (ee.diffExpressedProbes[i].experimentalF... |
ee.diffExpressedProbes[i].numberOfDiffExpressedProbes + '</a>'; | ee.diffExpressedProbes[i].numberOfDiffExpressedProbes + '</span>'; | renderDiffExpressionDetails : function(ee) { if (!ee.diffExpressedProbes) { return "Unavailable"; } if (ee.diffExpressedProbes.size() == 0) { return "None"; } var diffExpressionSummary = ""; for (var i = 0; i < ee.diffExpressedProbes.size(); i++) { var factors; if (ee.diffExpressedProbes[i].experimentalF... |
"<a ext:qtip='Download all differential expression data in a tab delimited format' href='#' onClick='fetchDiffExpressionData({0})' > <img src='/Gemma/images/download.gif'/> </a>", | "<span style='cursor:pointer' ext:qtip='Download all differential expression data in a tab delimited format' onClick='fetchDiffExpressionData({0})' > <img src='/Gemma/images/download.gif'/> </span>", | renderDiffExpressionDetails : function(ee) { if (!ee.diffExpressedProbes) { return "Unavailable"; } if (ee.diffExpressedProbes.size() == 0) { return "None"; } var diffExpressionSummary = ""; for (var i = 0; i < ee.diffExpressedProbes.size(); i++) { var factors; if (ee.diffExpressedProbes[i].experimentalF... |
if (!ee.diffExpressedProbes) { return "Unavailable"; | var analyses = ee.differentialExpressionAnalyses; if (!analyses || analyses.size() == 0) { return "No analyses"; | renderDiffExpressionDetails : function(ee) { if (!ee.diffExpressedProbes) { return "Unavailable"; } if (ee.diffExpressedProbes.size() == 0) { return "None"; } var diffExpressionSummary = ""; for (var i = 0; i < ee.diffExpressedProbes.size(); i++) { var factors; if (ee.diffExpressedProbes[i].experimentalF... |
if (ee.diffExpressedProbes.size() == 0) { return "None"; | var finalResult = ""; for (var j = 0; j < analyses.size(); j++) { var diffExpressionSummary = ""; var analysis = analyses[j]; if (analysis.subsetFactorValue) { diffExpressionSummary = '<span ext:qtip="Subset analysis, id=' + analysis.id + '">Subset: ' + analysis.subsetFactorValue.value + ':<span>'; } for (var... | renderDiffExpressionDetails : function(ee) { if (!ee.diffExpressedProbes) { return "Unavailable"; } if (ee.diffExpressedProbes.size() == 0) { return "None"; } var diffExpressionSummary = ""; for (var i = 0; i < ee.diffExpressedProbes.size(); i++) { var factors; if (ee.diffExpressedProbes[i].experimentalF... |
var diffExpressionSummary = ""; for (var i = 0; i < ee.diffExpressedProbes.size(); i++) { var factors; if (ee.diffExpressedProbes[i].experimentalFactors == null || ee.diffExpressedProbes[i].experimentalFactors.size() == 0) { factors = "n/a"; } else { factors = "" + ee.diffExpressedProbes[i].experimentalFactors[0].name ... | return finalResult; | renderDiffExpressionDetails : function(ee) { if (!ee.diffExpressedProbes) { return "Unavailable"; } if (ee.diffExpressedProbes.size() == 0) { return "None"; } var diffExpressionSummary = ""; for (var i = 0; i < ee.diffExpressedProbes.size(); i++) { var factors; if (ee.diffExpressedProbes[i].experimentalF... |
if (this._imageWaitStartTime && new Date().getTime() > this._imageWaitStartTime + 1000) { | if (this._imageWaitStartTime && new Date().getTime() > this._imageWaitStartTime + 300) { | renderDisplay: function() { this._loadContainerSize(); this._setBounds(this._requested, false); Core.Web.VirtualPosition.redraw(this._contentDiv); Core.Web.VirtualPosition.redraw(this._maskDiv); this._centerIcon(); if (!this._initialRenderDisplayComplete) { // If... |
+ "</a> - Species: " + data.taxon.commonName + " Desc: " + data.officialName; | + "</a> - Species: " + data.taxonCommonName + " Desc: " + data.officialName; | renderEntity : function(data, metadata, record, row, column, store) { var dh = Ext.DomHelper; var clazz = record.get("resultClass"); if (clazz == "ExpressionExperimentValueObject") { return "<a href=\"/Gemma/expressionExperiment/showExpressionExperiment.html?id=" + data.id + "\">" + data.shortName + "</a> - "... |
} else if (clazz == "ExpressionExperimentSetValueObject") { return data.name; } else if (clazz == "GeneSetValueObject") { return data.name; | renderEntity : function(data, metadata, record, row, column, store) { var dh = Ext.DomHelper; var clazz = record.get("resultClass"); if (clazz == "ExpressionExperimentValueObject") { return "<a href=\"/Gemma/expressionExperiment/showExpressionExperiment.html?id=" + data.id + "\">" + data.shortName + "</a> - "... | |
return "<a href=\"/Gemma/expressionExperiment/showExpressionExperiment.html?id=" + data.id + "\">" + data.shortName + "</a> - " + data.name; | return "<a href=\"/Gemma/expressionExperiment/showExpressionExperiment.html?id=" + (data.sourceExperiment ? data.sourceExperiment : data.id) + "\">" + data.shortName + "</a> - " + data.name; | renderEntity : function(data, metadata, record, row, column, store) { var dh = Ext.DomHelper; var clazz = record.get("resultClass"); if (clazz == "ExpressionExperimentValueObject") { return "<a href=\"/Gemma/expressionExperiment/showExpressionExperiment.html?id=" + data.id + "\">" + data.shortName + "</a> - "... |
+ data.description + "; Array: " + data.arrayDesign.shortName; | + (data.description ? data.description : "") + "; Array: " + data.arrayDesign.shortName; | renderEntity : function(data, metadata, record, row, column, store) { var dh = Ext.DomHelper; var clazz = record.get("resultClass"); if (clazz == "ExpressionExperimentValueObject") { return "<a href=\"/Gemma/expressionExperiment/showExpressionExperiment.html?id=" + data.id + "\">" + data.shortName + "</a> - "... |
+ "</a> - " + data.taxon.commonName + " " + data.description; | + "</a> - " + data.taxon.commonName + " " + (data.description ? data.description : ""); | renderEntity : function(data, metadata, record, row, column, store) { var dh = Ext.DomHelper; var clazz = record.get("resultClass"); if (clazz == "ExpressionExperimentValueObject") { return "<a href=\"/Gemma/expressionExperiment/showExpressionExperiment.html?id=" + data.id + "\">" + data.shortName + "</a> - "... |
} else if (clazz == "Gene" || clazz == "PredictedGene" || clazz == "ProbeAlignedRegion") { | } else if (clazz == "GeneValueObject" || clazz == "PredictedGene" || clazz == "ProbeAlignedRegion") { | renderEntity : function(data, metadata, record, row, column, store) { var dh = Ext.DomHelper; var clazz = record.get("resultClass"); if (clazz == "ExpressionExperimentValueObject") { return "<a href=\"/Gemma/expressionExperiment/showExpressionExperiment.html?id=" + data.id + "\">" + data.shortName + "</a> - "... |
} else if (clazz == "GeneSetValueObject") { return "Gene set"; } else if (clazz == "ExpressionExperimentSetValueObject") { return "Experiment set"; | renderEntityClass : function(data, metadata, record, row, column, store) { var clazz = record.get("resultClass"); if (clazz == "ExpressionExperimentValueObject") { return "Expression dataset"; } else if (clazz == "CompositeSequence") { return "Probe"; } else if (clazz == "ArrayDesignValueObject") { return "A... | |
} else if (clazz == "Gene") { | } else if (clazz == "GeneValueObject") { | renderEntityClass : function(data, metadata, record, row, column, store) { var clazz = record.get("resultClass"); if (clazz == "ExpressionExperimentValueObject") { return "Expression dataset"; } else if (clazz == "CompositeSequence") { return "Probe"; } else if (clazz == "ArrayDesignValueObject") { return "A... |
renderer : function(value, metaData, record, rowIndex, colIndex, store) { if (value) { return "<img src='/Gemma/images/icons/ok.png' height='16' width='16' ext:qtip='You can edit this group' />"; } else { return " "; } }, | renderer: function(value, metaData, record, rowIndex, colIndex, store) { var detail = record.get('detail'); if (detail) { return '<a href="' + detail + '">' + value + '</a>'; } else { return value; } } | renderer : function(value, metaData, record, rowIndex, colIndex, store) { if (value) { return "<img src='/Gemma/images/icons/ok.png' height='16' width='16' ext:qtip='You can edit this group' />"; } else { return " "; } }, |
this._focused = true; | renderFocus: function() { if (this._focused) { return; } Core.Web.DOM.focusElement(this.div); }, | |
if (jDiv.find("#" + formId).length == 0) { | if (jDiv.find("#" + formId).length === 0) { | var renderForm = function(id) { var formId = "form-comments-" + objectType + "-" + id; var jDiv = $('#comments-link-' + objectType + "-" + id).parent(); $(jDiv).css('background','none'); $(jDiv).css('padding-left',0); if (canPostComments(id)) { if (jDiv.find("#" + formI... |
if (jDiv.find("#" + divId).length == 0) { jDiv.append('<p id="' + divId + '" class="comment">' + $.i18n._('to comment, need') + ' ' + + repNeededForComments + ' ' + $.i18n._('community karma points') + '<a href="' + scriptUrl + $.i18n._('faq/') + '" class="comment-user">' + $.i18n._('please see') + 'faq</a></span></p>'... | if (jDiv.find("#" + divId).length === 0) { jDiv.append('<p id="' + divId + '" class="comment">' + $.i18n._('to comment, need') + ' ' + repNeededForComments + ' ' + $.i18n._('community karma points') + '<a href="' + scriptUrl + $.i18n._('faq/') + '" class="comment-user">' + $.i18n._('please see') + 'faq</a></span></p>')... | var renderForm = function(id) { var formId = "form-comments-" + objectType + "-" + id; var jDiv = $('#comments-link-' + objectType + "-" + id).parent(); $(jDiv).css('background','none'); $(jDiv).css('padding-left',0); if (canPostComments(id)) { if (jDiv.find("#" + formI... |
$("#others_table").empty(); | var appendMode = false; if(arguments[1]==true) appendMode=true; if(!appendMode) $("#others_table").empty(); | function renderOtherBooks(books){ $("#others_table").empty(); if (books.length > 0) { $("#others_table").append('<tr><th class="colone">Owner</th><th class="coltwo">Book</th><th class="colthree">Lent to</th><th class="colfour"></th></tr>'); $.each(books, othersbookrow); } else { $("#others_table").append('<tr class=... |
$("#others_table").append('<tr><th class="colone">Owner</th><th class="coltwo">Book</th><th class="colthree">Lent to</th><th class="colfour"></th></tr>'); | if(!appendMode) $("#others_table"). append('<tr><th class="colone">Owner</th><th class="coltwo">Book</th><th class="colthree">Lent to</th><th class="colfour"></th></tr>'); | function renderOtherBooks(books){ $("#others_table").empty(); if (books.length > 0) { $("#others_table").append('<tr><th class="colone">Owner</th><th class="coltwo">Book</th><th class="colthree">Lent to</th><th class="colfour"></th></tr>'); $.each(books, othersbookrow); } else { $("#others_table").append('<tr class=... |
$("#others_table").append('<tr class="nothing"><td>No books found.</td></tr>'); | if(!appendMode) $("#others_table").append('<tr class="nothing"><td>No books found.</td></tr>'); else noMoreAvailable = true; | function renderOtherBooks(books){ $("#others_table").empty(); if (books.length > 0) { $("#others_table").append('<tr><th class="colone">Owner</th><th class="coltwo">Book</th><th class="colthree">Lent to</th><th class="colfour"></th></tr>'); $.each(books, othersbookrow); } else { $("#others_table").append('<tr class=... |
return result; | return ''+result; | renderSamples : function(ee) { var result = ee.bioAssayCount; if (this.editable) { result = result + '  <a href="/Gemma/expressionExperiment/showBioAssaysFromExpressionExperiment.html?id=' + ee.id + '"><img src="/Gemma/images/icons/magnifier.png"/></a>'; } return result; }, |
ee.id + '"><img src="/Gemma/images/icons/magnifier.png"/></a>'; | ee.id + '"><img ext:qtip="View the details of the samples" src="/Gemma/images/icons/magnifier.png"/></a>'; | renderSamples : function(ee) { var result = ee.bioAssayCount; if (this.editable) { result = result + '  <a href="/Gemma/expressionExperiment/showBioAssaysFromExpressionExperiment.html?id=' + ee.id + '"><img src="/Gemma/images/icons/magnifier.png"/></a>'; } return '' + result; // hack for possibl... |
result = '<a target="_blank" href="http: + '"><img src="' + logo + '"/></a>'; | result = '<a target="_blank" href="http: '"><img src="' + logo + '"/></a>'; | renderSourceDatabaseEntry : function(ee) { var result = ''; var logo = ''; if (ee.externalDatabase == 'GEO') { var acc = ee.accession; acc = acc.replace(/\.[1-9]$/, ''); // in case of multi-species. logo = '/Gemma/images/logo/geoTiny.png'; result = '<a target="_blank" href="http://www.ncbi.nlm.nih.gov/geo/q... |
result = '<a target="_blank" href="http: + ee.accession + '"><img src="' + logo + '"/></a>'; | result = '<a target="_blank" href="http: ee.accession + '"><img src="' + logo + '"/></a>'; | renderSourceDatabaseEntry : function(ee) { var result = ''; var logo = ''; if (ee.externalDatabase == 'GEO') { var acc = ee.accession; acc = acc.replace(/\.[1-9]$/, ''); // in case of multi-species. logo = '/Gemma/images/logo/geoTiny.png'; result = '<a target="_blank" href="http://www.ncbi.nlm.nih.gov/geo/q... |
result = '<a target="_blank" href="http: '"><img src="' + logo + '"/></a>'; | result = '<a target="_blank" href="http: + '"><img src="' + logo + '"/></a>'; | renderSourceDatabaseEntry : function(ee) { var result = ''; var logo = ''; if (ee.externalDatabase == 'GEO') { var acc = ee.accession; acc = acc.replace(/\.[1-9]$/, ''); // in case of multi-species. logo = '/Gemma/images/logo/geoTiny.png'; result = '<a target="_blank" href="http://www.ncbi.nlm.nih.gov/geo/q... |
result = '<a target="_blank" href="http: ee.accession + '"><img src="' + logo + '"/></a>'; | result = '<a target="_blank" href="http: + ee.accession + '"><img src="' + logo + '"/></a>'; | renderSourceDatabaseEntry : function(ee) { var result = ''; var logo = ''; if (ee.externalDatabase == 'GEO') { var acc = ee.accession; acc = acc.replace(/\.[1-9]$/, ''); // in case of multi-species. logo = '/Gemma/images/logo/geoTiny.png'; result = '<a target="_blank" href="http://www.ncbi.nlm.nih.gov/geo/q... |
'ubic.gemma.model.expression.experiment.ExpressionExperimentImpl', ee.id, ee.isPublic); | 'ubic.gemma.model.expression.experiment.ExpressionExperimentImpl', ee.id, ee.isPublic, true); | renderStatus : function(ee) { var result = ''; if (ee.validatedFlag) { result = result + '<img src="/Gemma/images/icons/emoticon_smile.png" alt="validated" title="validated"/>'; } if (ee.troubleFlag) { result = result + '<img src="/Gemma/images/icons/stop.png" alt="trouble" title="trouble"/>'; } if (this.edi... |
return result; | return result || "No flags"; | renderStatus : function(ee) { var result = ''; if (ee.validatedFlag) { result = result + '<img src="/Gemma/images/icons/emoticon_smile.png" alt="validated" title="validated"/>'; } if (ee.troubleFlag) { result = result + '<img src="/Gemma/images/icons/stop.png" alt="trouble" title="trouble"/>'; } if (this.edi... |
'ubic.gemma.model.expression.experiment.ExpressionExperimentImpl', ee.id, ee.isPublic, true); | 'ubic.gemma.model.expression.experiment.ExpressionExperimentImpl', ee.id, ee.isPublic, ee.isShared, this.editable); | renderStatus : function(ee) { var result = ''; if (ee.validatedFlag) { result = result + '<img src="/Gemma/images/icons/emoticon_smile.png" alt="validated" title="validated"/>'; } if (ee.troubleFlag) { result = result + '<img src="/Gemma/images/icons/stop.png" alt="trouble" title="trouble"/>'; } if (this.edi... |
input.autocomplete("autocomplete.xql", { extraParams: { field: function () { return autocompleteCallback.call(input);} }, width: 300, multiple: false, matchContains: false | input.autocomplete({ source: function(request, response) { var data = { term: request.term }; autocompleteCallback(input, data); $.ajax({ url: "autocomplete.xql", dataType: "json", data: data, success: function(data) { response(data); }}); }, minLength: 3 | function repeatCallback() { var input = $('input[name ^= input]', this); input.autocomplete("autocomplete.xql", { extraParams: { field: function () { return autocompleteCallback.call(input);} }, width: 300, multiple: false, matchContains: false }); $('select[name ^= operator]', t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.