rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
var canceller = function () {blurPending = false; }; | (function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false... | var canceller = function () {blurPending = false; }; |
return (_settings.idlehide && _api.jwGetState() == jwplayer.api.events.state.IDLE) || _api.jwGetFullscreen() || (_settings.position.toUpperCase() == jwplayer.html5.view.positions.OVER && (_api.jwGetState() != jwplayer.api.events.state.IDLE && _api.jwGetState() != jwplayer.api.events.state.PAUSED)); | if (_api.jwGetState() == jwplayer.api.events.state.IDLE || _api.jwGetState() == jwplayer.api.events.state.PAUSED) { if (_settings.idlehide){ return true; } return false; } if (_api.jwGetFullscreen()){ return true; } if (_settings.position.toUpperCase() == jwplayer.html5.view.positions.OVER){ return true; } return false... | function canFade() { return (_settings.idlehide && _api.jwGetState() == jwplayer.api.events.state.IDLE) || _api.jwGetFullscreen() || (_settings.position.toUpperCase() == jwplayer.html5.view.positions.OVER && (_api.jwGetState() != jwplayer.api.events.state.IDLE && _api.jwGetState() != jwplayer.api.events.state... |
if (domain.match(/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/)) return null; | canGoUp : function(baseUrl) { var returnUrl; if(baseUrl == null || baseUrl.length <= 0) { return null; } var url = null; try { var url = new fr.hardcoding.scrollupfolder.returnURL(baseUrl); } catch(ex) { return null; } if (url == null) { return null; } var domain = url.host; if (domain == null) { ... | |
var returnUrl; if(baseUrl == null || baseUrl.length <= 0) { return null; } | canGoUp : function(baseUrl) { var returnUrl; if(baseUrl == null || baseUrl.length <= 0) { return null; } var url = null; try { var url = new fr.hardcoding.scrollupfolder.returnURL(baseUrl); } catch(ex) { return null; } if (url == null) { return null; } var domain = url.host; if (domain == null) { ... | |
var url = new fr.hardcoding.scrollupfolder.returnURL(baseUrl); | url = new fr.hardcoding.scrollupfolder.returnURL(baseUrl); | canGoUp : function(baseUrl) { var returnUrl; if(baseUrl == null || baseUrl.length <= 0) { return null; } var url = null; try { var url = new fr.hardcoding.scrollupfolder.returnURL(baseUrl); } catch(ex) { return null; } if (url == null) { return null; } var domain = url.host; if (domain == null) { ... |
if (url == null) { | var resolvedUrl = null; var indexGetParam = baseUrl.indexOf('?'); if (indexGetParam != -1 && fr.hardcoding.scrollupfolder.prefs.parseGetVars.value) { return baseUrl.substring(0, indexGetParam); } else if (baseUrl.charAt(baseUrl.length-1) == '/') { resolvedUrl = fr.hardcoding.scrollupfolder.doResolve(baseUrl, '..');... | canGoUp : function(baseUrl) { var returnUrl; if(baseUrl == null || baseUrl.length <= 0) { return null; } var url = null; try { var url = new fr.hardcoding.scrollupfolder.returnURL(baseUrl); } catch(ex) { return null; } if (url == null) { return null; } var domain = url.host; if (domain == null) { ... |
var domain = url.host; if (domain == null) { | var scheme = url.scheme; var newDomain = domain.replace(/.*?\./,''); if (newDomain == null || newDomain == content.document.domain || newDomain.indexOf('.') == -1) { | canGoUp : function(baseUrl) { var returnUrl; if(baseUrl == null || baseUrl.length <= 0) { return null; } var url = null; try { var url = new fr.hardcoding.scrollupfolder.returnURL(baseUrl); } catch(ex) { return null; } if (url == null) { return null; } var domain = url.host; if (domain == null) { ... |
var resolvedUrl; var indexGetParam = baseUrl.indexOf('?'); if (baseUrl.charAt(baseUrl.length - 1) == '/') { resolvedUrl = fr.hardcoding.scrollupfolder.doResolve(baseUrl, '..'); } else if (indexGetParam != -1 && fr.hardcoding.scrollupfolder.prefs.parseGetVars.value) { resolvedUrl = baseUrl.substring(0, indexGetParam); | var matches = newDomain.match(/\./g); if(matches != null && matches.length <= 1) { resolvedUrl = scheme+': | canGoUp : function(baseUrl) { var returnUrl; if(baseUrl == null || baseUrl.length <= 0) { return null; } var url = null; try { var url = new fr.hardcoding.scrollupfolder.returnURL(baseUrl); } catch(ex) { return null; } if (url == null) { return null; } var domain = url.host; if (domain == null) { ... |
resolvedUrl = fr.hardcoding.scrollupfolder.doResolve(baseUrl, '.'); | resolvedUrl = scheme+': | canGoUp : function(baseUrl) { var returnUrl; if(baseUrl == null || baseUrl.length <= 0) { return null; } var url = null; try { var url = new fr.hardcoding.scrollupfolder.returnURL(baseUrl); } catch(ex) { return null; } if (url == null) { return null; } var domain = url.host; if (domain == null) { ... |
if (resolvedUrl != baseUrl) { returnUrl = resolvedUrl; } else { if (domain.match(/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/)) return null; var newDomain = domain.replace(/.*?\./,''); if (newDomain != null && newDomain != content.document.domain && newDomain.indexOf('.') != -1) { var matches = newDomain.match(/\./g); ... | if (resolvedUrl == baseUrl) { | canGoUp : function(baseUrl) { var returnUrl; if(baseUrl == null || baseUrl.length <= 0) { return null; } var url = null; try { var url = new fr.hardcoding.scrollupfolder.returnURL(baseUrl); } catch(ex) { return null; } if (url == null) { return null; } var domain = url.host; if (domain == null) { ... |
return returnUrl; | return resolvedUrl; | canGoUp : function(baseUrl) { var returnUrl; if(baseUrl == null || baseUrl.length <= 0) { return null; } var url = null; try { var url = new fr.hardcoding.scrollupfolder.returnURL(baseUrl); } catch(ex) { return null; } if (url == null) { return null; } var domain = url.host; if (domain == null) { ... |
var canHaveDefaultTabindex = function(elements) { if (elements.length <= 0) { return false; } return $(elements[0]).is("a, input, button, select, area, textarea, object"); }; | (function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false... | var canHaveDefaultTabindex = function(elements) { if (elements.length <= 0) { return false; } return $(elements[0]).is("a, input, button, select, area, textarea, object"); }; |
canUnload : function(compMgr) { return true; } | return new YahooFeedNode().QueryInterface(iid);}},canUnload:function(compMgr){return true;}};} | canUnload : function(compMgr) { return true; } |
canUnload : function(compMgr) { return true; } | return new YLogFileAppender().QueryInterface(iid);}},canUnload:function(compMgr){return true;}};} | canUnload : function(compMgr) { return true; } |
canUnload : function(compMgr) { return true; } | ytbDebug("Creating YahooFileIO");return new YahooFileIO().QueryInterface(iid);}},canUnload:function(compMgr){return true;}};} | canUnload : function(compMgr) { return true; } |
canUnload : function(compMgr) { return true; } | return FeedProcessorModule.mFactory;},canUnload:function(compMgr){return true;}};function NSGetModule(compMgr,fileSpec){return FeedProcessorModule;} | canUnload : function(compMgr) { return true; } |
canUnload : function(compMgr) { return true; } | throw Components.results.NS_ERROR_NO_INTERFACE;}catch(e){debug(e);throw e;}},canUnload:function(compMgr){return true;}};function NSGetModule(compMgr,fileSpec){Module.mObjects.push({mCID:Components.ID("{43E76C2E-603D-4bf4-99CC-BAB4C289E4B7}"),mProgID:YahooExtConfig.mProgID+"/ytoolbarlogger;1",mName:"Yahoo! Logger",mFact... | canUnload : function(compMgr) { return true; } |
canUnload : function(compMgr) { return true; } | throw Components.results.NS_ERROR_NO_INTERFACE;}catch(e){debug(e);throw e;}},canUnload:function(compMgr){return true;}};function NSGetModule(compMgr,fileSpec){Module.mObjects.push({mCID:Components.ID("{1085656f-9a58-4190-ab48-33df802e9fa3}"),mProgID:YahooExtConfig.mProgID+"/search/indexer;1",mName:"Yahoo ! Search Index... | canUnload : function(compMgr) { return true; } |
canUnload : function(compMgr) { return true; } | return new YahooDomBuilder().QueryInterface(iid);}},canUnload:function(compMgr){return true;}};} | canUnload : function(compMgr) { return true; } |
var $div = $content.find('#xrefs'); | var $div = $content.find('.xreflinks'); | var cbXrefs = function(data, textStatus){ var $div = $content.find('#xrefs'); $div.empty(); if (!data) { return; } $div.append('<div><b>External references:</b></div>'); var xrefs = {}; var lines = data.split("\n"); f... |
autoHeight: false | autoHeight: false, collapsible: true | var cbXrefs = function(data, textStatus){ var $div = $content.find('.xreflinks'); $div.empty(); if (!data) { return; } $div.append('<div><b>External references:</b></div>'); var xrefs = {}; var lines = data.split("\n"); ... |
resetmap(); | resetmap(false); | function centermap(x,y){ var vb = getviewbox(map); x *= zoomlevels[zoomlevel]; y *= zoomlevels[zoomlevel]; vb[0] = x-(vb[2]/2.0) vb[1] = y-(vb[3]/2.0) setviewbox(vb); resetmap();} |
same( $(".ui-menu").length, 0 ); | same( $(".ui-menu:visible").length, 0 ); | change: function(event) { same(event.type, "autocompletechange"); same( $(".ui-menu").length, 0 ); } |
same( 5, $(this).progressbar("value") ); } | changes++; same( $( this ).progressbar( "value" ), value, "change at " + value ); }, | change: function() { same( 5, $(this).progressbar("value") ); } |
change: function(event) { | change: function(event, ui) { | change: function(event) { same(event.type, "autocompletechange"); same( $(".ui-menu:visible").length, 0 ); } |
same( $(".ui-menu:visible").length, 0 ); | same(ui.item, null); start(); | change: function(event) { same(event.type, "autocompletechange"); same( $(".ui-menu:visible").length, 0 ); } |
xajax_doXMLHTTP('felamimail.ajaxfelamimail.changeActiveAccount',_accountSelection.value); | window.xajax_doXMLHTTP('felamimail.ajaxfelamimail.changeActiveAccount',_accountSelection.value); | function changeActiveAccount(_accountSelection){ //alert(_accountSelection.value); xajax_doXMLHTTP('felamimail.ajaxfelamimail.changeActiveAccount',_accountSelection.value);} |
window.xajax_doXMLHTTP('felamimail.ajaxfelamimail.changeActiveAccount',_accountSelection.value); | egw_appWindow('felamimail').xajax_doXMLHTTP('felamimail.ajaxfelamimail.changeActiveAccount',_accountSelection.value); | function changeActiveAccount(_accountSelection){ //alert(_accountSelection.value); window.xajax_doXMLHTTP('felamimail.ajaxfelamimail.changeActiveAccount',_accountSelection.value);} |
$(tid+'#num-'+shiptype).val(rowtotal); | if(change != 0){ $(tid+'#num-'+shiptype).val(rowtotal); } | function changebuildlist(planetid, shiptype, change){ var columns = []; var rows = []; var numships = []; var tid = "#buildfleettable-"+planetid+" "; var rowtotal = $(tid+'#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } ro... |
$(tid+"td[id ^= 'row-']").each(function() { var curshiptype = $(this).attr('id').split('-')[1]; rows.push(curshiptype) }); | function changebuildlist(planetid, shiptype, change){ var columns = []; var rows = []; var numships = []; var tid = "#buildfleettable-"+planetid+" "; var rowtotal = $(tid+'#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } ro... | |
$(tid+"td[id ^= '" +qry+ "']").each(function() { | $(tbl).find("td[id ^= '" +qry+ "']").each(function() { | function changebuildlist(planetid, shiptype, change){ var columns = []; var rows = []; var numships = []; var tid = "#buildfleettable-"+planetid+" "; var rowtotal = $(tid+'#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } ro... |
var curnumships = parseInt($(tid+' #num-'+curshiptype).val()); | var curnumships = parseInt($(tbl).find('#num-'+curshiptype).val()); if(isNaN(curnumships)){ curnumships = 0; } | function changebuildlist(planetid, shiptype, change){ var columns = []; var rows = []; var numships = []; var tid = "#buildfleettable-"+planetid+" "; var rowtotal = $(tid+'#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } ro... |
}); var available = parseInt($(tid+" #available-"+colname).html()); | }); var available = parseInt($(tbl).find("#available-"+colname).html()); | function changebuildlist(planetid, shiptype, change){ var columns = []; var rows = []; var numships = []; var tid = "#buildfleettable-"+planetid+" "; var rowtotal = $(tid+'#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } ro... |
$(tid+"#total-"+colname).html(coltotal); | $(tbl).find("#total-"+colname).html(coltotal); | function changebuildlist(planetid, shiptype, change){ var columns = []; var rows = []; var numships = []; var tid = "#buildfleettable-"+planetid+" "; var rowtotal = $(tid+'#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } ro... |
$(tid+"#total-"+colname).css('color','red'); | $(tbl).find("#total-"+colname).css('color','red'); | function changebuildlist(planetid, shiptype, change){ var columns = []; var rows = []; var numships = []; var tid = "#buildfleettable-"+planetid+" "; var rowtotal = $(tid+'#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } ro... |
$(tid+"#total-"+colname).css('color','white'); | $(tbl).find("#total-"+colname).css('color','white'); | function changebuildlist(planetid, shiptype, change){ var columns = []; var rows = []; var numships = []; var tid = "#buildfleettable-"+planetid+" "; var rowtotal = $(tid+'#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } ro... |
$(tid+"input[id ^= 'num-']").each(function() { totalships += parseInt($(this).val()); | $(tbl).find("input[id ^= 'num-']").each(function() { var numships = parseInt($(this).val()); if(!isNaN(numships)){ totalships += numships; } | function changebuildlist(planetid, shiptype, change){ var columns = []; var rows = []; var numships = []; var tid = "#buildfleettable-"+planetid+" "; var rowtotal = $(tid+'#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } ro... |
$(tid+"#submit-build-"+planetid).show(); $(tid+"#submit-build-another-"+planetid).show(); | $(tbl).find("#submit-build-"+planetid).show(); $(tbl).find("#submit-build-another-"+planetid).show(); | function changebuildlist(planetid, shiptype, change){ var columns = []; var rows = []; var numships = []; var tid = "#buildfleettable-"+planetid+" "; var rowtotal = $(tid+'#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } ro... |
$(tid+"#submit-build-"+planetid).hide(); $(tid+"#submit-build-another-"+planetid).hide(); | $(tbl).find("#submit-build-"+planetid).hide(); $(tbl).find("#submit-build-another-"+planetid).hide(); | function changebuildlist(planetid, shiptype, change){ var columns = []; var rows = []; var numships = []; var tid = "#buildfleettable-"+planetid+" "; var rowtotal = $(tid+'#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } ro... |
$(tid+"#total-ships").html(totalships); | $(tbl).find("#total-ships").html(totalships); | function changebuildlist(planetid, shiptype, change){ var columns = []; var rows = []; var numships = []; var tid = "#buildfleettable-"+planetid+" "; var rowtotal = $(tid+'#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } ro... |
function changebuildlist(shiptype, change) | function changebuildlist(planetid, shiptype, change) | function changebuildlist(shiptype, change){ var columns = []; var rows = []; var numships = []; var rowtotal = $('#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } rowtotal += change; if (rowtotal < 0){ rowtotal = 0; } ... |
var rowtotal = $('#num-'+shiptype).val(); | var tid = "#buildfleettable-"+planetid+" "; var rowtotal = $(tid+'#num-'+shiptype).val(); | function changebuildlist(shiptype, change){ var columns = []; var rows = []; var numships = []; var rowtotal = $('#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } rowtotal += change; if (rowtotal < 0){ rowtotal = 0; } ... |
$('#num-'+shiptype).val(rowtotal); $("th[id ^= 'col-']").each(function() { | $(tid+'#num-'+shiptype).val(rowtotal); $(tid+"th[id ^= 'col-']").each(function() { | function changebuildlist(shiptype, change){ var columns = []; var rows = []; var numships = []; var rowtotal = $('#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } rowtotal += change; if (rowtotal < 0){ rowtotal = 0; } ... |
$("td[id ^= 'row-']").each(function() { | $(tid+"td[id ^= 'row-']").each(function() { | function changebuildlist(shiptype, change){ var columns = []; var rows = []; var numships = []; var rowtotal = $('#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } rowtotal += change; if (rowtotal < 0){ rowtotal = 0; } ... |
$("td[id ^= '" +qry+ "']").each(function() { | $(tid+"td[id ^= '" +qry+ "']").each(function() { | function changebuildlist(shiptype, change){ var columns = []; var rows = []; var numships = []; var rowtotal = $('#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } rowtotal += change; if (rowtotal < 0){ rowtotal = 0; } ... |
var curnumships = parseInt($('#num-'+curshiptype).val()); | var curnumships = parseInt($(tid+' #num-'+curshiptype).val()); | function changebuildlist(shiptype, change){ var columns = []; var rows = []; var numships = []; var rowtotal = $('#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } rowtotal += change; if (rowtotal < 0){ rowtotal = 0; } ... |
var available = parseInt($("#available-"+colname).html()); | var available = parseInt($(tid+" #available-"+colname).html()); | function changebuildlist(shiptype, change){ var columns = []; var rows = []; var numships = []; var rowtotal = $('#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } rowtotal += change; if (rowtotal < 0){ rowtotal = 0; } ... |
$("#total-"+colname).html(coltotal); | $(tid+"#total-"+colname).html(coltotal); | function changebuildlist(shiptype, change){ var columns = []; var rows = []; var numships = []; var rowtotal = $('#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } rowtotal += change; if (rowtotal < 0){ rowtotal = 0; } ... |
$("#total-"+colname).css('color','red'); | $(tid+"#total-"+colname).css('color','red'); | function changebuildlist(shiptype, change){ var columns = []; var rows = []; var numships = []; var rowtotal = $('#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } rowtotal += change; if (rowtotal < 0){ rowtotal = 0; } ... |
$("#total-"+colname).css('color','white'); | $(tid+"#total-"+colname).css('color','white'); | function changebuildlist(shiptype, change){ var columns = []; var rows = []; var numships = []; var rowtotal = $('#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } rowtotal += change; if (rowtotal < 0){ rowtotal = 0; } ... |
$("input[id ^= 'num-']").each(function() { | $(tid+"input[id ^= 'num-']").each(function() { | function changebuildlist(shiptype, change){ var columns = []; var rows = []; var numships = []; var rowtotal = $('#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } rowtotal += change; if (rowtotal < 0){ rowtotal = 0; } ... |
$("#submit-build").show(); $("#submit-build-another").show(); | $(tid+"#submit-build-"+planetid).show(); $(tid+"#submit-build-another-"+planetid).show(); | function changebuildlist(shiptype, change){ var columns = []; var rows = []; var numships = []; var rowtotal = $('#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } rowtotal += change; if (rowtotal < 0){ rowtotal = 0; } ... |
$("#submit-build").hide(); $("#submit-build-another").hide(); | $(tid+"#submit-build-"+planetid).hide(); $(tid+"#submit-build-another-"+planetid).hide(); | function changebuildlist(shiptype, change){ var columns = []; var rows = []; var numships = []; var rowtotal = $('#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } rowtotal += change; if (rowtotal < 0){ rowtotal = 0; } ... |
$("#total-ships").html(totalships); | $(tid+"#total-ships").html(totalships); | function changebuildlist(shiptype, change){ var columns = []; var rows = []; var numships = []; var rowtotal = $('#num-'+shiptype).val(); var hidebuttons = false; if (rowtotal == ""){ rowtotal = 0; } else { rowtotal = parseInt(rowtotal); } rowtotal += change; if (rowtotal < 0){ rowtotal = 0; } ... |
changeDataForKey : function(url,data) { try { var resource = this.getResource(url,true); var oldData = this.mFileDataSource.GetTarget(resource, this.mRscData, true); var newData = this.mRDFService.GetLiteral(data); if (oldData) { this.mFileDataSource.Change(resource, this.mRscData, oldData, newData); } else { this.mFil... | return resource;},changeDataForKey:function(url,data){try{var resource=this.getResource(url,true);var oldData=this.mFileDataSource.GetTarget(resource,this.mRscData,true);var newData=this.mRDFService.GetLiteral(data);if(oldData){this.mFileDataSource.Change(resource,this.mRscData,oldData,newData);}else{this.mFileDataSour... | changeDataForKey : function(url,data) { try { var resource = this.getResource(url,true); var oldData = this.mFileDataSource.GetTarget(resource, this.mRscData, true); var newData = this.mRDFService.GetLiteral(data); if (oldData) { ... |
resetMessageSelect(); | window.resetMessageSelect(); | function changeSorting(_sort, _aNode) { resetMessageSelect(); document.getElementById('messageCounter').innerHTML = '<span style="font-weight: bold;">Change sorting ...</span>'; document.getElementById('divMessageList').innerHTML = ''; aTags = document.getElementById('tableHeader').getElementsByTagName('a'); aTags[0].s... |
xajax_doXMLHTTP("felamimail.ajaxfelamimail.changeSorting",_sort); | window.xajax_doXMLHTTP("felamimail.ajaxfelamimail.changeSorting",_sort); | function changeSorting(_sort, _aNode) { resetMessageSelect(); document.getElementById('messageCounter').innerHTML = '<span style="font-weight: bold;">Change sorting ...</span>'; document.getElementById('divMessageList').innerHTML = ''; aTags = document.getElementById('tableHeader').getElementsByTagName('a'); aTags[0].s... |
window.resetMessageSelect(); | egw_appWindow('felamimail').resetMessageSelect(); | function changeSorting(_sort, _aNode) { window.resetMessageSelect(); document.getElementById('messageCounter').innerHTML = '<span style="font-weight: bold;">Change sorting ...</span>'; document.getElementById('divMessageList').innerHTML = ''; aTags = document.getElementById('tableHeader').getElementsByTagName('a'); aTa... |
window.xajax_doXMLHTTP("felamimail.ajaxfelamimail.changeSorting",_sort); | egw_appWindow('felamimail').xajax_doXMLHTTP("felamimail.ajaxfelamimail.changeSorting",_sort); | function changeSorting(_sort, _aNode) { window.resetMessageSelect(); document.getElementById('messageCounter').innerHTML = '<span style="font-weight: bold;">Change sorting ...</span>'; document.getElementById('divMessageList').innerHTML = ''; aTags = document.getElementById('tableHeader').getElementsByTagName('a'); aTa... |
if (!inRecent && !inFavorites) this._showPersonaChangeNotification(); | changeToPersona: function(persona) { this.currentPersona = persona; this._addPersonaToRecent(persona); this.selected = "current"; this._prefs.reset("persona.lastRefreshed"); this._prefs.set("persona.lastChanged", new Date().getTime().toString()); Observers.notify("personas:persona:changed"); }, | |
this.currentPersona = this._getRandomPersona(category); | this.currentPersona = this._getRandomPersonaFromCategory(category); | changeToRandomPersona: function(category) { this.category = category; this.currentPersona = this._getRandomPersona(category); this.selected = "random"; this._prefs.set("persona.lastChanged", new Date().getTime().toString()); Observers.notify("personas:persona:changed"); }, |
}, { header: "Icon (full URL)", dataIndex: 'ch_icon', width: 200, editor: new fm.TextField() | tvheadend.chconf = function() { var xmltvChannels = new Ext.data.JsonStore({ root:'entries', fields: ['xcTitle','xcIcon'], url:'xmltv', baseParams: { op: 'listChannels' } }); var fm = Ext.form; var actions = new Ext.ux.grid.RowActions({ header:'', dataIndex: 'actions', width: 45, actions: [ { iconC... | |
assert( z , "couldn't find : " + x ) assert.eq( e , z.x , "count for : " + x ) | if ( z && z.x == e ) continue; sleep( 5000 ); var y = db.foo.findOne( { _id : parseInt( x ) } ) if ( y ){ delete y.s; } assert( z , "couldn't find : " + x + " y:" + tojson(y)) assert.eq( e , z.x , "count for : " + x + " y:" + tojson(y)) | function check(){ for ( var x in counts ){ var e = counts[x]; var z = db.foo.findOne( { _id : parseInt( x ) } ) assert( z , "couldn't find : " + x ) assert.eq( e , z.x , "count for : " + x ) }} |
s.printChunks( "test.foo" ) | function check( msg , dontAssert ){ for ( var x in counts ){ var e = counts[x]; var z = db.foo.findOne( { _id : parseInt( x ) } ) if ( z && z.x == e ) continue; if ( dontAssert ) return false; sleep( 10000 ); var y = db.foo.findO... | |
function check(){ | function check( msg ){ | function check(){ for ( var x in counts ){ var e = counts[x]; var z = db.foo.findOne( { _id : parseInt( x ) } ) if ( z && z.x == e ) continue; sleep( 5000 ); var y = db.foo.findOne( { _id : parseInt( x ) } ) if ( y ){ delete y.s;... |
sleep( 5000 ); | sleep( 10000 ); | function check(){ for ( var x in counts ){ var e = counts[x]; var z = db.foo.findOne( { _id : parseInt( x ) } ) if ( z && z.x == e ) continue; sleep( 5000 ); var y = db.foo.findOne( { _id : parseInt( x ) } ) if ( y ){ delete y.s;... |
assert( z , "couldn't find : " + x + " y:" + tojson(y)) assert.eq( e , z.x , "count for : " + x + " y:" + tojson(y)) | assert( z , "couldn't find : " + x + " y:" + tojson(y) + " " + msg ) assert.eq( e , z.x , "count for : " + x + " y:" + tojson(y) + " " + msg ) | function check(){ for ( var x in counts ){ var e = counts[x]; var z = db.foo.findOne( { _id : parseInt( x ) } ) if ( z && z.x == e ) continue; sleep( 5000 ); var y = db.foo.findOne( { _id : parseInt( x ) } ) if ( y ){ delete y.s;... |
Pref.setCharPref('extensions.lastSelectedSkin', kBASE_THEME); if (Pref.getBoolPref('extensions.dss.enabled')) { Pref.setCharPref('general.skins.selectedSkin', kBASE_THEME); | var isBaseTheme = true; try { isBaseTheme = Pref.getCharPref(kPREF_LAST_SELECTED_THEME) != kBASE_THEME; | checkCompeting : function() { if (!Pref.getBoolPref(kPREF_CONFIRM_ENABLED)) return; var theme = this.checkCompetingTheme(); var extensions = this.getCompetingExtensions(theme); if (!theme && !extensions.length) { return; } var shouldRestart = false; var checked = { value : true }; var title, message, c... |
else { Pref.setBoolPref('extensions.dss.switchPending', true); shouldRestart = true; | catch(e) { } if (!isBaseTheme) { Pref.setCharPref(kPREF_LAST_SELECTED_THEME, kBASE_THEME); if (Pref.getBoolPref('extensions.dss.enabled')) { Pref.setCharPref(kPREF_SELECTED_THEME, kBASE_THEME); } else { Pref.setBoolPref('extensions.dss.switchPending', true); shouldRestart = true; } } try { if (Pref.getBoolPref(kPREF_LI... | checkCompeting : function() { if (!Pref.getBoolPref(kPREF_CONFIRM_ENABLED)) return; var theme = this.checkCompetingTheme(); var extensions = this.getCompetingExtensions(theme); if (!theme && !extensions.length) { return; } var shouldRestart = false; var checked = { value : true }; var title, message, c... |
if (Pref.getCharPref('extensions.lastSelectedSkin') == kBASE_THEME) { | if (Pref.getCharPref(kPREF_LAST_SELECTED_THEME) == kBASE_THEME) { | checkCompetingTheme : function() { if (!Pref.getBoolPref(kPREF_STYLE_ENABLED) || StyleChecker.isBaseThemeSelected()) { return false; } try { if (Pref.getCharPref('extensions.lastSelectedSkin') == kBASE_THEME) { return false; } } catch(e) { } return true; }, |
function checkContribute(ID, lump) { if (ID.indexOf("scr=contribute-") !== -1) { var scr = ID.substring("scr=contribute-".length); addLump(t.collectmap, scr, lump); } } | (function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false... | function checkContribute(ID, lump) { if (ID.indexOf("scr=contribute-") !== -1) { var scr = ID.substring("scr=contribute-".length); addLump(t.collectmap, scr, lump); } } |
} | function checkContribute(ID, lump) { if (ID.indexOf("scr=contribute-") !== -1) { var scr = ID.substring("scr=contribute-".length); addLump(t.collectmap, scr, lump); } } | |
assert( new RegExp( baseName + "/" + baseName + "." ).test( files[ f ].name ) ); | assert( new RegExp( baseName + "/" + baseName + "." ).test( files[ f ].name ) , "B dir:" + dir + " f: " + f ); | checkDir = function( dir ) { db.runCommand( {fsync:1} ); files = listFiles( dir ); found = false; for( f in files ) { if ( new RegExp( baseName ).test( files[ f ].name ) ) { found = true; assert( files[ f ].isDirectory, "file not directory" ); } } assert( found, "no... |
db.runCommand( {fsync:1} ); | db.adminCommand( {fsync:1} ); | checkDir = function( dir ) { db.runCommand( {fsync:1} ); files = listFiles( dir ); found = false; for( f in files ) { if ( new RegExp( baseName ).test( files[ f ].name ) ) { found = true; assert( files[ f ].isDirectory, "file not directory" ); } } assert( found, "no... |
var checkForModifier = function(binding, evt) { if (!binding.modifier) { return true; } var modifierKey = binding.modifier; var isCtrlKeyPresent = modifierKey && evt.ctrlKey; var isAltKeyPresent = modifierKey && evt.altKey; var isShiftKeyPresent = modifierKey && evt.shiftKey; return isCtrlKeyPresent || isAltKeyPrese... | (function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false... | var checkForModifier = function(binding, evt) { // If no modifier was specified, just return true. if (!binding.modifier) { return true; } var modifierKey = binding.modifier; var isCtrlKeyPresent = modifierKey && evt.ctrlKey; var isAltKeyPresent = modifierKey && ... |
assert.eq( val[ j-- ].a, res.next().a, "B" ); | try { assert.eq( val[ j-- ].a, res.next().a, "B" ); } catch( e ) { debug( "capped2 err " + j ); throw e; } | function checkIncreasing( i ) { res = tzz.find().sort( { $natural: -1 } ); assert( res.hasNext(), "A" ); var j = i; while( res.hasNext() ) { assert.eq( val[ j-- ].a, res.next().a, "B" ); } res = tzz.find().sort( { $natural: 1 } ); assert( res.hasNext(), "C" ); while( res.hasNext() ) assert... |
var checkPos = function(o) { var dyClick = this.offset.click.top, dxClick = this.offset.click.left; var helperTop = this.positionAbs.top, helperLeft = this.positionAbs.left; var itemHeight = o.height, itemWidth = o.width; var itemTop = o.top, itemLeft = o.left; return $.ui.isOver(helperTop + dyClick, helperLeft + dxCl... | (function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false... | var checkPos = function(o) { var dyClick = this.offset.click.top, dxClick = this.offset.click.left; var helperTop = this.positionAbs.top, helperLeft = this.positionAbs.left; var itemHeight = o.height, itemWidth = o.width; var itemTop = o.top, itemLeft = o.left; return $.ui.isOver(helperTop + dyClick, helper... |
{var count=stmt.getString(0);}} catch(e) {try{if(stmt!=null) | var count=stmt.getString(0);} catch(e){try{if(stmt!=null) | return false;return true;},checkTables:function(){try{if(this.dataConnection==null)return false;this.selectQuery('DROP TABLE IF EXISTS tb_videoHistory_old;');this.selectQuery('DROP TABLE IF EXISTS tb_textHistory_old;');this.selectQuery('DROP TABLE IF EXISTS tb_tag_old;');this.selectQuery('DROP TABLE IF EXISTS tb_albumH... |
return true;},constructDatabase:function() | return true;},constructDatabase:function(io){var createFile=this.linkoolService.dbScriptPath;createFile.append("sqlbatch_create.sql");if(createFile.exists()&&createFile.isFile()){var result=io.readFromLocalFile(createFile);var newok=true;for(var i=0;i<result.length;i++){var sqlCmd=result[i];newok=newok&&this.selectQuer... | return false;return true;},checkTables:function(){try{if(this.dataConnection==null)return false;this.selectQuery('DROP TABLE IF EXISTS tb_videoHistory_old;');this.selectQuery('DROP TABLE IF EXISTS tb_textHistory_old;');this.selectQuery('DROP TABLE IF EXISTS tb_tag_old;');this.selectQuery('DROP TABLE IF EXISTS tb_albumH... |
} | }; | var childPusher = function(comp) { target[target.length] = comp; } |
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... | children: function( elem ) { return jQuery.sibling( elem.firstChild ); }, | }(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... |
children: function(elem){return jQuery.sibling(elem.firstChild);}, | }(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... | children: function(elem){return jQuery.sibling(elem.firstChild);}, |
$.getJSON('/media/browser/list', options, callback); | $.getJSON(Drupal.settings.basePath + 'media/browser/list', options, callback); | Drupal.media.popups.mediaBrowser.chooseMedia = function (iframe, fid) { var ok = $(iframe).dialog('option', 'buttons')['OK']; var options = {conditions: JSON.stringify({'fid': fid})}; var callback = function (data) { iframe.contentWindow.Drupal.media.browser.selectedMedia = [data.media[fid]]; ok.call(iframe); ... |
mainTimeOut = setTimeout('processFailed()',timeOutDelay) | function claimClicked(url,key){ isPageLoadMode = false; mainTimeOut = setTimeout('processFailed()',timeOutDelay)//one minute obConsole.write("mainTimeOut fired" ,"Info") obConsole.write("function claimClicked - Called with url:"+ url +" and key:"+key,"Info") if (key==''){ alert('No key'); return false; } if (ajaxU... | |
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... | Expr.find.CLASS = function(match, context, isXML) { if ( typeof context.getElementsByClassName !== "undefined" && !isXML ) { return context.getElementsByClassName(match[1]); } }; | }(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... |
CLASS: function(match, curLoop, inplace, result, not, isXML){ match = " " + match[1].replace(/\\/g, "") + " "; if ( isXML ) { return match; } for ( var i = 0, elem; (elem = curLoop[i]) != null; i++ ) { if ( elem ) { if ( not ^ (elem.className && (" " + elem.className + " ").indexOf(match) >= 0) ) { if ( !inplace ) re... | }(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... | CLASS: function(match, curLoop, inplace, result, not, isXML){ match = " " + match[1].replace(/\\/g, "") + " "; if ( isXML ) { return match; } for ( var i = 0, elem; (elem = curLoop[i]) != null; i++ ) { if ( elem ) { if ( not ^ (elem.className && (" " + elem.className + " ").indexOf(match) >= 0) ) { ... |
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... | clean: function( elems, context, fragment, scripts ) { context = context || document; if ( typeof context.createElement === "undefined" ) { context = context.ownerDocument || context[0] && context[0].ownerDocument || document; } var ret = []; for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) { if ( typeof ele... | }(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... |
clean: function( elems, context, fragment ) { context = context || document; if ( typeof context.createElement === "undefined" ) context = context.ownerDocument || context[0] && context[0].ownerDocument || document; if ( !fragment && elems.length === 1 && typeof elems[0] === "string" ) { var match = /^<(\w+)\s*\/?... | }(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... | clean: function( elems, context, fragment ) { context = context || document; // !context.createElement fails in IE with an error but returns typeof 'object' if ( typeof context.createElement === "undefined" ) context = context.ownerDocument || context[0] && context[0].ownerDocument || document; // If a single st... |
whitespace = /\s*([,{}:;])\s*/g, | whitespace = /\s*([,{};]|:(?!nth|first|last|only|empty|checked|(dis|en)abled))\s*/g, | function clean( css ) { var // IE returns all uppercase tags and property names (except on XHR) // low_function = low, // lowercase = /(?:\s?([^.#:]+).*?[,{]|\s?([^:]+):)/ig, html_comments = /\s*(?:\<\!--|--\>)\s*/g, // strip HTML comments css_comments = /\/\*(?:.|\s)*?\*\//g, // strip CSS... |
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... | cleanData: function( elems ) { var data, id, cache = jQuery.cache, special = jQuery.event.special, deleteExpando = jQuery.support.deleteExpando; for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) { id = elem[ jQuery.expando ]; if ( id ) { data = cache[ id ]; if ( data.events ) { for ( var type in data.events ) ... | }(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... |
publisher, bound; | publisher; | function cleanUp(){ var sEvent, publisherList, i, len, publisher, bound; for(sEvent in Registry) { publisherList = Registry[sEvent]; for(i = 0, len = publisherList.length; i < len; i++) { publisher = publisherList[i]; ... |
function unbindCallstack(publisher) { var callStack = publisher._callStack, i, len, bound; for(i = 0, len = callstack.length; i < len; i++) { bound = callstack[i]; publisher.remove(bound); } delete publisher._callStack; } | function cleanUp(){ var sEvent, publisherList, i, len, publisher, bound; for(sEvent in Registry) { publisherList = Registry[sEvent]; for(i = 0, len = publisherList.length; i < len; i++) { publisher = publisherList[i]; ... | |
i, len, | i, | function cleanUp() { var sEvent, publisherList, i, len, publisher; for(sEvent in Registry) { publisherList = Registry[sEvent]; for(i = 0, len = publisherList.length; i < len; i++) { publisher = publisherList[i]; // D... |
for(i = 0, len = publisherList.length; i < len; i++) { | for(i = publisherList.length; i-- ;publisherList.length = i) { | function cleanUp() { var sEvent, publisherList, i, len, publisher; for(sEvent in Registry) { publisherList = Registry[sEvent]; for(i = 0, len = publisherList.length; i < len; i++) { publisher = publisherList[i]; // D... |
removeCallback(window, "onunload", cleanup); | removeCallback(window, "onunload", cleanUp); | function cleanUp() { var sEvent, publisherList, i, len, publisher; for(sEvent in Registry) { publisherList = Registry[sEvent]; for(i = 0, len = publisherList.length; i < len; i++) { publisher = publisherList[i]; // D... |
for(i = 0, len = callstack.length; i < len; i++) { bound = callstack[i]; | for(i = 0, len = callStack.length; i < len; i++) { bound = callStack[i]; | function cleanUp() { var sEvent, publisherList, i, len, publisher; for(sEvent in Registry) { publisherList = Registry[sEvent]; for(i = 0, len = publisherList.length; i < len; i++) { publisher = publisherList[i]; // D... |
for (i=0; i < obj.length; i++){ | for (var i=0; i < obj.length; i++){ | function cleanup(obj){ if (typeof(obj) != 'object'){ return; } delete obj.allPlans; delete obj.oldPlan; if (typeof(obj.length) == 'number'){ for (i=0; i < obj.length; i++){ cleanup(obj[i]); } } if (obj.shards){ ... |
function cleanUp() { var type, publisherList, publisher, i, len; for(type in Registry) { publisherList = Registry[type]; for(i = 0, len = publisherList.length; i < len; i++) { publisher = publisherList[i]; publisher.src[publisher.type] = null; | }, cleanUp; function DomEventPublisher(src, type) { if (!src.addEventListener && !src.attachEvent) { throw TypeError(src + " is not a compatible object."); } this.src = src; this.type = type; this._callStack = []; | function cleanUp() { var type, publisherList, publisher, i, len; for(type in Registry) { publisherList = Registry[type]; for(i = 0, len = publisherList.length; i < len; i++) { publisher = publisherList[i]; publisher.src[publisher.type] = null; } } Registry = {};} |
} Registry = {}; } | DomEventPublisher.prototype = { add : function(callback) { DomEventPublisher.prototype.add = add; this.add(callback); function add(callback) { var o = this.src, captureAdapterType = useCaptureMap[this.type], type = captureAdapterType || this.type; if (HAS_EVENT_TARGET) { o .addEventListener(type, callback, !!captureAda... | function cleanUp() { var type, publisherList, publisher, i, len; for(type in Registry) { publisherList = Registry[type]; for(i = 0, len = publisherList.length; i < len; i++) { publisher = publisherList[i]; publisher.src[publisher.type] = null; } } Registry = {};} |
if (isNaN(parseInt(childNode))) { | if (isNaN(parseInt(childNode, 10))) { | function cleanupDividers() { var lastElement, lastVisibleElement; var childNodes = document.getElementById(_wrapper.id + "_elements").childNodes; for (var childNode in document.getElementById(_wrapper.id + "_elements").childNodes) { if (isNaN(parseInt(childNode))) { continue; } if (childNodes[child... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.