rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
if ( uri == NULL || in_object( uri.replace( __re.f, CAPTURE ), __ignored_css ) ){ return EMPTY; } if ( __xhr == NULL ){ __xhr = new XHR(); } | if ( uri === NULL || in_object( uri.replace( REGEXP_FILE, CAPTURE ), __ignored_css ) ){ return EMPTY; } if ( __xhr === NULL ){ __xhr = new XHR(); } var status = NULL; | function get( uri ) { if ( uri == NULL || in_object( uri.replace( __re.f, CAPTURE ), __ignored_css ) ){ return EMPTY; } if ( __xhr == NULL ){ __xhr = new XHR(); } __xhr.open( 'GET', uri, FALSE ); __xhr.send( NULL ); __modified[fingerprint(uri)] = __xhr.getResponseHeader('Last-Modified'); re... |
do { if ( __xhr.readyState == 4 ) { status = __xhr.status; } if ( status !== NULL && ( status < 200 || ( status >= 300 && status != 304 ) ) ) { return EMPTY; } } while ( status === NULL ) | function get( uri ) { if ( uri == NULL || in_object( uri.replace( __re.f, CAPTURE ), __ignored_css ) ){ return EMPTY; } if ( __xhr == NULL ){ __xhr = new XHR(); } __xhr.open( 'GET', uri, FALSE ); __xhr.send( NULL ); __modified[fingerprint(uri)] = __xhr.getResponseHeader('Last-Modified'); re... | |
get customPersona() { let custom = this._prefs.get("custom"); if (custom) { try { return JSON.parse(custom) } catch(ex) { Cu.reportError("error getting custom persona: " + ex) } } return null; | get isUserSignedIn() { let cookieManager = Cc["@mozilla.org/cookiemanager;1"].getService(Ci.nsICookieManager2); let userCookie = { QueryInterface: XPCOMUtils.generateQI([Ci.nsICookie2, Ci.nsICookie]), host: this._prefs.get("host"), path: "/", name: COOKIE_USER }; return cookieManager.cookieExists(userCookie); | get customPersona() { let custom = this._prefs.get("custom"); if (custom) { try { return JSON.parse(custom) } catch(ex) { Cu.reportError("error getting custom persona: " + ex) } } return null; }, |
{var addonChromePath=__LOCATION__.parent.parent;addonChromePath.append("defaults");addonChromePath.append("sqlScript");return addonChromePath;},get wrappedJSObject(){return this;},get uuid(){if(this._uuid==null) {var io=this.ioUtility;var result=io.readFromLocalFile("uuid.dat");if(result.length==0) {var guid=this.genUU... | workHome.createUnique(CI.nsIFile.DIRECTORY_TYPE,0777);return workHome;},get addonDefaultPath(){var addonChromePath=__LOCATION__.parent.parent;addonChromePath.append("defaults");return addonChromePath;},get dbScriptPath(){var addonChromePath=__LOCATION__.parent.parent;addonChromePath.append("defaults");addonChromePath.a... | {var addonChromePath=__LOCATION__.parent.parent;addonChromePath.append("defaults");addonChromePath.append("sqlScript");return addonChromePath;},get wrappedJSObject(){return this;},get uuid(){if(this._uuid==null){var io=this.ioUtility;var result=io.readFromLocalFile("uuid.dat");if(result.length==0){var guid=this.genUUID... |
var publisherList = Registry[sEvent] || (Registry[sEvent] = []), i, len, publisher; for(i = 0, len = publisherList.length; i < len; i++) { publisher = publisherList[i]; if(publisher.src === src) { | for (i = 0, len = publisherList.length; i < len; i++) { publisher = publisherList[i]; if (publisher.src === src) { return publisher; } } publisher = new DomEventPublisher(src, sEvent); publisherList[len] = publisher; | function get(src, sEvent) { var publisherList = Registry[sEvent] || (Registry[sEvent] = []), i, len, publisher; for(i = 0, len = publisherList.length; i < len; i++) { publisher = publisherList[i]; if(publisher.src === src) { return publisher; } } // not ... |
} publisher = new EventPublisher(src, sEvent); if(src[sEvent]) { publisher.add(src[sEvent], src); } src[sEvent] = fire(publisher); publisherList[len] = publisher; return publisher; } | function get(src, sEvent) { var publisherList = Registry[sEvent] || (Registry[sEvent] = []), i, len, publisher; for(i = 0, len = publisherList.length; i < len; i++) { publisher = publisherList[i]; if(publisher.src === src) { return publisher; } } // not ... | |
async: true, | async: false, | function get_raceinfo(map,idr) { $.ajax({ async: true, url: "/ws/raceinfo.php?idrace=" + idr, dataType: "json", cache: false, success: function(answer){ // INFOS GENERALES COURSE // "idraces" "racename" "started" "deptime" "startlong" "startlat" "boattype" "closetime" "racetype" "firstpcttime" "depend_on" "qua... |
startlat= answer.startlat/1000; | startlat = answer.startlat/1000; if( (map_lat == "0" && map_lon == "0") ) { map_lat = startlat; map_lon = startlong; new_map_latlon = new google.maps.LatLng(map_lat,map_lon); map.setCenter(new_map_latlon); } | function get_raceinfo(map,idr) { $.ajax({ async: true, url: "/ws/raceinfo.php?idrace=" + idr, dataType: "json", cache: false, success: function(answer){ // INFOS GENERALES COURSE // "idraces" "racename" "started" "deptime" "startlong" "startlat" "boattype" "closetime" "racetype" "firstpcttime" "depend_on" "qua... |
if ($.fn.jwplayerUtils.isNull(path)){ return path; } | $.fn.jwplayerUtils.getAbsolutePath = function(path) { if (isAbsolutePath(path)) { return path; } var protocol = document.location.href.substr(0, document.location.href.indexOf("://") + 3); var basepath = document.location.href.substring(protocol.length, (path.indexOf("/") === 0) ? document.location.href.indexOf(... | |
var basepath = document.location.href.substring(protocol.length, (path.indexOf("/") === 0) ? document.location.href.indexOf('/') : document.location.href.lastIndexOf('/')); | var basepath = document.location.href.substring(protocol.length, (path.indexOf("/") === 0) ? document.location.href.indexOf('/', protocol.length) : document.location.href.lastIndexOf('/')); | $.fn.jwplayerUtils.getAbsolutePath = function(path) { if ($.fn.jwplayerUtils.isNull(path)){ return path; } if (isAbsolutePath(path)) { return path; } var protocol = document.location.href.substr(0, document.location.href.indexOf("://") + 3); var basepath = document.location.href.substring(protocol.length, (p... |
var protocol = document.location.href.substr(0, document.location.href.indexOf(": var basepath = document.location.href.split("?")[0]; basepath = basepath.substring(protocol.length, (path.indexOf("/") === 0) ? basepath.indexOf('/', protocol.length) : basepath.lastIndexOf('/')); var patharray = (basepath + "/" + path).s... | var protocol = document.location.href.substring(0, document.location.href.indexOf(": var domain = document.location.href.substring(protocol.length, document.location.href.indexOf('/', protocol.length + 1)); var patharray; if (path.indexOf("/") === 0) { patharray = path.split("/"); } else { var basepath = document.locat... | jwplayer.html5.utils.getAbsolutePath = function(path) { if (path === undefined) { return undefined; } if (isAbsolutePath(path)) { return path; } var protocol = document.location.href.substr(0, document.location.href.indexOf("://") + 3); var basepath = document.location.href.split("?")[0]; basepath = basepat... |
if (patharray[i] === undefined || patharray[i] == ".") { | if (!patharray[i] || patharray[i] === undefined || patharray[i] == ".") { | jwplayer.html5.utils.getAbsolutePath = function(path) { if (path === undefined) { return undefined; } if (isAbsolutePath(path)) { return path; } var protocol = document.location.href.substr(0, document.location.href.indexOf("://") + 3); var basepath = document.location.href.split("?")[0]; basepath = basepat... |
return protocol + result.join("/"); | return protocol + domain + "/" + result.join("/"); | jwplayer.html5.utils.getAbsolutePath = function(path) { if (path === undefined) { return undefined; } if (isAbsolutePath(path)) { return path; } var protocol = document.location.href.substr(0, document.location.href.indexOf("://") + 3); var basepath = document.location.href.split("?")[0]; basepath = basepat... |
jwplayer.html5.utils.getAbsolutePath = function(path) { | jwplayer.html5.utils.getAbsolutePath = function(path, base) { if (base === undefined){ base = document.location.href; } | jwplayer.html5.utils.getAbsolutePath = function(path) { if (path === undefined) { return undefined; } if (isAbsolutePath(path)) { return path; } var protocol = document.location.href.substring(0, document.location.href.indexOf("://") + 3); var domain = document.location.href.substring(protocol.length, docume... |
var protocol = document.location.href.substring(0, document.location.href.indexOf(": var domain = document.location.href.substring(protocol.length, document.location.href.indexOf('/', protocol.length + 1)); | var protocol = base.substring(0, base.indexOf(": var domain = base.substring(protocol.length, base.indexOf('/', protocol.length + 1)); | jwplayer.html5.utils.getAbsolutePath = function(path) { if (path === undefined) { return undefined; } if (isAbsolutePath(path)) { return path; } var protocol = document.location.href.substring(0, document.location.href.indexOf("://") + 3); var domain = document.location.href.substring(protocol.length, docume... |
var basepath = document.location.href.split("?")[0]; | var basepath = base.split("?")[0]; | jwplayer.html5.utils.getAbsolutePath = function(path) { if (path === undefined) { return undefined; } if (isAbsolutePath(path)) { return path; } var protocol = document.location.href.substring(0, document.location.href.indexOf("://") + 3); var domain = document.location.href.substring(protocol.length, docume... |
if (jwplayer.html5.utils.isNull(path)) { return path; | if (path === undefined) { return undefined; | jwplayer.html5.utils.getAbsolutePath = function(path) { if (jwplayer.html5.utils.isNull(path)) { return path; } if (isAbsolutePath(path)) { return path; } var protocol = document.location.href.substr(0, document.location.href.indexOf("://") + 3); var basepath = document.location.href.split("?")[0]; basepath... |
if (jwplayer.html5.utils.isNull(patharray[i]) || patharray[i] == ".") { | if (patharray[i] === undefined || patharray[i] == ".") { | jwplayer.html5.utils.getAbsolutePath = function(path) { if (jwplayer.html5.utils.isNull(path)) { return path; } if (isAbsolutePath(path)) { return path; } var protocol = document.location.href.substr(0, document.location.href.indexOf("://") + 3); var basepath = document.location.href.split("?")[0]; basepath... |
debug.debug(selectedTabIndex); debug.debug($('#media-browser-tabs .ui-tabs-panel:eq(' + selectedTabIndex + ')')); | Drupal.media.browser.getActivePanel = function() { var selectedTabIndex = this.getTabset().tabs('option', 'selected'); if (selectedTabIndex == -1) { // If nothing is selected return an empty element (I guess...). return $(); } debug.debug(selectedTabIndex); debug.debug($('#media-browser-tabs .ui-tabs-panel:e... | |
if ( sLen > 0 && ! defined( stylesheets[0].cssText ) ) | if ( sLen > 0 ) | function getActiveStylesheets() { var stylesheets = DOCUMENT.styleSheets, s = 0, sLen = stylesheets.length; for ( ; s<sLen; s++ ) { // add the stylesheet addStyleSheet( stylesheets[s] ); } // if browsers don't expose cssText, we need to rely on XHR if ( sLen > 0 && ! defined... |
node = this.byId(node); if ((!node) || (!node.getAttribute)) { return null; | node = this.byId(node); if ((!node) || (!node.getAttribute)) { return null; } var ta = typeof attr == 'string' ? attr : new String(attr); var v = node.getAttribute(ta.toUpperCase()); if ((v) && (typeof v == 'string') && (v != "")) { return v; } if (v && v.value) { return v.value; } if ((node.getAttributeNode)... | getAttribute : function(/* HTMLElement */node, /* string */attr) { // summary // Returns the value of attribute attr from node. node = this.byId(node); // FIXME: need to add support for attr-specific accessors if ((!node) || (!node.getAttribute)) { // if(attr !== 'nwTyp... |
var ta = typeof attr == 'string' ? attr : new String(attr); var v = node.getAttribute(ta.toUpperCase()); if ((v) && (typeof v == 'string') && (v != "")) { return v; } if (v && v.value) { return v.value; } if ((node.getAttributeNode) && (node.getAttributeNode(ta))) { return (node.getAttributeNode(ta)).value; } els... | getAttribute : function(/* HTMLElement */node, /* string */attr) { // summary // Returns the value of attribute attr from node. node = this.byId(node); // FIXME: need to add support for attr-specific accessors if ((!node) || (!node.getAttribute)) { // if(attr !== 'nwTyp... | |
fluid.model.getBeanValue = function (root, EL, environment) { if (EL === "" || EL === null || EL === undefined) { return root; } var segs = fluid.model.parseEL(EL); for (var i = 0; i < segs.length; ++i) { if (!root) { return root; } var segment = segs[i]; if (environment && environment[segment]) { root = environment[se... | (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.model.getBeanValue = function (root, EL, environment) { if (EL === "" || EL === null || EL === undefined) { return root; } var segs = fluid.model.parseEL(EL); for (var i = 0; i < segs.length; ++i) { if (!root) { return root; } ... |
getBM2UsageString : function() { var str = ""; for(key in this.bm2Usage) { if(key) { str += (str.length < 1 ? "" : ",") + key + "|" + this.bm2Usage[key]; } } return str; }, | _self.bm2Usage[bid]=""+cnt;};this.getBM2UsageString=function(){var str="";for(key in _self.bm2Usage){if(key){str+=(str.length<1?"":",")+key+"|" +_self.bm2Usage[key];}} return str;};this.clearBM2Usage=function(){for(key in _self.bm2Usage){_self.bm2Usage[key]=null;} | getBM2UsageString : function() { var str = ""; for(key in this.bm2Usage) { if(key) { str += (str.length < 1 ? "" : ",") + key + "|" + this.bm2Usage[key]; } } return str; }, |
if(o === window) return cb; var bound = function(ev) { bound.original.call(bound.context, ev); }; bound.original = cb; bound.context = o; cb = o = null; return bound; } | if(o === window) return cb; function bound(ev) { bound.original.call(bound.context, ev); } bound.original = cb; bound.context = o; cb = o = null; return bound; } | function getBoundCallback(o, cb) { // no binding for window, because: // 1) context is already global and // 2) removing onunload handlers is skipped (see cleanUp); if(o === window) return cb; var bound = function(ev) { bound.original.call(bound.context, ev); }; b... |
getCacheDir : function() { var ret = null; if (this.mCacheDir === null) { try { var extd = this.getExtensionDir(); extd.appendRelativePath("cache"); if (!extd.exists()){ extd.create(CI.nsILocalFile.DIRECTORY_TYPE, 0777); } this.mCacheDir = extd; ret = this.mCacheDir.clone().QueryInterface(CI.nsILocalFile); } catch(e) ... | var ret=this.mProfileDir.clone().QueryInterface(CI.nsILocalFile);return ret;}catch(e){ytbDebug(e);this.mProfileDir=null;throw'ERROR fetching profile directory: ';}},cleanupCache:function(){var yDir=this.getCacheDir().parent;this.getCacheDir().remove(true);if(yDir.leafName=="Yahoo! Inc"&&!yDir.directoryEntries.hasMoreEl... | getCacheDir : function() { var ret = null; if (this.mCacheDir === null) { try { // Add cache sub-directory var extd = this.getExtensionDir(); extd.appendRelativePath("cache"); if (!extd.exists()){ extd.create(CI.nsILocalFile.DIRECTORY_TYPE, 077... |
getCacheFile : function(fileName) { try { var file = this.getCacheDir(); file.appendRelativePath(fileName); return file; } catch(e) { throw 'ERROR fetching datafile '+fileName+': '+e; } }, | return udir;},getCacheFile:function(fileName){try{var file=this.getCacheDir();file.appendRelativePath(fileName);return file;}catch(e){ytbDebug(e);throw'ERROR fetching datafile '+fileName+': '+e;}},getChromeContentFile:function(fileName){try{var file=this.getChromeContentDir();file.appendRelativePath(fileName);return fi... | getCacheFile : function(fileName) { try { var file = this.getCacheDir(); file.appendRelativePath(fileName); return file; } catch(e) { throw 'ERROR fetching datafile '+fileName+': '+e; }}, |
return function(ev) { callback(ev, delegateFactory); }; | return delegateFactory.delegateCallback || (delegateFactory.delegateCallback = function(ev) { callback(ev, delegateFactory); }); | function getCallbackForFactory(delegateFactory) { return function(ev) { callback(ev, delegateFactory); }; } |
this.getChild = function(index){ return (index < this.childSize) ? this.childNodes.queryElementAt(index, Components.interfaces.nsIYahooFeedNode) : 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;} | this.getChild = function(index){ return (index < this.childSize) ? this.childNodes.queryElementAt(index, Components.interfaces.nsIYahooFeedNode) : null; }; |
return this.getFilteredChild(item, filter); } | getChild: function(item, childName, itemName) { var _Lang = this._Lang; function filter(node) { return node.tagName && _Lang.equalsIgnoreCase(node.tagName, childName) && (!itemName || (itemName && itemName == node.getAttribute("name"))); } ... | |
if(c[NODE_TYPE] !== 1) continue; | if(c.nodeType !== 1) continue; | function getChildElements(el) { var i, j, ret = [], cn = el.childNodes, len = cn.length, c; ret.length = len; // IE throws error when calling // Array.prototype.slice.call(el.children). // IE also includes comment nodes. for(i = j = 0; i < len; i++) { ... |
if(c.nodeType !== 1) continue; | if(c.nodeType !== 1 || c.tagName === "!") continue; | function getChildElements(el) { var i, j, ret = [], cn = el.childNodes, len = cn.length, c; ret.length = len; // IE throws error when calling // Array.prototype.slice.call(el.children). // IE also includes comment nodes. for(i = j = 0; i < len; i++) { ... |
node = this.byId(node); if (!node) { return ""; | node = this.byId(node); if (!node) { return ""; } var cs = ""; if (node.className) { cs = node.className; } else { if (this.hasAttribute(node, "class")) { cs = this.getAttribute(node, "class"); } } return cs.replace(/^\s+|\s+$/g, ""); | getClass : function(node) { node = this.byId(node); if (!node) { return ""; } var cs = ""; if (node.className) { cs = node.className; } else { if (this.hasAttribute(node, "class")) { cs = this.getAttribute(node, "class"); ... |
var cs = ""; if (node.className) { cs = node.className; } else { if (this.hasAttribute(node, "class")) { cs = this.getAttribute(node, "class"); } } return cs.replace(/^\s+|\s+$/g, ""); } | getClass : function(node) { node = this.byId(node); if (!node) { return ""; } var cs = ""; if (node.className) { cs = node.className; } else { if (this.hasAttribute(node, "class")) { cs = this.getAttribute(node, "class"); ... | |
getClassObject : function (compMgr, cid, iid) { if (!cid.equals(this.myCID)) { throw Components.results.NS_ERROR_NO_INTERFACE; } if (!iid.equals(Components.interfaces.nsIFactory)) { throw Components.results.NS_ERROR_NOT_IMPLEMENTED; } return this.myFactory; }, | compMgr=compMgr.QueryInterface(Components.interfaces.nsIComponentRegistrar);compMgr.registerFactoryLocation(this.myCID,"Yahoo! Feed Node",this.myProgID,fileSpec,location,type);},getClassObject:function(compMgr,cid,iid){if(!cid.equals(this.myCID)){throw Components.results.NS_ERROR_NO_INTERFACE;} if(!iid.equals(Component... | getClassObject : function (compMgr, cid, iid) { if (!cid.equals(this.myCID)) { throw Components.results.NS_ERROR_NO_INTERFACE; } if (!iid.equals(Components.interfaces.nsIFactory)) { throw Components.results.NS_ERROR_NOT_IMPLEMENTED; } ... |
getClassObject : function (compMgr, cid, iid) { if (!cid.equals(this.myCID)) { throw Components.results.NS_ERROR_NO_INTERFACE; } if (!iid.equals(yahooCI.nsIFactory)) { throw Components.results.NS_ERROR_NOT_IMPLEMENTED; } return this.myFactory; }, | compMgr=compMgr.QueryInterface(yahooCI.nsIComponentRegistrar);compMgr.registerFactoryLocation(this.myCID,"Yahoo! Log File Appender",this.myProgID,fileSpec,location,type);},getClassObject:function(compMgr,cid,iid){if(!cid.equals(this.myCID)){throw Components.results.NS_ERROR_NO_INTERFACE;} if(!iid.equals(yahooCI.nsIFact... | getClassObject : function (compMgr, cid, iid) { if (!cid.equals(this.myCID)) { throw Components.results.NS_ERROR_NO_INTERFACE; } if (!iid.equals(yahooCI.nsIFactory)) { throw Components.results.NS_ERROR_NOT_IMPLEMENTED; } return... |
getClassObject : function (compMgr, cid, iid) { if (!cid.equals(this.myCID)) { throw Components.results.NS_ERROR_NO_INTERFACE; } if (!iid.equals(CI.nsIFactory)) { throw Components.results.NS_ERROR_NOT_IMPLEMENTED; } return this.myFactory; }, | compMgr=compMgr.QueryInterface(CI.nsIComponentRegistrar);compMgr.registerFactoryLocation(this.myCID,"Yahoo! File IO",this.myProgID,fileSpec,location,type);},getClassObject:function(compMgr,cid,iid){if(!cid.equals(this.myCID)){throw Components.results.NS_ERROR_NO_INTERFACE;} if(!iid.equals(CI.nsIFactory)){throw Componen... | getClassObject : function (compMgr, cid, iid) { if (!cid.equals(this.myCID)) { throw Components.results.NS_ERROR_NO_INTERFACE; } if (!iid.equals(CI.nsIFactory)) { throw Components.results.NS_ERROR_NOT_IMPLEMENTED; } return this... |
getClassObject : function (compMgr, cid, iid) { if (!cid.equals(this.myCID)) throw Components.results.NS_ERROR_NO_INTERFACE; if (!iid.equals(CI.nsIFactory)) throw Components.results.NS_ERROR_NOT_IMPLEMENTED; return this.myFactory; }, | throw Components.results.NS_ERROR_NO_INTERFACE;return this;};};var FeedProcessorModule={mContractID:"@yahoo.com/feed/processor;1",mCID:Components.ID("{05F8BDE2-514C-40fe-847D-8D39F3C5E3B5}"),mFactory:{createInstance:function(outer,iid){if(outer!=null)throw Components.results.NS_ERROR_NO_AGGREGATION;return(new yFeedProc... | getClassObject : function (compMgr, cid, iid) { if (!cid.equals(this.myCID)) throw Components.results.NS_ERROR_NO_INTERFACE; if (!iid.equals(CI.nsIFactory)) throw Components.results.NS_ERROR_NOT_IMPLEMENTED; return this.myFactory; }, |
getClassObject : function (compMgr, cid, iid) { try { if (!iid.equals(CI.nsIFactory) ) { throw Components.results.NS_ERROR_NOT_IMPLEMENTED; } for (var idx = 0; idx < this.mObjects.length; idx++) { if (cid.equals(this.mObjects[idx].mCID)) { return this.mObjects[idx].mFactory; } } throw Components.results.NS_ERROR_NO_IN... | compMgr=compMgr.QueryInterface(CI.nsIComponentRegistrar);for(var idx=0;idx<this.mObjects.length;idx++){var obj=this.mObjects[idx];compMgr.registerFactoryLocation(obj.mCID,obj.mName,obj.mProgID,fileSpec,location,type);debug("Registered ["+obj.mProgID+"]---> "+obj.mCID);}},getClassObject:function(compMgr,cid,iid){try{if(... | getClassObject : function (compMgr, cid, iid) { try { if (!iid.equals(CI.nsIFactory) ) { throw Components.results.NS_ERROR_NOT_IMPLEMENTED; } for (var idx = 0; idx < this.mObjects.length; idx++) { if (cid.equals(this.mObjects[i... |
getClassObject : function (compMgr, cid, iid) { try { debug("Gets class object"); if (!iid.equals(CI.nsIFactory) ) { throw Components.results.NS_ERROR_NOT_IMPLEMENTED; } for (var idx = 0; idx < this.mObjects.length; idx++) { if (cid.equals(this.mObjects[idx].mCID)) { debug(this.mObjects[idx]); return this.mObjects[idx... | debug("Done with registering.. ");},getClassObject:function(compMgr,cid,iid){try{if(!iid.equals(CI.nsIFactory)){throw Components.results.NS_ERROR_NOT_IMPLEMENTED;} for(var idx=0;idx<this.mObjects.length;idx++){if(cid.equals(this.mObjects[idx].mCID)){return this.mObjects[idx].mFactory;}} throw Components.results.NS_ERRO... | getClassObject : function (compMgr, cid, iid) { try { debug("Gets class object"); if (!iid.equals(CI.nsIFactory) ) { throw Components.results.NS_ERROR_NOT_IMPLEMENTED; } for (var idx = 0; idx < this.mObjects.length; idx++) { ... |
getClassObject : function (compMgr, cid, iid) { if (!cid.equals(this.myCID)) { throw Components.results.NS_ERROR_NO_INTERFACE; } if (!iid.equals(CI.nsIFactory)) { throw Components.results.NS_ERROR_NOT_IMPLEMENTED; } return this.myFactory; }, | compMgr=compMgr.QueryInterface(CI.nsIComponentRegistrar);compMgr.registerFactoryLocation(this.myCID,"Yahoo! Dom Builder",this.myProgID,fileSpec,location,type);},getClassObject:function(compMgr,cid,iid){if(!cid.equals(this.myCID)){throw Components.results.NS_ERROR_NO_INTERFACE;} if(!iid.equals(CI.nsIFactory)){throw Comp... | getClassObject : function (compMgr, cid, iid) { if (!cid.equals(this.myCID)) { throw Components.results.NS_ERROR_NO_INTERFACE; } if (!iid.equals(CI.nsIFactory)) { throw Components.results.NS_ERROR_NOT_IMPLEMENTED; } return this... |
this.firstTime=false;}},unregisterSelf:function(compMgr,fileSpec,location){compMgr.QueryInterface(Components.interfaces.nsIComponentRegistrar).unregisterFactoryLocation(SERVICE_CID,fileSpec);var catman=Components.classes['@mozilla.org/categorymanager;1'].getService(Components.interfaces.nsICategoryManager);for(var j=0,... | dump("register linkool dao\n");this.firstTime=false;}},unregisterSelf:function(compMgr,fileSpec,location){compMgr.QueryInterface(Components.interfaces.nsIComponentRegistrar).unregisterFactoryLocation(SERVICE_CID,fileSpec);var catman=Components.classes['@mozilla.org/categorymanager;1'].getService(Components.interfaces.n... | this.firstTime=false;}},unregisterSelf:function(compMgr,fileSpec,location){compMgr.QueryInterface(Components.interfaces.nsIComponentRegistrar).unregisterFactoryLocation(SERVICE_CID,fileSpec);var catman=Components.classes['@mozilla.org/categorymanager;1'].getService(Components.interfaces.nsICategoryManager);for(var j=0,... |
function getColumnDefs(that) { return that.options.columnDefs; } | (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 getColumnDefs(that) { return that.options.columnDefs; } |
return this.add_row_division_id+"-"+index | if (this.row_id_discriminator!=null) { return this.row_id_discriminator+"-"+index } else { return this.add_row_division_id+"-"+index } | getColumnDivisionID: function(index){ return this.add_row_division_id+"-"+index }, |
SAXStrings.getColumnNumber = function (strD, iP) { if (!strD) { return -1;} iP = iP || strD.length; var arrD = strD.substring(0, iP).split("\n"); arrD.length--; var iLinePos = arrD.join("\n").length; return iP - iLinePos; }; | (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.getColumnNumber = function (strD, iP) { if (!strD) { return -1;} iP = iP || strD.length; var arrD = strD.substring(0, iP).split("\n"); arrD.length--; var iLinePos = arrD.join("\n").length; return iP - iLinePos; }; |
{return this.aTableType;},getColumns:function() {return this.aColumns;},selectQuery:function(sQuery,bBlobAsHex) | 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... | {return this.aTableType;},getColumns:function(){return this.aColumns;},selectQuery:function(sQuery,bBlobAsHex) |
TestRunnerFactory.testSimple = testSimple; | TestRunnerFactory.runTests = runTests; | function getConstructor(TestRunnerFactory) { TestRunnerFactory.testSimple = testSimple; return TestRunnerC; } |
APE.namespace("APE.dom.Event").getCoords=function(B){var C=APE.dom,A;if("pageX" in B){A=function(D){return{x:D.pageX,y:D.pageY}}}else{A=function(E){var D=C.getScrollOffsets();E=E||window.event;return{x:E.clientX+D.left,y:E.clientY+D.top}}}return(C.Event.getCoords=A)(B)}; | APE.dom.Event.getCoords=function(C){var D=APE.dom,B,A;if("pageX" in C){B=function(E){return{x:E.pageX,y:E.pageY}}}else{B=function(F){var E=D.getScrollOffsets();F=F||window.event;return{x:F.clientX+E.left,y:F.clientY+E.top}}}A=(D.Event.getCoords=B)(C);C=null;return A}; | APE.namespace("APE.dom.Event").getCoords=function(B){var C=APE.dom,A;if("pageX" in B){A=function(D){return{x:D.pageX,y:D.pageY}}}else{A=function(E){var D=C.getScrollOffsets();E=E||window.event;return{x:E.clientX+D.left,y:E.clientY+D.top}}}return(C.Event.getCoords=A)(B)}; |
return (Event.getCoords = getCoords)(ev); | return(dom.Event.getCoords = getCoords)(ev); | APE.namespace("APE.dom.Event").getCoords = function(ev) { var dom = APE.dom, getCoords; if ("pageX" in ev) { getCoords = function(ev) { return { x : ev.pageX, y : ev.pageY }; }; } else { getCoords = function(ev) { var scrollOff... |
APE.namespace("APE.dom.Event").getCoords = function(ev) { var dom = APE.dom, getCoords; | APE.dom.Event.getCoords = function(ev) { var dom = APE.dom, getCoords, result; | APE.namespace("APE.dom.Event").getCoords = function(ev) { var dom = APE.dom, getCoords; if ("pageX" in ev) { getCoords = function(ev) { return { x : ev.pageX, y : ev.pageY }; }; } else { getCoords = function(ev) { var scrollOff... |
return(dom.Event.getCoords = getCoords)(ev); | result = (dom.Event.getCoords = getCoords)(ev); ev = null; return result; | APE.namespace("APE.dom.Event").getCoords = function(ev) { var dom = APE.dom, getCoords; if ("pageX" in ev) { getCoords = function(ev) { return { x : ev.pageX, y : ev.pageY }; }; } else { getCoords = function(ev) { var scrollOff... |
function getCoords(e) { var f; if ("pageX" in e) { f = function(e) { return { x : e.pageX, y : e.pageY }; | APE.namespace("APE.dom.Event").getCoords = function(ev) { var dom = APE.dom, getCoords; if ("pageX" in ev) { getCoords = function(ev) { return { x : ev.pageX, y : ev.pageY | function getCoords(e) { var f; if ("pageX" in e) { f = function(e) { return { x : e.pageX, y : e.pageY }; }; } else { f = function(e) { var scrollOffsets = dom.getScrollOffsets();... |
} else { f = function(e) { var scrollOffsets = dom.getScrollOffsets(); e = e || window.event; return { x : e.clientX + scrollOffsets.left, y : e.clientY + scrollOffsets.top }; | }; } else { getCoords = function(ev) { var scrollOffsets = dom.getScrollOffsets(); ev = ev || window.event; return { x : ev.clientX + scrollOffsets.left, y : ev.clientY + scrollOffsets.top | function getCoords(e) { var f; if ("pageX" in e) { f = function(e) { return { x : e.pageX, y : e.pageY }; }; } else { f = function(e) { var scrollOffsets = dom.getScrollOffsets();... |
} return (Event.getCoords = f)(e); | }; | function getCoords(e) { var f; if ("pageX" in e) { f = function(e) { return { x : e.pageX, y : e.pageY }; }; } else { f = function(e) { var scrollOffsets = dom.getScrollOffsets();... |
return (Event.getCoords = getCoords)(ev); }; | function getCoords(e) { var f; if ("pageX" in e) { f = function(e) { return { x : e.pageX, y : e.pageY }; }; } else { f = function(e) { var scrollOffsets = dom.getScrollOffsets();... | |
return (Event.getCoords = getCoords)(ev); | return(dom.Event.getCoords = getCoords)(ev); | APE.namespace("APE.dom.Event").getCoords = function(ev) { var dom = APE.dom, getCoords; if ("pageX" in ev) { getCoords = function(ev) { return { x : ev.pageX, y : ev.pageY }; }; } else { getCoords = function(ev) { var scrollOff... |
APE.namespace("APE.dom.Event").getCoords = function(ev) { var dom = APE.dom, getCoords; | APE.dom.Event.getCoords = function(ev) { var dom = APE.dom, getCoords, result; | APE.namespace("APE.dom.Event").getCoords = function(ev) { var dom = APE.dom, getCoords; if ("pageX" in ev) { getCoords = function(ev) { return { x : ev.pageX, y : ev.pageY }; }; } else { getCoords = function(ev) { var scrollOff... |
return(dom.Event.getCoords = getCoords)(ev); | result = (dom.Event.getCoords = getCoords)(ev); ev = null; return result; | APE.namespace("APE.dom.Event").getCoords = function(ev) { var dom = APE.dom, getCoords; if ("pageX" in ev) { getCoords = function(ev) { return { x : ev.pageX, y : ev.pageY }; }; } else { getCoords = function(ev) { var scrollOff... |
return (Event.getCoords = getCoords)(ev); };/** @fileoverview | function getCoords(e) { var f; if ("pageX" in e) { f = function(e) { return { x : e.pageX, y : e.pageY }; }; } else { f = function(e) { var scrollOffsets = dom.getScrollOffsets();... | |
if ( ! __checking ) | if ( stylesheet = __stylesheets[__s] ) | function getCSSFiles() { var stylesheet, file, css, status; if ( ! __checking ) { if ( stylesheet = __stylesheets[__s] ) { if ( file = stylesheet.actual_path ) { if ( file === NULL || in_object( file.replace( REGEXP_FILE, CAPTURE ), __ignored_css ) ) {... |
if ( stylesheet = __stylesheets[__s] ) | if ( file = stylesheet.actual_path ) | function getCSSFiles() { var stylesheet, file, css, status; if ( ! __checking ) { if ( stylesheet = __stylesheets[__s] ) { if ( file = stylesheet.actual_path ) { if ( file === NULL || in_object( file.replace( REGEXP_FILE, CAPTURE ), __ignored_css ) ) {... |
if ( file = stylesheet.actual_path ) | if ( file === NULL || in_object( file.replace( REGEXP_FILE, CAPTURE ), __ignored_css ) ) | function getCSSFiles() { var stylesheet, file, css, status; if ( ! __checking ) { if ( stylesheet = __stylesheets[__s] ) { if ( file = stylesheet.actual_path ) { if ( file === NULL || in_object( file.replace( REGEXP_FILE, CAPTURE ), __ignored_css ) ) {... |
if ( file === NULL || in_object( file.replace( REGEXP_FILE, CAPTURE ), __ignored_css ) ) { getCSSFiles(); } else { __checking = TRUE; __xhr.open( 'GET', file, FALSE ); __xhr.send( NULL ); } | getCSSFiles(); | function getCSSFiles() { var stylesheet, file, css, status; if ( ! __checking ) { if ( stylesheet = __stylesheets[__s] ) { if ( file = stylesheet.actual_path ) { if ( file === NULL || in_object( file.replace( REGEXP_FILE, CAPTURE ), __ignored_css ) ) {... |
__s++; readCSS( extract( stylesheet ), stylesheet.actual_media ); getCSSFiles(); | __xhr = new XHR(); __xhr.onreadystatechange = xhrHandler; __xhr.open( 'GET', file, FALSE ); __xhr.send( NULL ); try { if ( __xhr.onreadystatechange != xhrHandler ) { __xhr.onreadystatechange = xhrHandler(); } } catch ( e ) { } | function getCSSFiles() { var stylesheet, file, css, status; if ( ! __checking ) { if ( stylesheet = __stylesheets[__s] ) { if ( file = stylesheet.actual_path ) { if ( file === NULL || in_object( file.replace( REGEXP_FILE, CAPTURE ), __ignored_css ) ) {... |
wrapUp(); | readCSS( extract( stylesheet ), stylesheet.actual_media ); __s++; getCSSFiles(); | function getCSSFiles() { var stylesheet, file, css, status; if ( ! __checking ) { if ( stylesheet = __stylesheets[__s] ) { if ( file = stylesheet.actual_path ) { if ( file === NULL || in_object( file.replace( REGEXP_FILE, CAPTURE ), __ignored_css ) ) {... |
if ( __xhr.readyState == 4 ) { __checking = FALSE; status = __xhr.status; if ( status === 0 || ( status >= 200 && status < 300 ) || status == 304 ) { readCSS( __xhr.responseText, __stylesheets[__s].actual_media ); __modified[fingerprint( __stylesheets[__s].actual_path )] = __xhr.getResponseHeader('Last-Modified'); __s+... | wrapUp(); | function getCSSFiles() { var stylesheet, file, css, status; if ( ! __checking ) { if ( stylesheet = __stylesheets[__s] ) { if ( file = stylesheet.actual_path ) { if ( file === NULL || in_object( file.replace( REGEXP_FILE, CAPTURE ), __ignored_css ) ) {... |
__s++; | getCSSFiles = function() { var stylesheet, file, css, status; if ( stylesheet = __stylesheets[__s] ) { if ( file = stylesheet.actual_path ) { if ( file === NULL || in_object( file.replace( REGEXP_FILE, CAPTURE ), __ignored_css ) ) {... | |
getData : function(key) { for(var idx = 0; idx < this.mDataStore.length; idx++) { if (this.mDataStore[idx].mKey == key) { var hashData = this.mDataStore[idx]; this.mDataStore.splice(idx,1); this.mDataStore.unshift(hashData); return hashData; } } return null; } | return data;},getData:function(key){for(var idx=0;idx<this.mDataStore.length;idx++){if(this.mDataStore[idx].mKey==key){var hashData=this.mDataStore[idx];this.mDataStore.splice(idx,1);return hashData;}} return null;},clearData:function(){this.mDataStore=[];}};function YahooSearchIndexer(){this.mFileIO=CC[YahooExtConfig.... | getData : function(key) { for(var idx = 0; idx < this.mDataStore.length; idx++) { if (this.mDataStore[idx].mKey == key) { var hashData = this.mDataStore[idx]; this.mDataStore.splice(idx,1); this.mDataStore.unshift(... |
var getData = function(target, key) { var data = $(target).data(NAMESPACE_KEY); return data ? data[key] : undefined; }; | (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 getData = function(target, key) { var data = $(target).data(NAMESPACE_KEY); return data ? data[key] : undefined; }; |
getDataForKey : function(url){ var data = null; try { var target = this.mRDFService.GetLiteral(url); var resource = this.mFileDataSource.GetSource(this.mRscUrl, target, true); if (resource) { target = this.mFileDataSource.GetTarget(resource, this.mRscData, true); if (target instanceof CI.nsIRDFLiteral) { data = target.... | this.mFileDataSource.Flush();}catch(e){ytbDebug(e);}},getDataForKey:function(url){var data=null;try{var target=this.mRDFService.GetLiteral(url);var resource=this.mFileDataSource.GetSource(this.mRscUrl,target,true);if(resource){target=this.mFileDataSource.GetTarget(resource,this.mRscData,true);if(target instanceof CI.ns... | getDataForKey : function(url){ var data = null; try { var target = this.mRDFService.GetLiteral(url); var resource = this.mFileDataSource.GetSource(this.mRscUrl, target, true); if (resource) { target = this.mFileDataSource.GetTarget... |
var dirEnd = url.lastIndexOf("/"); return url.substring(0, dirEnd) + "\/config" + url.substring(dirEnd, url.indexOf(".html")) + ".json"; | return ".\/config" + url.substring(url.lastIndexOf("/"), url.indexOf(".html")) + ".json"; | cspace.util.getDefaultConfigURL = function () { var url = window.location.pathname; var dirEnd = url.lastIndexOf("/"); return url.substring(0, dirEnd) + "\/config" + url.substring(dirEnd, url.indexOf(".html")) + ".json"; }; |
return _display.display; | return _wrapper; | this.getDisplayElement = function() { return _display.display; }; |
var created = false; if (!this._dummyPlaceHolder) { this._dummyPlaceHolder = document.createElement("div"); created = true; | var created = false; if (!this._dummyPlaceHolder) { this._dummyPlaceHolder = document.createElement("div"); created = true; } if (this._RT.browser.isIEMobile && created) { this.insertFirst(this._dummyPlaceHolder); this.setAttribute(this._dummyPlaceHolder, "style", "display: none"); } return this._dummyPlaceHolde... | getDummyPlaceHolder: function(markup) { var created = false; if (!this._dummyPlaceHolder) { this._dummyPlaceHolder = document.createElement("div"); created = true; } //ieMobile in its 6.1-- incarnation cannot handle innerHTML detached objects so we have //to ... |
if (this._RT.browser.isIEMobile && created) { this.insertFirst(this._dummyPlaceHolder); this.setAttribute(this._dummyPlaceHolder, "style", "display: none"); } return this._dummyPlaceHolder; } | getDummyPlaceHolder: function(markup) { var created = false; if (!this._dummyPlaceHolder) { this._dummyPlaceHolder = document.createElement("div"); created = true; } //ieMobile in its 6.1-- incarnation cannot handle innerHTML detached objects so we have //to ... | |
this.setAttribute(this._dummyPlaceHolder, "style", "display: none"); | getDummyPlaceHolder: function(markup) { var created = false; if (!this._dummyPlaceHolder) { this._dummyPlaceHolder = document.createElement("div"); created = true; } //ieMobile in its 6.1-- incarnation cannot handle innerHTML detached objects so we have //to ... | |
var created = false; if (!this._dummyPlaceHolder) { this._dummyPlaceHolder = document.createElement("div"); created = true; } if (this._RT.browser.isIEMobile && created) { this.insertFirst(this._dummyPlaceHolder); } | getDummyPlaceHolder: function(markup) { return this._dummyPlaceHolder; } | |
fluid.dom.getElementText = function(element) { var nodes = element.childNodes; var text = ""; for (var i = 0; i < nodes.length; ++ i) { var child = nodes[i]; if (child.nodeType == 3) { text = text + child.nodeValue; } } return text; }; | (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.dom.getElementText = function(element) { var nodes = element.childNodes; var text = ""; for (var i = 0; i < nodes.length; ++ i) { var child = nodes[i]; if (child.nodeType == 3) { text = text + child.nodeValue; } } return text; }; |
fluid.event.getEventFirer = function (unicast, preventable) { var log = fluid.log; var listeners = {}; return { addListener: function (listener, namespace, predicate) { if (!listener) { return; } if (unicast) { namespace = "unicast"; } if (!namespace) { if (!listener.$$guid) { listener.$$guid = fluid_guid++; } namespac... | (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.event.getEventFirer = function (unicast, preventable) { var log = fluid.log; var listeners = {}; return { addListener: function (listener, namespace, predicate) { if (!listener) { return; } if (unicast) { ... |
var log = fluid.log; | fluid.event.getEventFirer = function (unicast, preventable) { var log = fluid.log; var listeners = {}; return { addListener: function (listener, namespace, predicate) { if (!listener) { return; } if (unicast) { ... | |
if (!listener.$$guid) { listener.$$guid = fluid_guid++; } namespace = listener.$$guid; | namespace = fluid.event.identifyListener(listener); | fluid.event.getEventFirer = function (unicast, preventable) { var log = fluid.log; var listeners = {}; return { addListener: function (listener, namespace, predicate) { if (!listener) { return; } if (unicast) { ... |
fireToListeners: function (listeners, args, wrapper) { return fireToListeners(listeners, args, wrapper); }, | fluid.event.getEventFirer = function (unicast, preventable) { var log = fluid.log; var listeners = {}; return { addListener: function (listener, namespace, predicate) { if (!listener) { return; } if (unicast) { ... | |
for (var i in listeners) { var lisrec = listeners[i]; var listener = lisrec.listener; if (lisrec.predicate && !lisrec.predicate(listener, arguments)) { continue; } try { var ret = listener.apply(null, arguments); if (preventable && ret === false) { return false; } } catch (e) { log("FireEvent received exception " + e.m... | return fireToListeners(listeners, arguments); | fluid.event.getEventFirer = function (unicast, preventable) { var log = fluid.log; var listeners = {}; return { addListener: function (listener, namespace, predicate) { if (!listener) { return; } if (unicast) { ... |
var t = (evt.srcElement ? evt.srcElement : (evt.target ? evt.target : null)); | var t = evt.srcElement || evt.target || evt.source || null; | getEventTarget: function(evt) { //ie6 and 7 fallback evt = (!evt) ? window.event || {} : evt; var t = (evt.srcElement ? evt.srcElement : (evt.target ? evt.target : null)); while ((t) && (t.nodeType != 1)) { t = t.parentNode; } return t; }, |
getExtensionDir : function() { try { if (this.mExtensionDir !== null) { return this.mExtensionDir.clone().QueryInterface(CI.nsILocalFile); } } catch(e) { throw 'ERROR getting extensinos dir'; } }, | var ret=this.mProfileDir.clone().QueryInterface(CI.nsILocalFile);return ret;}catch(e){ytbDebug(e);this.mProfileDir=null;throw'ERROR fetching profile directory: ';}},cleanupCache:function(){var yDir=this.getCacheDir().parent;this.getCacheDir().remove(true);if(yDir.leafName=="Yahoo! Inc"&&!yDir.directoryEntries.hasMoreEl... | getExtensionDir : function() { try { if (this.mExtensionDir !== null) { return this.mExtensionDir.clone().QueryInterface(CI.nsILocalFile); } } catch(e) { throw 'ERROR getting extensinos dir'; }}, |
getFaviconFromCache : function(url, defaultIcon) { var icon; try { if ( url.indexOf("chrome: return this.mDefaultIconUrl; } var ioService = CC["@mozilla.org/network/io-service;1"].getService(CI.nsIIOService); var iconUri = ioService.newURI(url,"" ,null); icon = this.getImageFromCache(iconUri.host,false); if (!icon && y... | return icon;},getFaviconFromCache:function(url,defaultIcon){var icon;try{if(url.indexOf("chrome: var ioService=CC["@mozilla.org/network/io-service;1"].getService(CI.nsIIOService);var iconUri=ioService.newURI(url,"",null);icon=this.getImageFromCache(iconUri.host,false);if(!icon&&yahooUtils.mFFVersion>2){try{var faviconS... | getFaviconFromCache : function(url, defaultIcon) { var icon; try { if ( url.indexOf("chrome://") == 0) { return this.mDefaultIconUrl; } var ioService = CC["@mozilla.org/network/io-service;1"].getService(CI.nsIIOService); var iconUri = ioService.newURI(url,""... |
var childs = item.childNodes; if (!childs) { | var childs = item.childNodes; if (!childs) { return null; } for (var c = 0, cLen = childs.length; c < cLen; c++) { if (filter(childs[c])) { return childs[c]; } } | getFilteredChild: function(item, filter) { if (!item) { throw Error("myfaces._impl._util._Dom.getFilteredChild: item must be set"); } if (!filter) { throw Error("myfaces._impl._util._Dom.getFilteredChild: filter must be set"); } var childs = item.childNodes; ... |
for (var c = 0, cLen = childs.length; c < cLen; c++) { if (filter(childs[c])) { return childs[c]; } } return null; } | getFilteredChild: function(item, filter) { if (!item) { throw Error("myfaces._impl._util._Dom.getFilteredChild: item must be set"); } if (!filter) { throw Error("myfaces._impl._util._Dom.getFilteredChild: filter must be set"); } var childs = item.childNodes; ... | |
if (!item) { throw Error("myfaces._impl._util._Dom.getFilteredParent: item must be set"); | if (!item) { throw Error("myfaces._impl._util._Dom.getFilteredParent: item must be set"); } if (!filter) { throw Error("myfaces._impl._util._Dom.getFilteredParent: filter must be set"); } var parentItem = (item.parentNode) ? item.parentNode : null; while (parentItem && !filter(parentItem)) { parentItem = parentItem.... | getFilteredParent : function(item, filter) { if (!item) { throw Error("myfaces._impl._util._Dom.getFilteredParent: item must be set"); } if (!filter) { throw Error("myfaces._impl._util._Dom.getFilteredParent: filter must be set"); } //search parent tag parent... |
if (!filter) { throw Error("myfaces._impl._util._Dom.getFilteredParent: filter must be set"); } var parentItem = (item.parentNode) ? item.parentNode : null; while (parentItem && !filter(parentItem)) { parentItem = parentItem.parentNode; } return (parentItem) ? parentItem : null; } | getFilteredParent : function(item, filter) { if (!item) { throw Error("myfaces._impl._util._Dom.getFilteredParent: item must be set"); } if (!filter) { throw Error("myfaces._impl._util._Dom.getFilteredParent: filter must be set"); } //search parent tag parent... | |
fluid.pathUtil.getFromHeadPath = function(path) { var firstdot = getPathSegmentImpl(null, path, 0); return firstdot === path.length ? null : path.substring(firstdot + 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.getFromHeadPath = function(path) { var firstdot = getPathSegmentImpl(null, path, 0); return firstdot === path.length ? null : path.substring(firstdot + 1); }; |
env = env || fluid.environment; return fluid.model.getBeanValue(globalObject, path, env); | if (path) { env = env || fluid.environment; return fluid.model.getBeanValue(globalObject, path, env); } | fluid.getGlobalValue = function(path, env) { env = env || fluid.environment; return fluid.model.getBeanValue(globalObject, path, env); }; |
var q2_heading_width = $(this).width(); if(q2_heading_width < 50) { $(this).css("width", "45px"); q2_heading_width = 45; } | var q2_heading_width = $(this).width() + paddingRight *2; if(q2_heading_width < 50) { q2_heading_width = 45; } | function gethandles(){ ie = $.browser.msie; q2_div_ul = $("#q2 div ul"); q4s = $("#q4"); q3_div = $("#q3 div"); q3_div_table = $("#q3 div table"); q1_width = $("#q1").width(); q2_ul_li = $("#q2 div ul li"); q3_top_row = $("#q3 tr:first td"); q4_top_row = $("#q4 tr:first td"); if ( ie && $.browser.ve... |
total += q2_heading_width + paddingRight * 2; count=c+1; q4_tr_td = $(q4_top_row).get(c); $(q4_tr_td).width(q2_heading_width); | q4_tr_td = $("#q4 tr:first td:eq(" + c + ")"); q4_data_width = $(q4_tr_td).width() + 20; new_width = (q4_data_width < q2_heading_width ? q2_heading_width : q4_data_width); $(q4_tr_td).width(new_width); $(this).width(new_width); total += new_width + paddingRight * 2; count=c+1; | function gethandles(){ ie = $.browser.msie; q2_div_ul = $("#q2 div ul"); q4s = $("#q4"); q3_div = $("#q3 div"); q3_div_table = $("#q3 div table"); q1_width = $("#q1").width(); q2_ul_li = $("#q2 div ul li"); q3_top_row = $("#q3 tr:first td"); q4_top_row = $("#q4 tr:first td"); if ( ie && $.browser.ve... |
var q4_table_width = $(q4_table).width(); if(q4_table_width > total){ $(q2_div_ul).width(q4_table_width); }else{ q4_table_width = total; $(q4_table).width(q4_table_width); } | q4_table_width = total; $(q4_table).width(total); $(q2_div_ul).width(total); q4_table_width = total; | function gethandles(){ ie = $.browser.msie; q2_div_ul = $("#q2 div ul"); q4s = $("#q4"); q3_div = $("#q3 div"); q3_div_table = $("#q3 div table"); q1_width = $("#q1").width(); q2_ul_li = $("#q2 div ul li"); q3_top_row = $("#q3 tr:first td"); q4_top_row = $("#q4 tr:first td"); if ( ie && $.browser.ve... |
/*$("#q3 tr").each(function(i){ | $("#q3 tr").each(function(i){ | function gethandles(){ ie = $.browser.msie; q2_div_ul = $("#q2 div ul"); q4s = $("#q4"); q3_div = $("#q3 div"); q3_div_table = $("#q3 div table"); q1_width = $("#q1").width(); q2_ul_li = $("#q2 div ul li"); q3_top_row = $("#q3 tr:first td"); q4_top_row = $("#q4 tr:first td"); if ( ie && $.browser.ve... |
});*/ | }); | function gethandles(){ ie = $.browser.msie; q2_div_ul = $("#q2 div ul"); q4s = $("#q4"); q3_div = $("#q3 div"); q3_div_table = $("#q3 div table"); q1_width = $("#q1").width(); q2_ul_li = $("#q2 div ul li"); q3_top_row = $("#q3 tr:first td"); q4_top_row = $("#q4 tr:first td"); if ( ie && $.browser.ve... |
fluid.pathUtil.getHeadPath = function(path) { return fluid.pathUtil.getPathSegment(path, 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.getHeadPath = function(path) { return fluid.pathUtil.getPathSegment(path, 0); }; |
fluid.getId = function (element) { return fluid.unwrap(element).getAttribute("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... | fluid.getId = function (element) { return fluid.unwrap(element).getAttribute("id"); }; |
getImageFromCache : function (url, defaultIcon) { var icon = null; try { icon = CacheManager.getDataForKey(url); if (!icon && defaultIcon) { icon = this.mDefaultIconUrl; } } catch (e) { } return icon; }, | return null;},getImageFromCache:function(url,defaultIcon){var icon=null;try{icon=CacheManager.getDataForKey(url);if(!icon&&defaultIcon){icon=this.mDefaultIconUrl;}}catch(e){ytbDebug(e);} return icon;},getFaviconFromCache:function(url,defaultIcon){var icon;try{if(url.indexOf("chrome: | getImageFromCache : function (url, defaultIcon) { var icon = null; try { icon = CacheManager.getDataForKey(url); if (!icon && defaultIcon) { icon = this.mDefaultIconUrl; } } catch (e) { } return icon;}, |
}(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"); }, | }(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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.