rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
(function(){var g=s.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l... | gb=/,/;R=Array.prototype.slice;var Ia=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,j){return!!b.call(e,j,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Ua.test(b))return c.filter(b,f,!d);else ... | (function(){var g=s.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l... |
function(g,h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ga=function(g,h){var l=[],m="",q;for(h=h.nodeType?[h]:h;q=n.match.PSEUDO.exec(g);){m+=q[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;q=0;for(var p=h.lengt... | gb=/,/;R=Array.prototype.slice;var Ia=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,j){return!!b.call(e,j,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Ua.test(b))return c.filter(b,f,!d);else ... | function(g,h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ga=function(g,h){var l=[],m="",q;for(h=h.nodeType?[h]:h;q=n.match.PSEUDO.exec(g);){m+=q[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;q=0;for(var p=h.lengt... |
gb=/,/;R=Array.prototype.slice;var Ia=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,j){return!!b.call(e,j,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Ua.test(b))return c.filter(b,f,!d);else ... | c.find(a,this[f],b);if(f>0)for(var j=d;j<b.length;j++)for(var i=0;i<d;i++)if(b[i]===b[j]){b.splice(j--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Ia(this,a,false),"not",a)},filt... | gb=/,/;R=Array.prototype.slice;var Ia=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,j){return!!b.call(e,j,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Ua.test(b))return c.filter(b,f,!d);else ... |
gb=/,/;R=Array.prototype.slice;var Ia=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,j){return!!b.call(e,j,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Ua.test(b))return c.filter(b,f,!d);else ... | {},i;if(f&&a.length){e=0;for(var o=a.length;e<o;e++){i=a[e];j[i]||(j[i]=c.expr.match.POS.test(i)?c(i,b||this.context):i)}for(;f&&f.ownerDocument&&f!==b;){for(i in j){e=j[i];if(e.jquery?e.index(f)>-1:c(f).is(e)){d.push({selector:i,elem:f});delete j[i]}}f=f.parentNode}}return d}var k=c.expr.match.POS.test(a)?c(a,b||this.... | gb=/,/;R=Array.prototype.slice;var Ia=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,j){return!!b.call(e,j,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Ua.test(b))return c.filter(b,f,!d);else ... |
c.find(a,this[f],b);if(f>0)for(var j=d;j<b.length;j++)for(var i=0;i<d;i++)if(b[i]===b[j]){b.splice(j--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Ia(this,a,false),"not",a)},filt... | a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);eb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||gb.test(f))&&fb.test(a))e=e.reverse();return this.pushStack(e,a,R.call(arguments)... | c.find(a,this[f],b);if(f>0)for(var j=d;j<b.length;j++)for(var i=0;i<d;i++)if(b[i]===b[j]){b.splice(j--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Ia(this,a,false),"not",a)},filt... |
{},i;if(f&&a.length){e=0;for(var o=a.length;e<o;e++){i=a[e];j[i]||(j[i]=c.expr.match.POS.test(i)?c(i,b||this.context):i)}for(;f&&f.ownerDocument&&f!==b;){for(i in j){e=j[i];if(e.jquery?e.index(f)>-1:c(f).is(e)){d.push({selector:i,elem:f});delete j[i]}}f=f.parentNode}}return d}var k=c.expr.match.POS.test(a)?c(a,b||this.... | a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);eb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||gb.test(f))&&fb.test(a))e=e.reverse();return this.pushStack(e,a,R.call(arguments)... | {},i;if(f&&a.length){e=0;for(var o=a.length;e<o;e++){i=a[e];j[i]||(j[i]=c.expr.match.POS.test(i)?c(i,b||this.context):i)}for(;f&&f.ownerDocument&&f!==b;){for(i in j){e=j[i];if(e.jquery?e.index(f)>-1:c(f).is(e)){d.push({selector:i,elem:f});delete j[i]}}f=f.parentNode}}return d}var k=c.expr.match.POS.test(a)?c(a,b||this.... |
this._overlayTimeout = setTimeout(function(self) { self._showCanvas(cX, cY); }, kTapOverlayTimeout, this); | function(item, index, array) { return { label: item.name, default: (item == Services.search.defaultEngine), image: item.iconURI ? item.iconURI.spec : null } }); | this._overlayTimeout = setTimeout(function(self) { self._showCanvas(cX, cY); }, kTapOverlayTimeout, this); |
var classes = ['jxGridColHead', 'jxGridCol'+idx, 'jxGridCol'+col.options.name], | var classes = ['jxGridColHead', 'jxGridCol'+idx, 'jxCol-'+col.options.name, 'jxColHead-'+col.options.name], | this.columns.each(function(col, idx) { if (!col.isHidden() && col != rhc) { var classes = ['jxGridColHead', 'jxGridCol'+idx, 'jxGridCol'+col.options.name], th; if (col.isEditable()) { classes.push('jxColEditable'); } if (col.isResizable()) { classes.push(... |
var record = store.getAt(store.findBy(function(record){ return record.get("layer") === layer; })); | var record = store.getAt(store.findBy(function(r) { return r.get("layer") === layer; })); | var record = store.getAt(store.findBy(function(record){ return record.get("layer") === layer; })); |
disabled : false | disabled : true | Ext.onReady(function() { Ext.QuickTips.init(); var q = Ext.QuickTips; Ext.state.Manager.setProvider(new Ext.state.CookieProvider()); tool = new Gemma.DatasetUploadTool(); var uploadForm = tool.getUploadForm(); var taxonCombo = new Gemma.TaxonCombo({ id : 'taxon-combo', fieldLabel : "Experiment taxon", emptyTex... |
Ext.select("a", Ext.get(view.getRow(idx))).on("click", function(evt) { evt.stopPropagation(); }); | sm.each(function(rec) { var index = this.store.indexOfId(rec.id); if (index >= 0) { this.store.removeAt(index); } }, this); | Ext.select("a", Ext.get(view.getRow(idx))).on("click", function(evt) { evt.stopPropagation(); }); |
$$('a').each(function(a) { if (a.id) { a.addEvent('click', function() { top.main.location.href='../api/#'+a.id; }); } }); | $$('link').each(function(link) { if (link.getAttribute('rel').indexOf("style") != -1 && link.getAttribute('title')) { link.disabled = (link.getAttribute('title') != ss); } }); | $$('a').each(function(a) { if (a.id) { a.addEvent('click', function() { top.main.location.href='../api/#'+a.id; }); } }); |
$('#close_notification_link').click(function() { $('#notifications').slideUp('fast'); }); | function(value, element, param) { if (value == "") { var radioButtonArray = new Array("1", "2", "4", "5"); for (var i = 0; i < radioButtonArray.length; i++) { if ($('#grade-' + radioButtonArray[i]).is(':checked')) { return false; } } } return true; } | $('#close_notification_link').click(function() { $('#notifications').slideUp('fast'); }); |
onComplete: (function() { if (!this.options.modal && this.options.parent.unmask) { this.options.parent.unmask(); } this.chrome.removeClass('jxChromeDrag'); var size = this.domObj.getMarginBoxSize(); this.options.width = size.width; this.options.height = size.height; this.layoutContent(); this.domObj.resize(this.options... | isRestartShown(!this.addon.bootstrapped, true, function() { if(self.onComplete) self.onComplete(); }); | onComplete: (function() { if (!this.options.modal && this.options.parent.unmask) { this.options.parent.unmask(); } this.chrome.removeClass('jxChromeDrag'); var size = this.domObj.getMarginBoxSize(); ... |
signin_form.unbind( 'submit' ).submit( submit_with_extra_openid_token ); } | password_input_fields.hide(); openid_login_token_input_fields.hide(); enabler.hide(); existing_login_methods_div.show(); } | function(){ signin_form.unbind( 'submit' ).submit( submit_with_extra_openid_token ); } |
var playText = Drupal.theme.prototype['viewsSlideshowControlsPlay'] ? Drupal.theme('viewsSlideshowControlsPlay') : ''; $(this).text(playText); viewsSlideshowPlay(uniqueID, 'views_slideshow_controls'); | viewsSlideshowPlay(uniqueID, ''); | $(this).click(function() { if (Drupal.settings.viewsSlideshow[uniqueID].paused) { var playText = Drupal.theme.prototype['viewsSlideshowControlsPlay'] ? Drupal.theme('viewsSlideshowControlsPlay') : ''; $(this).text(playText); viewsSlideshowPlay(uniqueID, 'views_slideshow_controls'); } ... |
var pauseText = Drupal.theme.prototype['viewsSlideshowControlsPause'] ? Drupal.theme('viewsSlideshowControlsPause') : ''; $(this).text(pauseText); viewsSlideshowPause(uniqueID, 'views_slideshow_controls'); | viewsSlideshowPause(uniqueID, ''); | $(this).click(function() { if (Drupal.settings.viewsSlideshow[uniqueID].paused) { var playText = Drupal.theme.prototype['viewsSlideshowControlsPlay'] ? Drupal.theme('viewsSlideshowControlsPlay') : ''; $(this).text(playText); viewsSlideshowPlay(uniqueID, 'views_slideshow_controls'); } ... |
if (h && col.options.modelField !== f && !col.isHidden()) { | if (h && col.name !== f && !col.isHidden()) { | this.columns.each(function (col, idx) { if (h && col.options.modelField !== f && !col.isHidden()) { list.add(this.getColumnCell(col, idx)); } else if (!h && !col.isHidden()) { list.add(this.getColumnCell(col, idx)); } }, this); |
function(genes) { var geneData = []; var warned = false; for (var i = 0; i < genes.length; ++i) { if (i >= Gemma.MAX_GENES_PER_QUERY) { if (!warned) { Ext.Msg .alert( "Too many genes", "You can only search up to " | GenePickerController.searchMultipleGenes(text, taxonId, function(genes) { var geneData = []; var warned = false; for (var i = 0; i < genes.length; ++i) { if (i >= Gemma.MAX_GENES_PER_QUERY) { if (!warned) { Ext.Msg.alert("Too many genes", "You can only search up to " | function(genes) { var geneData = []; var warned = false; for (var i = 0; i < genes.length; ++i) { if (i >= Gemma.MAX_GENES_PER_QUERY) { if (!warned) { Ext.Msg .alert( "Too many genes", "You can only search up to " + Gemma.MAX_GENES_PER_QUERY ... |
warned = true; | warned = true; } break; } if (this.getStore().find("id", genes[i].id) < 0) { geneData.push([genes[i].id, genes[i].taxon.scientificName, genes[i].officialSymbol, genes[i].officialName]); } | function(genes) { var geneData = []; var warned = false; for (var i = 0; i < genes.length; ++i) { if (i >= Gemma.MAX_GENES_PER_QUERY) { if (!warned) { Ext.Msg .alert( "Too many genes", "You can only search up to " + Gemma.MAX_GENES_PER_QUERY ... |
break; } if (this.getStore().find("id", genes[i].id) < 0) { geneData.push([genes[i].id, genes[i].taxon.scientificName, genes[i].officialSymbol, genes[i].officialName]); } } this.getStore().loadData(geneData, true); }.createDelegate(this)); | this.getStore().loadData(geneData, true); loadMask.hide(); }.createDelegate(this)); | function(genes) { var geneData = []; var warned = false; for (var i = 0; i < genes.length; ++i) { if (i >= Gemma.MAX_GENES_PER_QUERY) { if (!warned) { Ext.Msg .alert( "Too many genes", "You can only search up to " + Gemma.MAX_GENES_PER_QUERY ... |
GenePickerController.getGenes([geneId], function(genes) { var g = genes[0]; if (g) { this.geneCombo.setGene(g); this.geneCombo.setValue(g.officialSymbol); this.getStore().removeAll(); this.addButton.enable(); | function(genes) { var geneData = []; var warned = false; for (var i = 0; i < genes.length; ++i) { if (i >= Gemma.MAX_GENES_PER_QUERY) { if (!warned) { Ext.Msg .alert( "Too many genes", "You can only search up to " + Gemma.MAX_GENES_PER_QUERY + " genes, some of your selections will be ignored."); warned = true; | GenePickerController.getGenes([geneId], function(genes) { var g = genes[0]; if (g) { this.geneCombo.setGene(g); this.geneCombo.setValue(g.officialSymbol); this.getStore().removeAll(); this.addButton.enable(); } if (callback) { callback(args); } }... |
if (callback) { callback(args); } }.createDelegate(this)); | break; } if (this.getStore().find("id", genes[i].id) < 0) { geneData.push([genes[i].id, genes[i].taxon.scientificName, genes[i].officialSymbol, genes[i].officialName]); } } this.getStore().loadData(geneData, true); }.createDelegate(this)); | GenePickerController.getGenes([geneId], function(genes) { var g = genes[0]; if (g) { this.geneCombo.setGene(g); this.geneCombo.setValue(g.officialSymbol); this.getStore().removeAll(); this.addButton.enable(); } if (callback) { callback(args); } }... |
$('#password_forgotten_link').click(function() { $('#password_forgotten').slideToggle('fast'); }); | $('#password_forgotten_link').click(function() { $('#password_forgotten').slideToggle('fast'); $('input.request_password').focus(); }); | $('#password_forgotten_link').click(function() { $('#password_forgotten').slideToggle('fast'); }); |
$('#toggle-collection-tree').click(function () { if (treeDiv.css('display') == 'none') { $('#collection-tree').css({width: '300px', height: 'auto', 'background-color': 'transparent'}); $('#main-content').css('margin-left', '310px'); treeDiv.css('display', ''); } else { $('#collection-tree').css({width: '40px', height: ... | $('#collection-collapse-all').click(function () { $("#collection-tree-tree").dynatree("getRoot").visit(function(dtnode){ dtnode.expand(false); }); return false; | $('#toggle-collection-tree').click(function () { if (treeDiv.css('display') == 'none') { $('#collection-tree').css({width: '300px', height: 'auto', 'background-color': 'transparent'}); $('#main-content').css('margin-left', '310px'); treeDiv.css('display', ''); } else {... |
this.on("afteredit", function(e) { var col = this.getColumnModel().getColumnId(e.column); if (col == CATEGORY_COLUMN) { var f = this.categoryCombo.getTerm.bind(this.categoryCombo); var term = f(); e.record.set("category", term.term); e.record.set("categoryUri", term.uri); } | this.getTopToolbar().on("save", function() { var edited = this.getEditedRecords(); var oldmsg = this.loadMask.msg; this.loadMask.msg = "Saving ..."; this.loadMask.show(); var callback = function() { this.recordsChanged(edited); this.loadMask.hide(); this.loadMask.msg = oldmsg; }.createDelegate(this); var errorHandler ... | this.on("afteredit", function(e) { var col = this.getColumnModel().getColumnId(e.column); if (col == CATEGORY_COLUMN) { var f = this.categoryCombo.getTerm.bind(this.categoryCombo); var term = f(); e.record.set("category", term.term); e.record.set("categoryUri", term.ur... |
$('#toggle-collection-tree').click(function () { if (treeDiv.css('display') == 'none') { $('#collection-tree').css({width: '300px', height: 'auto', 'background-color': 'transparent'}); $('#main-content').css('margin-left', '310px'); treeDiv.css('display', ''); } else { $('#collection-tree').css({width: '40px', height: ... | $('#collection-restrict-group').click(function(){ $('#collection-restrict-user-group').show(); | $('#toggle-collection-tree').click(function () { if (treeDiv.css('display') == 'none') { $('#collection-tree').css({width: '300px', height: 'auto', 'background-color': 'transparent'}); $('#main-content').css('margin-left', '310px'); treeDiv.css('display', ''); } else {... |
if (factor.get("type") == "Continuous") { | if (factor.get("type") == "continuous") { factorValueGrid.getStore().removeAll(); | experimentalFactorGrid.on("experimentalfactorselected", function(factor) { if (factor.get("type") == "Continuous") { factorValueGrid .setTitle("Continuous values not displayed here, see the 'sample details' tab"); factorValueGrid.disable(); } else { factorValueGrid.enable(); ... |
factorValueGrid.disable(); | factorValueGrid.getEl().mask("Continuous values not displayed here, see the 'sample details' tab"); | experimentalFactorGrid.on("experimentalfactorselected", function(factor) { if (factor.get("type") == "Continuous") { factorValueGrid .setTitle("Continuous values not displayed here, see the 'sample details' tab"); factorValueGrid.disable(); } else { factorValueGrid.enable(); ... |
factorValueGrid.enable(); | factorValueGrid.getEl().unmask(); | experimentalFactorGrid.on("experimentalfactorselected", function(factor) { if (factor.get("type") == "Continuous") { factorValueGrid .setTitle("Continuous values not displayed here, see the 'sample details' tab"); factorValueGrid.disable(); } else { factorValueGrid.enable(); ... |
if (button.options.label === value) { button.setActive(true); } | button.setActive(button.options.label === value); | this.buttonSet.buttons.each(function(button){ if (button.options.label === value) { button.setActive(true); } },this); |
test('Objects', function(){ equals(console.dir({}), '{}'); equals(console.dir({name:'Nikita'}), '{\n "name": "Nikita"\n}'); equals(console.dir({name:'Nikita', surname:'Vasilyev'}), '{\n "name": "Nikita", \n "surname": "Vasilyev"\n}'); equals(console.dir({age: 21, name:'Nikita', surname:'Vasilyev'}), '{\n "age": 21,... | test('Constructor object', function(){ function Mammal(){ this.eats = 'Milk'; } function Dog(){ this.legs = 4; } Dog.prototype = new Mammal; equals(console.dir(new Dog), '{\n "eats": "Milk", \n "legs": 4\n}'); | test('Objects', function(){ equals(console.dir({}), '{}'); equals(console.dir({name:'Nikita'}), '{\n "name": "Nikita"\n}'); equals(console.dir({name:'Nikita', surname:'Vasilyev'}), '{\n "name": "Nikita", \n "surname": "Vasilyev"\n}'); equals(console.dir({age: 21, name:'Nikita', surname:'Vasilyev'}), '{\n "age":... |
$('#views_slideshow_thumbnailhover_breakout_teasers_' + settings.id + ' .views_slideshow_thumbnailhover_div_breakout_teaser').each(function(i,obj) { $(obj).hoverIntent( function() { $('.views_slideshow_thumbnailhover_div_breakout_teaser').removeClass('activeSlide'); var id = $(this).attr('id'); id = parseInt(id.substri... | return function() { before_func.apply(null, arguments); new_func.apply(null, arguments); }; | $('#views_slideshow_thumbnailhover_breakout_teasers_' + settings.id + ' .views_slideshow_thumbnailhover_div_breakout_teaser').each(function(i,obj) { $(obj).hoverIntent( function() { $('.views_slideshow_thumbnailhover_div_breakout_teaser').removeClass('activeSlide'); var id = ... |
$('#views_slideshow_thumbnailhover_playpause_' + settings.id).click(function(e) { if (settings.paused) { $(settings.targetId).cycle('resume'); $('#views_slideshow_thumbnailhover_playpause_' + settings.id) .addClass('views_slideshow_thumbnailhover_pause') .addClass('views_slideshow_pause') .removeClass('views_slideshow_... | $('#views_slideshow_thumbnailhover_breakout_teasers_' + settings.id + ' .views_slideshow_thumbnailhover_div_breakout_teaser').each(function(i,obj) { $(obj).hoverIntent( function() { $('.views_slideshow_thumbnailhover_div_breakout_teaser').removeClass('activeSlide'); var id = $(this).attr('id'); id = parseInt(id.substri... | $('#views_slideshow_thumbnailhover_playpause_' + settings.id).click(function(e) { if (settings.paused) { $(settings.targetId).cycle('resume'); $('#views_slideshow_thumbnailhover_playpause_' + settings.id) .addClass('views_slideshow_thumbnailhover_pause') .addClass('v... |
function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,j,i,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&... | false;d.detachEvent("onclick",k)});d.cloneNode(true).fireEvent("onclick")}d=s.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=s.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var k=s... | function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,j,i,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&... |
this.fireEvent('missingValue', payload) | this.fireEvent('link', payload) | k.on('done', function(payload) { this.fireEvent('missingValue', payload) }); |
$(window).scroll(function() { checkPause(settings); | $(window).resize(function() { checkPause(settings); | $(window).scroll(function() { checkPause(settings); }); |
elements.each( function(e) { e.checked = true; }); | elements.each( function(e) { e.checked = false; }); | elements.each( function(e) { e.checked = true; }); |
manager.on('pubmedRemove', function(success) { if (success) { var r = Ext.getCmp('pubmed-region-wrap'); r.remove(Ext.getCmp('pubmed-region')); var form = this.getPubMedForm(this.eeId); r.add(form); r.doLayout(); } }.createDelegate(this)); | manager.on('reportUpdated', function(data) { ob = data[0]; var k = Ext.get('coexpressionLinkCount-region'); Ext.DomHelper.overwrite(k, { html : ob.coexpressionLinkCount }); k.highlight(); k = Ext.get('processedExpressionVectorCount-region'); Ext.DomHelper.overwrite(k, { html : ob.processedExpressionVectorCount }); k.hi... | manager.on('pubmedRemove', function(success) { if (success) { var r = Ext.getCmp('pubmed-region-wrap'); r.remove(Ext.getCmp('pubmed-region')); var form = this.getPubMedForm(this.eeId); r.add(form); r.doLayout(); } }.createDelegate(this)); |
factorValueGrid.disable(); | experimentalFactorGrid.on("experimentalfactorselected", function(factor) { if (factor.get("type") == "Continuous") { factorValueGrid .setTitle("Continuous values not displayed here, see the 'sample details' tab"); factorValueGrid.disable(); } else { factorValueGrid.enable(); ... | |
this.getTopToolbar().on("create", function() { if (this.store.getModifiedRecords().length > 0) { Ext.Msg .confirm( 'Unsaved changes!', 'You should save your changes before creating new values. Are you sure you want to erase them?', function(but) { if (but == 'yes') { this.store.rejectChanges(); this.createNew(); } }.... | this.on("afteredit", function(model) { this.saveButton.enable(); this.revertButton.enable(); }, this.getTopToolbar()); | this.getTopToolbar().on("create", function() { /* * Avoid accidents... */ if (this.store.getModifiedRecords().length > 0) { Ext.Msg .confirm( 'Unsaved changes!', 'You should save your changes before creating new values. Are you sure you want to erase them?', function(b... |
a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);eb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||gb.test(f))&&fb.test(a))e=e.reverse();return this.pushStack(e,a,R.call(arguments)... | a:b+"></"+d+">"},F={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","... | a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);eb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||gb.test(f))&&fb.test(a))e=e.reverse();return this.pushStack(e,a,R.call(arguments)... |
a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);eb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||gb.test(f))&&fb.test(a))e=e.reverse();return this.pushStack(e,a,R.call(arguments)... | c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument... | a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);eb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||gb.test(f))&&fb.test(a))e=e.reverse();return this.pushStack(e,a,R.call(arguments)... |
if (onSuccessFn) onSuccessFn(r.getResult().Score); | if (onSuccessFn) onSuccessFn(r.Score); | function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Score); }, |
a:b+"></"+d+">"},F={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","... | a:b+"></"+d+">"},F={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","... | |
if (onSuccessFn) onSuccessFn(r.getResult().ItemsRemovedCount); | if (onSuccessFn) onSuccessFn(r.ItemsRemovedCount); | function(r) { if (onSuccessFn) onSuccessFn(r.getResult().ItemsRemovedCount); }, |
c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument... | wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(... | c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument... |
let groupItems = this.groupItems.filter(function(groupItem) { return !groupItem.hidden; }); | groupItems.some(function(groupItem) { if (!groupItem.hidden) { let activeTab = groupItem.getActiveTab(); if (activeTab) { tabItem = activeTab; return true; } var child = groupItem.getChild(0); if (child) { tabItem = child; return true; } } return false; }); | let groupItems = this.groupItems.filter(function(groupItem) { return !groupItem.hidden; }); |
wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(... | prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.ap... | wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(... |
$("#interestingTagAdd").click(function(){handlePickedTag(this,'good')}); | $("#interestingTagAdd").click(function(){handlePickedTag(this,'good');}); | $("#interestingTagAdd").click(function(){handlePickedTag(this,'good')}); |
this.fireEvent('differential', payload) }); | this.fireEvent('link', payload); }); | k.on('done', function(payload) { this.fireEvent('differential', payload) }); |
totalWidth += Jx.getNumber(col.getWidth()); if (rowHeader) { rowHeaderWidth = col.getWidth(); | if (!col.isHidden() && !(col.name == this.grid.row.options.headerColumn)) { totalWidth += Jx.getNumber(col.getWidth()); if (rowHeader) { rowHeaderWidth = col.getWidth(); } | this.columns.each(function(col,idx){ //are we checking the rowheader? var rowHeader = false; if (col.name == this.grid.row.options.headerColumn) { rowHeader = true; } //if it's fixed, set the width to the passed in width if (col.options.renderMode == 'fixed') { ... |
var rowHeader = false; if (col.name == this.grid.row.options.headerColumn) { rowHeader = true; } if (col.options.renderMode == 'fixed') { col.setWidth(col.options.width); } else if (col.options.renderMode == 'fit') { col.calculateWidth(rowHeader); } else if (col.options.renderMode == 'expand' && !$defined(expand)) { ... | var rowHeader = false; if (col.name == this.grid.row.options.headerColumn) { rowHeader = true; } if (col.options.renderMode == 'fixed') { col.calculateWidth(); } else if (col.options.renderMode == 'fit') { col.calculateWidth(rowHeader); } else if (col.options.renderMode == 'expand' && !$defined(expand)) { expand = co... | this.columns.each(function(col,idx){ //are we checking the rowheader? var rowHeader = false; if (col.name == this.grid.row.options.headerColumn) { rowHeader = true; } //if it's fixed, set the width to the passed in width if (col.options.renderMode == 'fixed') { col.setWidt... |
totalWidth += Jx.getNumber(col.getWidth()); | totalWidth += Jx.getNumber(col.getCellWidth()); | this.columns.each(function(col,idx){ //are we checking the rowheader? var rowHeader = false; if (col.name == this.grid.row.options.headerColumn) { rowHeader = true; } //if it's fixed, set the width to the passed in width if (col.options.renderMode == 'fixed') { ... |
a.addEvent('click', function() { top.main.location.href='../api/#'+a.id; }); | $$('h2').each(function(p){ if (p.id) { var s = $(p.id+'Script'); if (!s) return; var d = new Element('div', {'class':'sourceButton'}); new Jx.Toolbar({scroll:false}).add( new Jx.Button.Flyout({ tooltip: {set:'Examples',key:'mainToolbar',value:'showSource'}, image: 'images/script.png', onOpen: function() {prettyPrint();... | a.addEvent('click', function() { top.main.location.href='../api/#'+a.id; }); |
if (bioMaterialEditor.grid != null) bioMaterialEditor.grid.reloadFactorValues(); | refreshNeeded = true; | factorValueGrid.on("factorvaluecreate", function(fvgrid, fvs) { if (bioMaterialEditor.grid != null) bioMaterialEditor.grid.reloadFactorValues(); }); |
$('#password_forgotten_link').click(function() { $('#password_forgotten').slideToggle('fast'); $('input.request_password').focus(); }); | $('#close_notification_link').click(function() { $('#notifications').slideUp('fast'); }); | $('#password_forgotten_link').click(function() { $('#password_forgotten').slideToggle('fast'); $('input.request_password').focus(); }); |
this.domObj.addEvent('mousedown', (function(){ this.stack(); }).bind(this)); | var m = this.domObj.measure(function(){ return this.getSizes(['margin'],['top','bottom']).margin; }); | this.domObj.addEvent('mousedown', (function(){ this.stack(); }).bind(this)); |
signin_form.unbind( 'submit' ).submit( submit_action ); | openid_submit_button.click(); return false; | function(){ signin_form.unbind( 'submit' ).submit( submit_action ); } |
Ext.onReady(function() { Ext.QuickTips.init(); Ext.state.Manager.setProvider(new Ext.state.CookieProvider()); var eePanel = new Gemma.EEPanel(Ext.get("eeId").getValue()); eePanel.on("ready", function(panel) { setTimeout(function() { Ext.get('loading').remove(); Ext.get('loading-mask').fadeOut({ remove : true }); }, ... | manager.on('differential', function() { window.location.reload(true); }); | Ext.onReady(function() { Ext.QuickTips.init(); Ext.state.Manager.setProvider(new Ext.state.CookieProvider()); var eePanel = new Gemma.EEPanel(Ext.get("eeId").getValue()); eePanel.on("ready", function(panel) { setTimeout(function() { Ext.get('loading').remove(); Ext.get('loading-mask').fadeO... |
ExpressionExperimentSetController.remove(rec.data, callback); | ExpressionExperimentSetController.remove([rec.data], callback); | function(but) { if (but == 'no') { return; } this.ownerCt.loadMask.show(); if (rec.phantom) { // nonpersistent, go ahead. this.ownerCt.getStore().remove(rec); this.ownerCt.getStore().clearSelected(); this.resetBut.disable(); this.deleteB... |
prop.items.get(0).items.get(0).cascade(function(i) { i instanceof Ext.form.Field && i.setDisabled(true); }); | var record = store.getAt(store.findBy(function(r) { return r.get("layer") === layer; })); | prop.items.get(0).items.get(0).cascade(function(i) { i instanceof Ext.form.Field && i.setDisabled(true); }); |
this.columns.each(function(col, idx) { var selector = scope+' .jxGridCol'+idx+', '+scope + " .jxGridCol" + idx + " .jxGridCellContent"; col.rule = Jx.Styles.insertCssRule(selector, '', styleSheet); col.rule.style.width = col.getWidth() + "px"; }, this); | this.columns.each(function(col,idx){ var rowHeader = false; if (col.name == this.grid.row.options.headerColumn) { rowHeader = true; } if (col.options.renderMode == 'fixed') { col.setWidth(col.options.width); } else if (col.options.renderMode == 'fit') { col.calculateWidth(rowHeader); } else if (col.options.renderMod... | this.columns.each(function(col, idx) { var selector = scope+' .jxGridCol'+idx+', '+scope + " .jxGridCol" + idx + " .jxGridCellContent"; col.rule = Jx.Styles.insertCssRule(selector, '', styleSheet); col.rule.style.width = col.getWidth() + "px"; }, this); |
this.geneGrid.getSelectionModel().on("selectionchange", function(model) { var selected = model.getSelections(); if (selected.length > 0) { this.removeButton.enable(); } else { this.removeButton.disable(); } }.createDelegate(this)); | GenePickerController.getGenes([geneId], function(genes) { var g = genes[0]; if (g) { this.geneCombo.setGene(g); this.geneCombo.setValue(g.officialSymbol); this.getStore().removeAll(); this.addButton.enable(); } if (callback) { callback(args); } }.createDelegate(this)); | this.geneGrid.getSelectionModel().on("selectionchange", function(model) { var selected = model.getSelections(); if (selected.length > 0) { this.removeButton.enable(); } else { this.removeButton.disable(); } }.createDelegate(this)); |
this.geneGrid.getSelectionModel().on("selectionchange", function(model) { var selected = model.getSelections(); if (selected.length > 0) { this.removeButton.enable(); } else { this.removeButton.disable(); } }.createDelegate(this)); | function(model) { var selected = model.getSelections(); if (selected.length > 0) { this.removeButton.enable(); } else { this.removeButton.disable(); } }.createDelegate(this)); | this.geneGrid.getSelectionModel().on("selectionchange", function(model) { var selected = model.getSelections(); if (selected.length > 0) { this.removeButton.enable(); } else { this.removeButton.disable(); } }.createDelegate(this)); |
bioMaterialEditor.grid.reloadFactorValues(); | if (bioMaterialEditor.grid != null) bioMaterialEditor.grid.reloadFactorValues(); | factorValueGrid.on("factorvaluecreate", function(fvgrid, fvs) { bioMaterialEditor.grid.reloadFactorValues(); }); |
var ancestorNames = $.map(ancestorsOf($(destination)), function(a) { | var ancestorNames = $.map(ancestorsOf(destination), function(a) { | var ancestorNames = $.map(ancestorsOf($(destination)), function(a) { return a.id; }); |
$('#collection-expand-all').click(function () { $("#collection-tree-tree").dynatree("getRoot").visit(function(dtnode){ dtnode.expand(true); | $("#collection-tree-tree").dynatree("getRoot").visit(function(dtnode){ dtnode.expand(false); | $('#collection-expand-all').click(function () { $("#collection-tree-tree").dynatree("getRoot").visit(function(dtnode){ dtnode.expand(true); }); return false; }); |
return false; }); | $('#collection-expand-all').click(function () { $("#collection-tree-tree").dynatree("getRoot").visit(function(dtnode){ dtnode.expand(true); }); return false; }); | |
this.on("afteredit", function(model) { this.saveButton.enable(); this.revertButton.enable(); }, this.getTopToolbar()); | this.on("afteredit", function(e) { var col = this.getColumnModel().getColumnId(e.column); if (col == CATEGORY_COLUMN) { var f = this.categoryCombo.getTerm.bind(this.categoryCombo); var term = f(); e.record.set("category", term.term); e.record.set("categoryUri", term.uri); } }.createDelegate(this)); | this.on("afteredit", function(model) { this.saveButton.enable(); this.revertButton.enable(); }, this.getTopToolbar()); |
$('#collection-expand-all').click(function () { $("#collection-tree-tree").dynatree("getRoot").visit(function(dtnode){ dtnode.expand(true); }); return false; | $('#toggle-collection-tree').click(function () { if (treeDiv.css('display') == 'none') { $('#collection-tree').css({width: '300px', height: 'auto', 'background-color': 'transparent'}); $('#main-content').css('margin-left', '310px'); treeDiv.css('display', ''); } else { $('#collection-tree').css({width: '40px', height: ... | $('#collection-expand-all').click(function () { $("#collection-tree-tree").dynatree("getRoot").visit(function(dtnode){ dtnode.expand(true); }); return false; }); |
Jx.Dialog.orderDialogs(this); | this.stack(); | this.domObj.addEvent('mousedown', (function(){ Jx.Dialog.orderDialogs(this); }).bind(this)); |
function() { | $('#views_slideshow_thumbnailhover_breakout_teasers_' + settings.id + ' .views_slideshow_thumbnailhover_div_breakout_teaser').each(function(i,obj) { $(obj).hoverIntent( function() { | function() { $('.views_slideshow_thumbnailhover_div_breakout_teaser').removeClass('activeSlide'); var id = $(this).attr('id'); id = parseInt(id.substring(id.lastIndexOf('_')+1)); $(settings.targetId).cycle(id); $('#views_slideshow_thumbnailhover_div_break... |
function() { var id = $(this).attr('id'); settings.opts.startingSlide = parseInt(id.substring(id.lastIndexOf('_')+1)); $(settings.targetId).cycle(settings.opts); } ); }); | function() { $('.views_slideshow_thumbnailhover_div_breakout_teaser').removeClass('activeSlide'); var id = $(this).attr('id'); id = parseInt(id.substring(id.lastIndexOf('_')+1)); $(settings.targetId).cycle(id); $('#views_slideshow_thumbnailhover_div_break... | |
true;if(ya)c.inArray=function(a,b){return ya.call(b,a)};T=c(s);if(s.addEventListener)L=function(){s.removeEventListener("DOMContentLoaded",L,false);c.ready()};else if(s.attachEvent)L=function(){if(s.readyState==="complete"){s.detachEvent("onreadystatechange",L);c.ready()}};(function(){c.support={};var a=s.documentEleme... | else a.removeAttribute&&a.removeAttribute(c.expando);delete f[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===w){var f=this.triggerHandler("getDa... | true;if(ya)c.inArray=function(a,b){return ya.call(b,a)};T=c(s);if(s.addEventListener)L=function(){s.removeEventListener("DOMContentLoaded",L,false);c.ready()};else if(s.attachEvent)L=function(){if(s.readyState==="complete"){s.detachEvent("onreadystatechange",L);c.ready()}};(function(){c.support={};var a=s.documentEleme... |
$(window).resize(function() { checkPause(settings); | $('#views_slideshow_cycle_playpause_' + settings.vss_id).click(function(e) { if (settings.paused) { viewsSlideshowCycleResume(settings); } else { viewsSlideshowCyclePause(settings); } e.preventDefault(); | $(window).resize(function() { checkPause(settings); }); |
elements.each( function(e) { e.checked = !e.checked; }); | return function() { return ++i < iterable.length ? getter : null }; | elements.each( function(e) { e.checked = !e.checked; }); |
manager.on('updated', function(data) { Ext.getCmp('update-button-region').getEl().hide(); | Ext.onReady(function() { Ext.QuickTips.init(); | manager.on('updated', function(data) { Ext.getCmp('update-button-region').getEl().hide(); /* * Really we won't need to do this -- as the state on the database is supposed to match this one. */ var k = Ext.getCmp('shortname'); k.setValue(data.shortName); k = Ext.getCmp('name'); k.setV... |
Ext.state.Manager.setProvider(new Ext.state.CookieProvider()); | manager.on('updated', function(data) { Ext.getCmp('update-button-region').getEl().hide(); /* * Really we won't need to do this -- as the state on the database is supposed to match this one. */ var k = Ext.getCmp('shortname'); k.setValue(data.shortName); k = Ext.getCmp('name'); k.setV... | |
var k = Ext.getCmp('shortname'); k.setValue(data.shortName); | var eePanel = new Gemma.EEPanel(Ext.get("eeId").getValue()); | manager.on('updated', function(data) { Ext.getCmp('update-button-region').getEl().hide(); /* * Really we won't need to do this -- as the state on the database is supposed to match this one. */ var k = Ext.getCmp('shortname'); k.setValue(data.shortName); k = Ext.getCmp('name'); k.setV... |
k = Ext.getCmp('name'); k.setValue(data.name); | eePanel.on("ready", function(panel) { setTimeout(function() { Ext.get('loading').remove(); Ext.get('loading-mask').fadeOut({ remove : true }); }, 250); }); | manager.on('updated', function(data) { Ext.getCmp('update-button-region').getEl().hide(); /* * Really we won't need to do this -- as the state on the database is supposed to match this one. */ var k = Ext.getCmp('shortname'); k.setValue(data.shortName); k = Ext.getCmp('name'); k.setV... |
k = Ext.getCmp('description'); k.setValue(data.description); }.createDelegate(this)); | }); | manager.on('updated', function(data) { Ext.getCmp('update-button-region').getEl().hide(); /* * Really we won't need to do this -- as the state on the database is supposed to match this one. */ var k = Ext.getCmp('shortname'); k.setValue(data.shortName); k = Ext.getCmp('name'); k.setV... |
jq('input[name="paths:list"]').click(function(){ var checkbox = jq(this); if (checkbox.attr('checked')) { checkbox.closest('tr').addClass('ui-selected'); } else { checkbox.closest('tr').removeClass('ui-selected'); } }); | jq('.filter_link').each(function(){ var id = jq(this).attr('id'); var box = jq(this).parents('.filter_box:first').attr('id'); if(arbeitsraum._params[view_name][box] != undefined && arbeitsraum._params[view_name][box].indexOf(id) != -1){ jq(this).addClass('activate'); } else{ jq(this).removeClass('activate'); } }); | jq('input[name="paths:list"]').click(function(){ var checkbox = jq(this); if (checkbox.attr('checked')) { checkbox.closest('tr').addClass('ui-selected'); } else { checkbox.closest('tr').removeClass('ui-selected'); } }); |
function(but) { | this.getTopToolbar().on("create", function() { if (this.store.getModifiedRecords().length > 0) { Ext.Msg .confirm( 'Unsaved changes!', 'You should save your changes before creating new values. Are you sure you want to erase them?', function(but) { | function(but) { if (but == 'yes') { this.store.rejectChanges(); this.createNew(); } }.createDelegate(this)); |
} else { this.createNew(); } }.createDelegate(this)); | function(but) { if (but == 'yes') { this.store.rejectChanges(); this.createNew(); } }.createDelegate(this)); | |
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,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.paren... | prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.ap... | |
prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.ap... | return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ja,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(V,"")],f)[0]}... | prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.ap... |
prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.ap... | ""):null;else if(typeof a==="string"&&!ta.test(a)&&(c.support.leadingWhitespace||!V.test(a))&&!F[(La.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ka,Ma);try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}... | prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.ap... |
return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ja,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(V,"")],f)[0]}... | ""):null;else if(typeof a==="string"&&!ta.test(a)&&(c.support.leadingWhitespace||!V.test(a))&&!F[(La.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ka,Ma);try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}... | return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ja,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(V,"")],f)[0]}... |
""):null;else if(typeof a==="string"&&!ta.test(a)&&(c.support.leadingWhitespace||!V.test(a))&&!F[(La.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ka,Ma);try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}... | this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),f=d.html();d.replaceWith(a.call(this,b,f))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isF... | ""):null;else if(typeof a==="string"&&!ta.test(a)&&(c.support.leadingWhitespace||!V.test(a))&&!F[(La.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ka,Ma);try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}... |
this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),f=d.html();d.replaceWith(a.call(this,b,f))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isF... | u.appendChild(u.ownerDocument.createElement("tbody")):u}var e,j,i=a[0],o=[],k;if(!c.support.checkClone&&arguments.length===3&&typeof i==="string"&&ua.test(i))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(i))return this.each(function(u){var z=c(this);a[0]=i.call(this,u,b?z.html():w);z.domMan... | this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),f=d.html();d.replaceWith(a.call(this,b,f))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isF... |
if (onSuccessFn) onSuccessFn(r.getResult().ValueLength); | if (onSuccessFn) onSuccessFn(r.ValueLength); | function(r) { if (onSuccessFn) onSuccessFn(r.getResult().ValueLength); }, |
u.appendChild(u.ownerDocument.createElement("tbody")):u}var e,j,i=a[0],o=[],k;if(!c.support.checkClone&&arguments.length===3&&typeof i==="string"&&ua.test(i))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(i))return this.each(function(u){var z=c(this);a[0]=i.call(this,u,b?z.html():w);z.domMan... | 1?(k=k.firstChild):k.firstChild){b=b&&c.nodeName(j,"tr");for(var n=0,r=this.length;n<r;n++)d.call(b?f(this[n],j):this[n],n>0||e.cacheable||this.length>1?k.cloneNode(true):k)}o.length&&c.each(o,Qa)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",repla... | u.appendChild(u.ownerDocument.createElement("tbody")):u}var e,j,i=a[0],o=[],k;if(!c.support.checkClone&&arguments.length===3&&typeof i==="string"&&ua.test(i))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(i))return this.each(function(u){var z=c(this);a[0]=i.call(this,u,b?z.html():w);z.domMan... |
hideLoadingGif(); | $("#btn_add_book").click(function(){ post_new_book($("#book_title").val(), $("#book_author").val(), 0); }); | |
$("#ignoredTagAdd").click(function(){handlePickedTag(this,'bad')}); | $("#ignoredTagAdd").click(function(){handlePickedTag(this,'bad');}); | $("#ignoredTagAdd").click(function(){handlePickedTag(this,'bad')}); |
window.addEventListener("UIReadyDelayed", function(aEvent) { window.removeEventListener(aEvent.type, arguments.callee, false); Elements.panelUI.hidden = false; ExtensionsView.init(); DownloadsView.init(); PreferencesView.init(); ConsoleView.init(); FullScreenVideo.init(); #ifdef MOZ_IPC Cc["@mozilla.org/xre/app-i... | let union = aRects.reduce(function(a, b) { return a.expandToContain(b); }, new Rect(0, 0, 0, 0)).map(bv.browserToViewport); | window.addEventListener("UIReadyDelayed", function(aEvent) { window.removeEventListener(aEvent.type, arguments.callee, false); // We unhide the panelUI so the XBL and settings can initialize Elements.panelUI.hidden = false; // Init the views ExtensionsView.init(); DownloadsView.init();... |
this.fireEvent('differential', payload) }); | this.fireEvent('missingValue', payload) }); | k.on('done', function(payload) { this.fireEvent('differential', payload) }); |
var selector = scope+' .jxGridCol'+idx+', '+scope + " .jxGridCol" + idx + " .jxGridCellContent"; | var selector = scope+' .jxGridCol'+idx | this.columns.each(function(col, idx) { var selector = scope+' .jxGridCol'+idx+', '+scope + " .jxGridCol" + idx + " .jxGridCellContent"; var dec = ''; if (col.options.renderMode === 'fixed' || col.options.renderMode === 'expand') { //set the white-space to 'normal !im... |
window['_pr_isIE6'] = function () { var isIE6 = navigator && navigator.userAgent && /\bMSIE 6\./.test(navigator.userAgent); window['_pr_isIE6'] = function () {return isIE6;}; return isIE6; }; | $$('a').each(function(a) { if (a.id) { a.addEvent('click', function() { top.main.location.href='../api/#'+a.id; }); } }); | window['_pr_isIE6'] = function () { var isIE6 = navigator && navigator.userAgent && /\bMSIE 6\./.test(navigator.userAgent); window['_pr_isIE6'] = function () {return isIE6;}; return isIE6;}; |
c = e.which ? e.which : e.keyCode; if (c == 13) { nickname = jQuery(this).val(); $.ajax({ url: "/nickname", type: "POST", data: { "new_nick": nickname }, success: function(msg){ $("#nick_text").hide(); $("#hi_msg").text("Hi " + nickname); }, error: on_ajax_fail }); return false; } return true; | onEnterDo(e, changeNickname, jQuery(this).val()); | $("#nick_text").keypress(function(e){ c = e.which ? e.which : e.keyCode; if (c == 13) { nickname = jQuery(this).val(); $.ajax({ url: "/nickname", type: "POST", data: { "new_nick": nickname }, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.