rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
getJSON: function( url, data, callback ) { return jQuery.get(url, data, callback, "json"); }, | }(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... | getJSON: function( url, data, callback ) { return jQuery.get(url, data, callback, "json"); }, |
var getKeyMapForDirection = function(direction) { var keyMap; if (direction === fluid.a11y.orientation.HORIZONTAL) { keyMap = LEFT_RIGHT_KEYMAP; } else if (direction === fluid.a11y.orientation.VERTICAL) { keyMap = UP_DOWN_KEYMAP; } return keyMap; }; | (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 getKeyMapForDirection = function(direction) { // Determine the appropriate mapping for next and previous based on the specified direction. var keyMap; if (direction === fluid.a11y.orientation.HORIZONTAL) { keyMap = LEFT_RIGHT_KEYMAP; } else if (direction === fluid.... |
fluid.getLastFocusedElement = function () { if (lastFocusedElement === "disabled") { fluid.fail("Focus manager not enabled - please include jquery.delegate.js or equivalent for support of 'focusin' event"); } return lastFocusedElement; } | (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... | fluid.getLastFocusedElement = function () { if (lastFocusedElement === "disabled") { fluid.fail("Focus manager not enabled - please include jquery.delegate.js or equivalent for support of 'focusin' event"); } return lastFocusedElement; } |
getLevelString : function(level) { var ret = ""; switch(level) { case this.YMLog_Debug : ret = "Debug"; break; case this.YMLog_Info : ret = "Info"; break; case this.YMLog_Warn : ret = "Warn"; break; case this.YMLog_Error : ret = "Error"; break; case this.YMLog_Fatal : ret = "Fatal"; break; case this.YMLog_Diagnose : re... | if((level>=this.YMLog_Warn)||this.count>5){this.flush();this.count=0;}},diagnose:function(msg){this.log(this.YMLog_Diagnose,msg);},debug:function(msg){this.log(this.YMLog_Debug,msg);},info:function(msg){this.log(this.YMLog_Info,msg);},warn:function(msg){this.log(this.YMLog_Warn,msg);},error:function(msg){this.log(this.... | getLevelString : function(level) { var ret = ""; switch(level) { case this.YMLog_Debug : ret = "Debug"; break; case this.YMLog_Info : ret = "Info"; break; case this.YMLog_Warn : ret = "Warn"; ... |
SAXStrings.getLineNumber = function (strD, iP) { if (!strD) { return -1;} iP = iP || strD.length; return strD.substring(0, iP).split("\n").length; }; | (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... | SAXStrings.getLineNumber = function (strD, iP) { if (!strD) { return -1;} iP = iP || strD.length; return strD.substring(0, iP).split("\n").length; }; |
getLogFileName : function(isBackUp) { var name = this.name; var d=new Date(); var weekday=new Array(7); weekday[0]="sun"; weekday[1]="mon"; weekday[2]="tue"; weekday[3]="wed"; weekday[4]="thu"; weekday[5]="fri"; weekday[6]="sat"; name = name + "." + weekday[d.getDay()]; if (isBackUp) { name = name + ".bak"; } name =... | if(this.file!==null){this.file.close();this.file=null;}},getLogFileName:function(isBackUp){var name=this.mModuleName;var d=new Date();var weekday=new Array(7);weekday[0]="sun";weekday[1]="mon";weekday[2]="tue";weekday[3]="wed";weekday[4]="thu";weekday[5]="fri";weekday[6]="sat";name=name+"."+weekday[d.getDay()];if(isBac... | getLogFileName : function(isBackUp) { var name = this.name; var d=new Date(); var weekday=new Array(7); weekday[0]="sun"; weekday[1]="mon"; weekday[2]="tue"; weekday[3]="wed"; weekday[4]="thu"; weekday[5]="fri"; weekday[6]="sat"; // exampl... |
getLoggingLevel : function() { return this.level; }, | if((level>=this.YMLog_Warn)||this.count>5){this.flush();this.count=0;}},diagnose:function(msg){this.log(this.YMLog_Diagnose,msg);},debug:function(msg){this.log(this.YMLog_Debug,msg);},info:function(msg){this.log(this.YMLog_Info,msg);},warn:function(msg){this.log(this.YMLog_Warn,msg);},error:function(msg){this.log(this.... | getLoggingLevel : function() { return this.level; }, |
this.getMedia = function() { | _model.getMedia = function() { | this.getMedia = function() { return _media; }; |
getMetaData : function() { return this.mMetaData; }, | YahooResultSet.prototype={COL_TEXT:"TEXT",COL_URL:"URL",COL_DESC:"DESCRIPTION",COL_TIME_DIFF:"TIME_DIFF",COL_HIT_COUNT:"HIT_COUNT",COL_KEY:"KEY",COL_HIDDEN_URL:"HIDDEN_URL",addMetaData:function(name){this.mMetaData.addString(name);},getMetaData:function(){return this.mMetaData;},clearRows:function(){this.mValues=[];thi... | getMetaData : function() { return this.mMetaData; }, |
function getMine(){ | function getMine( printInprog ){ | function getMine(){ var inprog = db.currentOp().inprog; var mine = [] for ( var x=0; x<inprog.length; x++ ){ if ( inprog[x].query && inprog[x].query.$where ){ mine.push( inprog[x] ) } } return mine;} |
if ( printInprog ) printjson( inprog ) | function getMine(){ var inprog = db.currentOp().inprog; var mine = [] for ( var x=0; x<inprog.length; x++ ){ if ( inprog[x].query && inprog[x].query.$where ){ mine.push( inprog[x] ) } } return mine;} | |
getName : function() { return this.mName; }, | debug("Adding appender :"+appender.getName());this.appenders.push(appender);appender.init(this.mName);},getName:function(){return this.mName;},log:function(level,msg){if(this.isEnabledFor(level)){var stacktrace="";if(this.mEnableStackTrace){stacktrace=this.stackTrace();} | getName : function() { return this.mName; }, |
getNext : function() { return this.mValues[this.mIdx++]; }, | YahooStringEnumerator.prototype={initialize:function(){this.mIdx=0;return this;},clearData:function(){this.mValues=[];this.mIdx=0;},getNext:function(){return this.mValues[this.mIdx++];},hasMoreElements:function(){return this.mIdx<this.mValues.length;},addString:function(str){this.mValues.push(str);},addStringArray:func... | getNext : function() { return this.mValues[this.mIdx++]; }, |
var getNextNode = function (iterator) { if (iterator.node.firstChild) { iterator.node = iterator.node.firstChild; iterator.depth += 1; return iterator; } while (iterator.node) { if (iterator.node.nextSibling) { iterator.node = iterator.node.nextSibling; return iterator; } iterator.node = iterator.node.parentNode; itera... | (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 getNextNode = function (iterator) { if (iterator.node.firstChild) { iterator.node = iterator.node.firstChild; iterator.depth += 1; return iterator; } while (iterator.node) { if (iterator.node.nextSibling) { iterator.node = iterator.... |
getNextRow : function() { return this.mValues[this.mRowIdx++]; }, | YahooResultSet.prototype={COL_TEXT:"TEXT",COL_URL:"URL",COL_DESC:"DESCRIPTION",COL_TIME_DIFF:"TIME_DIFF",COL_HIT_COUNT:"HIT_COUNT",COL_KEY:"KEY",COL_HIDDEN_URL:"HIDDEN_URL",addMetaData:function(name){this.mMetaData.addString(name);},getMetaData:function(){return this.mMetaData;},clearRows:function(){this.mValues=[];thi... | getNextRow : function() { return this.mValues[this.mRowIdx++]; }, |
this.getNodeById = function(id){ if(this.id == id){ return this; } if(this.childSize > 0){ var node; for(var i = 0; i < this.childSize; i++){ if ((node = this.getChild(i).getNodeById(id))) { return node; } } } return null; }; | this.childNodes.appendElement(node,false);this.childSize++;};this.getChild=function(index){return(index<this.childSize)?this.childNodes.queryElementAt(index,Components.interfaces.nsIYahooFeedNode):null;};this.getNodeById=function(id){if(this.id==id||this.name==id){return this;} if(this.childSize>0){var node;for(var i=0... | this.getNodeById = function(id){ if(this.id == id){ return this; } if(this.childSize > 0){ var node; for(var i = 0; i < this.childSize; i++){ if ((node = this.getChild(i).getNodeById(id))) { return node; } ... |
lookAhead(match); | var isDoubled = lookAhead(match); | var getNumber = function(match) { lookAhead(match); var size = (match == '@' ? 14 : (match == '!' ? 20 : (match == 'y' ? 4 : (match == 'o' ? 3 : 2)))); var digits = new RegExp('^\\d{1,' + size + '}'); var num = value.substring(iValue).match(digits); if (!num) throw 'Missing number at position ' + iVal... |
(match == 'y' ? 4 : (match == 'o' ? 3 : 2)))); | (match == 'y' && isDoubled ? 4 : (match == 'o' ? 3 : 2)))); | var getNumber = function(match) { lookAhead(match); var size = (match == '@' ? 14 : (match == '!' ? 20 : (match == 'y' ? 4 : (match == 'o' ? 3 : 2)))); var digits = new RegExp('^\\d{1,' + size + '}'); var num = value.substring(iValue).match(digits); if (!num) throw 'Missing number at position ' + iVal... |
if (!item) { throw Error("myfaces._impl._util._Dom.getParent: item must be set"); | if (!item) { throw Error("myfaces._impl._util._Dom.getParent: item must be set"); } var _Lang = this._Lang; var searchClosure = function(parentItem) { return parentItem && parentItem.tagName && _Lang.equalsIgnoreCase(parentItem.tagName, tagName); }; try { return this.getFilteredParent(item, searchClosure); } finally {... | getParent : function(item, tagName) { if (!item) { throw Error("myfaces._impl._util._Dom.getParent: item must be set"); } var _Lang = this._Lang; var searchClosure = function(parentItem) { return parentItem && parentItem.tagName && _Lang.equalsIgn... |
var _Lang = this._Lang; var searchClosure = function(parentItem) { return parentItem && parentItem.tagName && _Lang.equalsIgnoreCase(parentItem.tagName, tagName); }; try { return this.getFilteredParent(item, searchClosure); } finally { searchClosure = null; _Lang = null; } } | getParent : function(item, tagName) { if (!item) { throw Error("myfaces._impl._util._Dom.getParent: item must be set"); } var _Lang = this._Lang; var searchClosure = function(parentItem) { return parentItem && parentItem.tagName && _Lang.equalsIgn... | |
fluid.pathUtil.getPathSegment = function(path, i) { getPathSegmentImpl(globalAccept, path, i); return globalAccept[0]; }; | (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... | fluid.pathUtil.getPathSegment = function(path, i) { getPathSegmentImpl(globalAccept, path, i); return globalAccept[0]; }; |
var getPathSegmentImpl = function(accept, path, i) { var segment = null; if (accept) { segment = ""; } var escaped = false; var limit = path.length; for (; i < limit; ++i) { var c = path.charAt(i); if (!escaped) { if (c === '.') { break; } else if (c === '\\') { escaped = true; } else if (segment !== null) { segment +=... | (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 getPathSegmentImpl = function(accept, path, i) { var segment = null; // TODO: rewrite this with regexes and replaces if (accept) { segment = ""; } var escaped = false; var limit = path.length; for (; i < limit; ++i) { var c = path.charAt(i); ... |
if (segment !== null) | if (segment !== null) { | var getPathSegmentImpl = function(accept, path, i) { var segment = null; // TODO: rewrite this with regexes and replaces if (accept) { segment = ""; } var escaped = false; var limit = path.length; for (; i < limit; ++i) { var c = path.charAt(i); ... |
} | var getPathSegmentImpl = function(accept, path, i) { var segment = null; // TODO: rewrite this with regexes and replaces if (accept) { segment = ""; } var escaped = false; var limit = path.length; for (; i < limit; ++i) { var c = path.charAt(i); ... | |
if (root[segment] === undefined && create) { root[segment] = {}; } root = root[segment]; | root = fluid.model.resolvePathSegment(root, segment, create); | fluid.model.getPenultimate = function (root, EL, environment, create) { var segs = fluid.model.parseEL(EL); for (var i = 0; i < segs.length - 1; ++i) { if (!root) { return {root: root }; } var segment = segs[i]; if (environment && environment[... |
return root; | return {root: root }; | fluid.model.getPenultimate = function (root, EL, environment, create) { var segs = fluid.model.parseEL(EL); for (var i = 0; i < segs.length - 1; ++i) { if (!root) { return root; } var segment = segs[i]; if (environment && environment[segment])... |
getPlaylist: function() { return this.callInternal('jwGetPlaylist'); }, | getPlaylist: function() { var playlist = this.callInternal('jwGetPlaylist'); for (var i=0; i<playlist.length; i++) { if (playlist[i].index === undefined) { playlist[i].index = i; } } return playlist; }, | getPlaylist: function() { return this.callInternal('jwGetPlaylist'); }, |
if (item == undefined) item = 0; | if (item == undefined) item = this.getCurrentItem(); | getPlaylistItem: function(item) { if (item == undefined) item = 0; return this.getPlaylist()[item]; }, |
debug.debug(options); | Drupal.media.popups.getPopupIframe = function(src, id, options) { var defaults = {width: '800px', scrolling: 'no'}; var options = $.extend({}, defaults, options); debug.debug(options); return $('<iframe class="media-modal-frame"/>') .attr('src', src) .attr('width', options.width) .attr('id', id) .attr('scro... | |
fluid.getPrefix = function(id) { var colpos = id.indexOf(':'); return colpos === -1? id : id.substring(0, colpos); }; | (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... | fluid.getPrefix = function(id) { var colpos = id.indexOf(':'); return colpos === -1? id : id.substring(0, colpos); }; |
getProfileDir : function() { try { if (this.mProfileDir === null) { var prefd = CC["@mozilla.org/file/directory_service;1"].getService(CI.nsIProperties); this.mProfileDir = prefd.get('PrefD', CI.nsILocalFile); } var ret = this.mProfileDir.clone().QueryInterface(CI.nsILocalFile); return ret; } catch(e) { this.mProfileDi... | YahooFileIO.prototype={mProfileDir:null,mCacheDir:null,getProfileDir:function(){try{if(this.mProfileDir===null){var prefd=CC["@mozilla.org/file/directory_service;1"].getService(CI.nsIProperties);this.mProfileDir=prefd.get('PrefD',CI.nsILocalFile);} var ret=this.mProfileDir.clone().QueryInterface(CI.nsILocalFile);return... | getProfileDir : function() { try { if (this.mProfileDir === null) { var prefd = CC["@mozilla.org/file/directory_service;1"].getService(CI.nsIProperties); this.mProfileDir = prefd.get('PrefD', CI.nsILocalFile); } var ret = this.mProfileDir.clone().QueryInterface(CI.nsILocal... |
return "#{facesContext.application.projectStage}"; | var scriptTags = document.getElementsByTagName("script"); for (var i = 0; i < scriptTags.length; i++) { if (scriptTags[i].src.search(/\/javax\.faces\.resource\/jsf\.js.*ln=javax\.faces/) != -1) { var result = scriptTags[i].src.match(/stage=([^&;]*)/); if (result) { if (result[1] == "Production" || result[1] == "Deve... | myfaces._impl.core._jsfImpl.prototype.getProjectStage = function() { return "#{facesContext.application.projectStage}"; }; |
getQueryObject : function() { return this.mResultSet.mQueryObject; }, | YahooSearchIndexer.prototype={mYaooBookmarkData:[],mUserSearchHistory:[],mUserInstantHistory:[],mUserVerticalSearch:[],mMaxHistory:500,getResultSet:function(){return this.mResultSet;},getQueryObject:function(){return this.mResultSet.mQueryObject;},loadYahooBookmarkData:function(bookmarkdata){ytbDebug("**** Adding yahoo... | getQueryObject : function() { return this.mResultSet.mQueryObject;}, |
getQueryResult : function(qry) { var rs = this.mResultSet; rs.clearRows(); rs.mQueryObject = qry; rs.mPopulatedType = qry.mQueryType; switch (qry.mQueryType) { case qry.T_SUGGESTION : return this.fetchSuggestions(); case qry.T_HISTORY : return this.fetchHistory(); case qry.T_HISTORY + qry.T_SUGGESTION : return this.fe... | rs.populateWithStringTable(tmpStrTable);rs.spliceResults(count);return rs;},getQueryResult:function(qry){var rs=this.mResultSet;rs.clearRows();rs.mQueryObject=qry;rs.mPopulatedType=qry.T_NONE;switch(qry.mQueryType){case qry.T_SUGGESTION:return this.fetchSuggestions();case qry.T_LOOKUP_SUGGESTION:return this.fetchProbab... | getQueryResult : function(qry) { var rs = this.mResultSet; rs.clearRows(); rs.mQueryObject = qry; rs.mPopulatedType = qry.mQueryType; switch (qry.mQueryType) { case qry.T_SUGGESTION : return this.fetchSuggestions(); case qry.T_HISTORY : return this.fetchH... |
getQueryType : function() { var type = "user"; switch (this.mQueryType) { case this.T_SUGGESTION : type = "suggestion"; break; case this.T_LOOKUP_SUGGESTION: type = "suggestion"; break; case this.T_HISTORY : type = "history"; break; case this.T_YAHOO_BOOKMARKS: type = "bookmark"; break; case this.T_FIREFOX_BOOKMARKS: t... | YahooSearchQuery.prototype={T_NONE:0x00,T_SUGGESTION:0x01,T_HISTORY:0x02,T_YAHOO_BOOKMARKS:0x04,T_FIREFOX_BOOKMARKS:0x8,T_PERSONALIZED_LINKS:0x10,T_INSTANT_WEB_RESULTS:0x20,T_FIREFOX_USER_HISTORY:0x40,T_YAHOO_BUTTON_DATA:0x80,T_VERTICAL_SEARCH:0x100,T_VERTICAL_SEARCH_ALL:0x200,T_DATA_CLASS:0x10000-1,T_YTB:0x10000,T_INQ... | getQueryType : function() { var type = "user"; switch (this.mQueryType) { case this.T_SUGGESTION : type = "suggestion"; break; case this.T_LOOKUP_SUGGESTION: type = "suggestion"; break; case this.T_HIS... |
{var sQuery="DROP "+sObjectType+" "+sm_backquote(sObjectName);return this.confirmAndExecute([sQuery],sQuery);},getRecords:function() {return this.aTableData;},getRecordTypes:function() | this.aTableData=null;this.aTableType=null;this.aColumns=null;},getRecords:function(){return this.aTableData;},getColumns:function(){return this.aColumns;},selectQuery:function(sQuery,bBlobAsHex){this.aTableData=new Array();this.aTableType=new Array();this.aColumns=null;var bResult=false;try{var stmt=this.dataConnection... | {var sQuery="DROP "+sObjectType+" "+sm_backquote(sObjectName);return this.confirmAndExecute([sQuery],sQuery);},getRecords:function(){return this.aTableData;},getRecordTypes:function() |
function getRelativeComponent(component, relativeID) { component = component.parent; while (relativeID.indexOf("..::") === 0) { relativeID = relativeID.substring(4); component = component.parent; } return component.childmap[relativeID]; } | (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 getRelativeComponent(component, relativeID) { component = component.parent; while (relativeID.indexOf("..::") === 0) { relativeID = relativeID.substring(4); component = component.parent; } return component.childmap[relativeID]; } |
getResource : function(aName, insertIfAbsent) { var target = this.mRDFService.GetLiteral(aName); var resource = this.mFileDataSource.GetSource(this.mRscUrl, target, true); if (!resource && insertIfAbsent) { resource = this.mRDFService.GetAnonymousResource(); this.mFileDataSource.Assert(resource, this.mRscUrl, target, t... | return;},getResource:function(aName,insertIfAbsent){var target=this.mRDFService.GetLiteral(aName);var resource=this.mFileDataSource.GetSource(this.mRscUrl,target,true);if(!resource&&insertIfAbsent){resource=this.mRDFService.GetAnonymousResource();this.mFileDataSource.Assert(resource,this.mRscUrl,target,true);this.rscBo... | getResource : function(aName, insertIfAbsent) { var target = this.mRDFService.GetLiteral(aName); var resource = this.mFileDataSource.GetSource(this.mRscUrl, target, true); if (!resource && insertIfAbsent) { resource = this.mRDFService.GetAnonymousResource(); this.mFileDataSource.Asser... |
getResultSet : function() { return this.mResultSet; }, | YahooSearchIndexer.prototype={mYaooBookmarkData:[],mUserSearchHistory:[],mUserInstantHistory:[],mUserVerticalSearch:[],mMaxHistory:500,getResultSet:function(){return this.mResultSet;},getQueryObject:function(){return this.mResultSet.mQueryObject;},loadYahooBookmarkData:function(bookmarkdata){ytbDebug("**** Adding yahoo... | getResultSet : function() { return this.mResultSet;}, |
function getRewriteKey(template, parent, id) { return template.resourceKey + parent.fullID + id; } | (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 getRewriteKey(template, parent, id) { return template.resourceKey + parent.fullID + id; } |
function getRoots(target, overallThat, index) { var cellRoot = (overallThat.options.dataOffset? overallThat.options.dataOffset + ".": ""); target.shortRoot = index; target.longRoot = cellRoot + target.shortRoot; } | (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 getRoots(target, overallThat, index) { var cellRoot = (overallThat.options.dataOffset? overallThat.options.dataOffset + ".": ""); target.shortRoot = index; target.longRoot = cellRoot + target.shortRoot; } |
getRowCount : function() { return this.mValues.length; }, | YahooResultSet.prototype={COL_TEXT:"TEXT",COL_URL:"URL",COL_DESC:"DESCRIPTION",COL_TIME_DIFF:"TIME_DIFF",COL_HIT_COUNT:"HIT_COUNT",COL_KEY:"KEY",COL_HIDDEN_URL:"HIDDEN_URL",addMetaData:function(name){this.mMetaData.addString(name);},getMetaData:function(){return this.mMetaData;},clearRows:function(){this.mValues=[];thi... | getRowCount : function() { return this.mValues.length; }, |
}(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... | getScript: function( url, callback ) { return jQuery.get(url, null, callback, "script"); }, | }(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... |
getScript: function( url, callback ) { return jQuery.get(url, null, callback, "script"); }, | }(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... | getScript: function( url, callback ) { return jQuery.get(url, null, callback, "script"); }, |
r = (this.getScrollOffsets = f)(win); | r = (dom.getScrollOffsets = f)(win); | function getScrollOffsets(win) { win = win || window; var f, r; if("pageXOffset"in win) f = function(win) { win = win||window; return{ left:win.pageXOffset, top: win.pageYOffset}; }; else { f = function(win) { w... |
var submission = []; | var submission = {}; var doit = 0; | function getsectors(newsectors,force){ var submission = []; // convert newsectors (which comes in as a straight array) // over to the loaded sectors array (which is associative...) // and see if we have already asked for that sector (or indeed // already have it in memory, doesn't really matter...) for (sector in... |
submission.push(sector); | submission[sector]=1; doit = 1; | function getsectors(newsectors,force){ var submission = []; // convert newsectors (which comes in as a straight array) // over to the loaded sectors array (which is associative...) // and see if we have already asked for that sector (or indeed // already have it in memory, doesn't really matter...) for (sector in... |
if(submission.length > 0){ submission = submission.join('&'); | if(doit==1){ | function getsectors(newsectors,force){ var submission = []; // convert newsectors (which comes in as a straight array) // over to the loaded sectors array (which is associative...) // and see if we have already asked for that sector (or indeed // already have it in memory, doesn't really matter...) for (sector in... |
if((force==1)||(!(sector in sectors))){ | if((force==1)||(!(sector in sectorsstatus))){ sectorsstatus[sector] = sectorgeneration; | function getsectors(newsectors,force){ var submission = {}; var doit = 0; // convert newsectors (which comes in as a straight array) // over to the loaded sectors array (which is associative...) // and see if we have already asked for that sector (or indeed // already have it in memory, doesn't really matter...) ... |
fluid.pathUtil.getTailPath = function(path) { var lastdot = lastDotIndex(path); return fluid.pathUtil.getPathSegment(path, lastdot + 1); }; | (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... | fluid.pathUtil.getTailPath = function(path) { var lastdot = lastDotIndex(path); return fluid.pathUtil.getPathSegment(path, lastdot + 1); }; |
return clickSource.closest('div.target'); | return clickSource.closest('.target'); | $.fn.undoable.getTarget = function(clickSource) { var tr = clickSource.closest('tr'); if (tr.length === 0) { return clickSource.closest('div.target'); } return tr; }; |
}(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... | function getText( elems ) { var ret = "", elem; for ( var i = 0; elems[i]; i++ ) { elem = elems[i]; if ( elem.nodeType === 3 || elem.nodeType === 4 ) { ret += elem.nodeValue; } else if ( elem.nodeType !== 8 ) { ret += getText( elem.childNodes ); } } return ret; } | }(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... |
getTitleId: function($el) { return 'ui-dialog-title-' + ($el.attr('id') || ++this.uuid); }, | (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... | getTitleId: function($el) { return 'ui-dialog-title-' + ($el.attr('id') || ++this.uuid); }, |
getTokenizedExp, normalizeString, hasClass, addClass, removeClass, toggleClass, supportsClassList = document.documentElement.classList != undefined; if(!supportsClassList) { hasClass = function(el, klass) { return getTokenizedExp(klass, "").test(el.className); }; addClass = function(el, klass) { if(!el.className) el.... | function getTokenizedExp(token, flag){ var p = token + "$" + flag; return Exps[p] || (Exps[p] = RegExp("(?:^|\\s)"+token+"(?:$|\\s)", flag)); } | getTokenizedExp, normalizeString, hasClass, addClass, removeClass, toggleClass, supportsClassList = document.documentElement.classList != undefined; if(!supportsClassList) { hasClass = function(el, klass) { return getTokenizedExp(klass, "").test(e... |
fluid.pathUtil.getToTailPath = function(path) { var lastdot = lastDotIndex(path); return lastdot == -1 ? null : path.substring(0, lastdot); }; | (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... | fluid.pathUtil.getToTailPath = function(path) { var lastdot = lastDotIndex(path); return lastdot == -1 ? null : path.substring(0, lastdot); }; |
var z = tree.getSubItems(_nodeID).split(","); | var z = top.tree.getSubItems(_nodeID).split(","); | function getTreeNodeOpenItems(_nodeID, mode) { var z = tree.getSubItems(_nodeID).split(","); var oS; var PoS; var rv; var returnValue = ""+_nodeID; var modetorun = "none"; if (mode) { modetorun = mode } PoS = tree.getOpenState(_nodeID) if (modetorun == "forced") PoS = 1; if (PoS == 1) { for(var i=0;i<z.length;i++) { ... |
PoS = tree.getOpenState(_nodeID) | PoS = top.tree.getOpenState(_nodeID) | function getTreeNodeOpenItems(_nodeID, mode) { var z = tree.getSubItems(_nodeID).split(","); var oS; var PoS; var rv; var returnValue = ""+_nodeID; var modetorun = "none"; if (mode) { modetorun = mode } PoS = tree.getOpenState(_nodeID) if (modetorun == "forced") PoS = 1; if (PoS == 1) { for(var i=0;i<z.length;i++) { ... |
oS = tree.getOpenState(z[i]) | oS = top.tree.getOpenState(z[i]) | function getTreeNodeOpenItems(_nodeID, mode) { var z = tree.getSubItems(_nodeID).split(","); var oS; var PoS; var rv; var returnValue = ""+_nodeID; var modetorun = "none"; if (mode) { modetorun = mode } PoS = tree.getOpenState(_nodeID) if (modetorun == "forced") PoS = 1; if (PoS == 1) { for(var i=0;i<z.length;i++) { ... |
getUserCacheDir : function() { var udir = this.getCacheDir(); udir.appendRelativePath(ytbUtils.getBlindYID()); if (!udir.exists()) { udir.create(CI.nsILocalFile.DIRECTORY_TYPE, 0777); } return udir.clone().QueryInterface(CI.nsILocalFile); }, | return data;},writeEncodedCacheFile:function(fileName,fileContents){return this.writeCacheFile(fileName,yahooUtils.encodeToBase64(""+fileContents));},getUserCacheDir:function(){var udir=this.getCacheDir();udir.appendRelativePath(yahooNetUtils.getBlindYID());if(!udir.exists()){udir.create(CI.nsILocalFile.DIRECTORY_TYPE,... | getUserCacheDir : function() { var udir = this.getCacheDir(); udir.appendRelativePath(ytbUtils.getBlindYID()); if (!udir.exists()) { udir.create(CI.nsILocalFile.DIRECTORY_TYPE, 0777); } return udir.clone().QueryInterface(CI.nsILocalFile); }, |
(function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^... | getVal = function( elem ) { var type = elem.type, val = elem.value; if ( type === "radio" || type === "checkbox" ) { val = elem.checked; } else if ( type === "select-multiple" ) { val = elem.selectedIndex > -1 ? jQuery.map( elem.options, function( elem ) { return elem.selected; }).join("-") : ""; } else if ( elem.no... | (function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^... |
var getValue = function(elements) { if (elements.length <= 0) { return undefined; } if (!fluid.tabindex.hasAttr(elements)) { return canHaveDefaultTabindex(elements) ? Number(0) : undefined; } var value = elements.attr(normalizeTabindexName()); return Number(value); }; | (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 getValue = function(elements) { if (elements.length <= 0) { return undefined; } if (!fluid.tabindex.hasAttr(elements)) { return canHaveDefaultTabindex(elements) ? Number(0) : undefined; } // Get the attribute and return it as a number value. var va... |
}; | } | function getValueGingerly(thatStack, component, segs, ind) { var thisSeg = segs[ind]; var atval = thisSeg === ""? component: fluid.model.resolvePathSegment(component, thisSeg); if (atval !== undefined) { if (atval[inCreationMarker] && atval !== thatStack[0]) { fluid.fa... |
throw Exception("jsf.viewState: param value not of type form!"); | throw new Error("jsf.viewState: param value not of type form!"); | myfaces._impl.core._jsfImpl.prototype.getViewState = function(formElement) { /** * typecheck assert!, we opt for strong typing here * because it makes it easier to detect bugs */ if ('undefined' == typeof(formElement) || null == formElement || 'u... |
}(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... | function getWH() { val = name === "width" ? elem.offsetWidth : elem.offsetHeight; if ( extra === "border" ) { return; } jQuery.each( which, function() { if ( !extra ) { val -= parseFloat(jQuery.curCSS( elem, "padding" + this, true)) || 0; } if ( extra === "margin" ) { val += parseFloat(jQuery.curCSS( elem, "margin" ... | }(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... |
function getWH() { val = name == "width" ? elem.offsetWidth : elem.offsetHeight; if ( extra === "border" ) return; jQuery.each( which, function() { if ( !extra ) val -= parseFloat(jQuery.curCSS( elem, "padding" + this, true)) || 0; if ( extra === "margin" ) val += parseFloat(jQuery.curCSS( elem, "margin" + this, true... | }(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... | function getWH() { val = name == "width" ? elem.offsetWidth : elem.offsetHeight; if ( extra === "border" ) return; jQuery.each( which, function() { if ( !extra ) val -= parseFloat(jQuery.curCSS( elem, "padding" + this, true)) || 0; if ( extra === "margin" ) val += parseFloat(jQuery.cur... |
}(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... | function getWindow( elem ) { return ("scrollTo" in elem && elem.document) ? elem : elem.nodeType === 9 ? elem.defaultView || elem.parentWindow : false; } | }(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... |
return isNative ? new self[type] : new self[type]('Microsoft.XMLHTTP'); | if(!supported) return; return isNative ? new self[type] : tryGetXhrFromProgId(); | function getXHR() { return isNative ? new self[type] : new self[type]('Microsoft.XMLHTTP'); } |
if(!supported) return; | function getXHR() { if(!supported) return; return isNative ? new this[type] : tryGetXhrFromProgId(); } | |
} | }; | cspace.globalBundle = function(options) { var that = fluid.initLittleComponent("cspace.globalBundle", options); // assuming correct environment, this I/O will resolve synchronously from the cache fluid.fetchResources(that.options.resources); fluid.initDependents(that); return tha... |
(function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^... | globalEval: function( data ) { if ( data && rnotwhite.test(data) ) { var head = document.getElementsByTagName("head")[0] || document.documentElement, script = document.createElement("script"); script.type = "text/javascript"; if ( jQuery.support.scriptEval ) { script.appendChild( document.createTextNode( data ) ); ... | (function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^... |
globalEval: function( data ) { if ( data && /\S/.test(data) ) { var head = document.getElementsByTagName("head")[0] || document.documentElement, script = document.createElement("script"); script.type = "text/javascript"; if ( jQuery.support.scriptEval ) script.appendChild( document.createTextNode( data ) ); else scr... | (function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^... | globalEval: function( data ) { if ( data && /\S/.test(data) ) { // Inspired by code by Andrea Giammarchi // http://webreflection.blogspot.com/2007/08/global-scope-evaluation-and-dom.html var head = document.getElementsByTagName("head")[0] || document.documentElement, script = document.createElement("script")... |
if (ret == "null" ) { | if ('undefined' != typeof ret && ret == "null" ) { | this.globalEval = function(code) { //chrome as a diferent global eval, thanks for pointing this out //TODO add a config param which allows to evaluate global scripts even if the call //is embedded in an iframe if (_this.browser.isIE && window.execScript) { ... |
return ret; | this.globalEval = function(code) { //chrome as a diferent global eval, thanks for pointing this out //TODO add a config param which allows to evaluate global scripts even if the call //is embedded in an iframe if (_this.browser.isIE && window.execScript) { ... | |
z[fn] = { a : 1 , b : { $in : [ 2 ] } } | z[fn+".a"] = 1; z[fn+".b"] = { $in : [ 2 ] } assert.eq( 1 , t.find( z ).itcount() , "A3 - " + fn ); | function go( fn ){ t.drop(); o = {}; o[fn] = { a : 1 , b : 2 }; t.insert( o ); x = {}; x[fn] = { a : 1 , b : 2 }; assert.eq( 1 , t.find( x ).itcount() , "A1 - " + fn ); y = {}; y[fn] = { $in : [ { a : 1 , b : 2 } ] } assert.eq( 1 , t.find( y ).itcount() , "A2 - " + fn ); z = {}; z[fn... |
assert.eq( 1 , t.find( z ).itcount() , "B3 - " + fn ); | function go( fn ){ t.drop(); o = {}; o[fn] = { a : 1 , b : 2 }; t.insert( o ); x = {}; x[fn] = { a : 1 , b : 2 }; assert.eq( 1 , t.find( x ).itcount() , "A1 - " + fn ); y = {}; y[fn] = { $in : [ { a : 1 , b : 2 } ] } assert.eq( 1 , t.find( y ).itcount() , "A2 - " + fn ); z = {}; z[fn... | |
assert.eq( 1 , t.find( z ).itcount() , "C3 - " + fn ); | function go( fn ){ t.drop(); o = {}; o[fn] = { a : 1 , b : 2 }; t.insert( o ); x = {}; x[fn] = { a : 1 , b : 2 }; assert.eq( 1 , t.find( x ).itcount() , "A1 - " + fn ); y = {}; y[fn] = { $in : [ { a : 1 , b : 2 } ] } assert.eq( 1 , t.find( y ).itcount() , "A2 - " + fn ); z = {}; z[fn... | |
var heigth = window.outerHeight - 400; | var heigth = $(window).height() - 290; | function graphResize() { var heigth = window.outerHeight - 400; var x = document.getElementById('cytoscapeweb'); x.style.height = heigth + 'px';} |
(function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^... | grep: function( elems, callback, inv ) { var ret = []; for ( var i = 0, length = elems.length; i < length; i++ ) { if ( !inv !== !callback( elems[ i ], i ) ) { ret.push( elems[ i ] ); } } return ret; }, | (function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^... |
grep: function( elems, callback, inv ) { var ret = []; for ( var i = 0, length = elems.length; i < length; i++ ) if ( !inv != !callback( elems[ i ], i ) ) ret.push( elems[ i ] ); return ret; }, | (function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^... | grep: function( elems, callback, inv ) { var ret = []; // Go through the array, only saving the items // that pass the validator function for ( var i = 0, length = elems.length; i < length; i++ ) if ( !inv != !callback( elems[ i ], i ) ) ret.push( elems[ i ] ); return ret; }, |
(function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^... | handle: function( event ) { var all, handlers, namespaces, namespace, events; event = arguments[0] = jQuery.event.fix( event || window.event ); event.currentTarget = this; all = event.type.indexOf(".") < 0 && !event.exclusive; if ( !all ) { namespaces = event.type.split("."); event.type = namespaces.shift(); namesp... | (function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^... |
handle: function(event) { var all, handlers; event = arguments[0] = jQuery.event.fix( event || window.event ); event.currentTarget = this; var namespaces = event.type.split("."); event.type = namespaces.shift(); all = !namespaces.length && !event.exclusive; var namespace = RegExp("(^|\\.)" + namespaces.slice().s... | (function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^... | handle: function(event) { // returned undefined or false var all, handlers; event = arguments[0] = jQuery.event.fix( event || window.event ); event.currentTarget = this; // Namespaced event handlers var namespaces = event.type.split("."); event.type = namespaces.shift(); // Cache this now, all = true means, ... |
csid: that.model.csid, | csid: that.applier.model.csid, | var handleAddClick = function (that) { return function () { var data = that.search.resultsPager.options.dataModel; var newIndex = 0; var newRelations = []; var source = { csid: that.model.csid, recordtype: that.options.currentRecordTyp... |
recordtype: that.options.currentRecordType | recordtype: that.options.primaryRecordType | var handleAddClick = function (that) { return function () { var data = that.search.resultsPager.options.dataModel; var newIndex = 0; var newRelations = []; var source = { csid: that.applier.model.csid, recordtype: that.options.currentR... |
that.dlg.dialog("close"); | that.close(); | var handleAddClick = function (that) { return function () { var data = that.search.model.results; var newIndex = 0; var newRelations = []; var source = { csid: that.model.csid, recordtype: that.options.primary }; ... |
var data = that.search.resultsPager.options.dataModel; | var data = that.search.resultsPager.options.dataModel.results; | var handleAddClick = function (that) { return function () { var data = that.search.resultsPager.options.dataModel; var newIndex = 0; var newRelations = []; var source = { csid: that.applier.model.csid, recordtype: that.options.primaryR... |
var data = that.search.resultsPager.options.dataModel.results; | var data = that.search.model.results; | var handleAddClick = function (that) { return function () { var data = that.search.resultsPager.options.dataModel.results; var newIndex = 0; var newRelations = []; var source = { csid: that.applier.model.csid, recordtype: that.primaryR... |
newIndex += 1; | ++newIndex; | var handleAddClick = function (that) { return function () { var data = that.search.resultsPager.options.dataModel.results; var newIndex = 0; var newRelations = []; var source = { csid: that.applier.model.csid, recordtype: that.primaryR... |
}(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... | handleError: function( s, xhr, status, e ) { if ( s.error ) { s.error.call( s.context || s, xhr, status, e ); } if ( s.global ) { (s.context ? jQuery(s.context) : jQuery.event).trigger( "ajaxError", [xhr, s, e] ); } }, | }(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... |
handleError: function( s, xhr, status, e ) { if ( s.error ) s.error( xhr, status, e ); if ( s.global ) jQuery.event.trigger( "ajaxError", [xhr, s, e] ); }, | }(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... | handleError: function( s, xhr, status, e ) { // If a local callback was specified, fire it if ( s.error ) s.error( xhr, status, e ); // Fire the global callback if ( s.global ) jQuery.event.trigger( "ajaxError", [xhr, s, e] ); }, |
while ( ( match = __re.m.exec( css ) ) != NULL ) | while ( ( match = REGEXP_MEDIA.exec( css ) ) != NULL ) | function handleMediaGroups( css ) { var match, media, m, mLen, styles, id = 0; while ( ( match = __re.m.exec( css ) ) != NULL ) { css = collapseAtMedia( css, match, id ); id++; } return css; } |
sendrequest(loadnewmenu,myurl, "GET"); | sendrequest(handleserverresponse,myurl, "GET"); | function handlemenuitemreq(event, type, requestedmenu, id){ prevdef(event); var myurl = "/"+type+"/"+id+"/" + requestedmenu + "/"; setmenuwaiting(); sendrequest(loadnewmenu,myurl, "GET");} |
setmenuwaiting(); | function handlemenuitemreq(event, type, requestedmenu, id){ prevdef(event); var myurl = "/"+type+"/"+id+"/" + requestedmenu + "/"; sendrequest(loadnewmenu,myurl, "GET");} | |
function handler( e ) { e = jQuery.event.fix( e ); e.type = fix; return jQuery.event.handle.call( this, e ); } | handler: function () { that.cancel(); } | function handler( e ) { e = jQuery.event.fix( e ); e.type = fix; return jQuery.event.handle.call( this, e ); } |
new tvheadend.help('Channels', 'config_channels.html'); } | tvheadend.channels.rejectChanges(); }, | handler: function() { new tvheadend.help('Channels', 'config_channels.html'); } |
store.rejectChanges(); }, | tvheadend.addMuxManually(adapterData, satConfStore) } | handler: function() { store.rejectChanges(); }, |
handler: function(e) { arguments[0] = $.event.fix(e); arguments[0].type = fix; return $.event.handle.apply(this, arguments); } | (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... | handler: function(e) { arguments[0] = $.event.fix(e); arguments[0].type = fix; return $.event.handle.apply(this, arguments); } |
function handler( e ) { e = jQuery.event.fix( e ); e.type = fix; return jQuery.event.handle.call( this, e ); } | for(handler in events[type])if(!parts[1]||events[type][handler].type==parts[1])delete events[type][handler];for(ret in events[type])break;if(!ret){if(!jQuery.event.special[type]||jQuery.event.special[type].teardown.call(elem)===false){if(elem.removeEventListener)elem.removeEventListener(type,jQuery.data(elem,"handle"),... | function handler( e ) { e = jQuery.event.fix( e ); e.type = fix; return jQuery.event.handle.call( this, e ); } |
transienttabs.pushtab(id, title, 'hi there1'); | transienttabs.pushtab(id, title, 'hi there1',false); | function handleserverresponse(response){ if ('menu' in response){ $('#menu').html(response['pagedata']) $('#menu').show() } if('transient' in response){ var id = response['id']; var title = response['title']; var content = response['pagedata'] $('#menu').hide(); transienttabs.pushtab(id, title, ... |
} if('permanent' in response){ var id = response['id']; var title = response['title']; var content = response['pagedata'] $('#menu').hide(); permanenttabs.settabcontent(id, content); | function handleserverresponse(response){ if ('menu' in response){ $('#menu').html(response['pagedata']) $('#menu').show() } if('transient' in response){ var id = response['id']; var title = response['title']; var content = response['pagedata'] $('#menu').hide(); transienttabs.pushtab(id, title, ... | |
resetmap(); | resetmap(true); | function handleserverresponse(response){ if ('menu' in response){ $('#menu').html(response['pagedata']) $('#menu').show() } if('transient' in response){ var id = response['id']; var title = response['title']; var content = response['pagedata'] $('#menu').hide(); transienttabs.pushtab(id, title, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.