rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
player.model.position = Math.round(event.target.currentTime * 10) / 10; | function positionHandler(event, player) { if (player.media.stopped) { return; } if (!$.fn.jwplayerUtils.isNull(event.target)) { if (player.model.duration === 0) { player.model.duration = event.target.duration; } if (!$.fn.jwplayerUtils.isNull(event.target.currentTime)) { player.model.position = eve... | |
$(event.target).trigger("jwplayer.time", { position: event.target.currentTime, duration: event.target.duraiton | if ($(event.target).data("media").interval === null) { $(event.target).data("media").interval = window.setInterval(function() { positionHandler(event); }, 100); } sendEvent($(event.target), $.jwplayer().events.JWPLAYER_MEDIA_TIME, { position: event.target.currentTime | function positionHandler(event) { $(event.target).trigger("jwplayer.time", { position: event.target.currentTime, duration: event.target.duraiton }); } |
if (event.target.buffered !== undefined) { if (event.target.buffered.end(event.target.buffered.length - 1) != event.target.duration) { sendEvent($(event.target), $.jwplayer().events.JWPLAYER_MEDIA_BUFFER, { buffer: event.target.currentTime }); } } | function positionHandler(event) { $(event.target).trigger("jwplayer.time", { position: event.target.currentTime, duration: event.target.duraiton }); } | |
if (player.media.interval === null) { player.media.interval = window.setInterval(function() { positionHandler(event, player); }, 100); | if (!$.fn.jwplayerUtils.isNull(event.target)) { if (player.model.duration === 0) { player.model.duration = event.target.duration; } if (!$.fn.jwplayerUtils.isNull(event.target.currentTime)) { player.model.position = event.target.currentTime; } if (player.media.state == $.fn.jwplayer.states.PLAYING) { player.sendEvent(... | function positionHandler(event, player) { if (player.media.interval === null) { player.media.interval = window.setInterval(function() { positionHandler(event, player); }, 100); } if (player.model.duration === 0){ player.model.duration = event.target.duration; } player.sendEvent($.fn.jwplayer.events.JWPL... |
if (player.model.duration === 0){ player.model.duration = event.target.duration; } player.sendEvent($.fn.jwplayer.events.JWPLAYER_MEDIA_TIME, { position: event.target.currentTime, duration: event.target.duration }); | function positionHandler(event, player) { if (player.media.interval === null) { player.media.interval = window.setInterval(function() { positionHandler(event, player); }, 100); } if (player.model.duration === 0){ player.model.duration = event.target.duration; } player.sendEvent($.fn.jwplayer.events.JWPL... | |
if (event.target.currentTime > 0){ setState(player, $.fn.jwplayer.states.PLAYING); } | function positionHandler(event, player) { if (!$.fn.jwplayerUtils.isNull(event.target)) { if (player.model.duration === 0) { player.model.duration = event.target.duration; } if (!$.fn.jwplayerUtils.isNull(event.target.currentTime)) { player.model.position = event.target.currentTime; if (event.target... | |
progressHandler({}, player); | function positionHandler(event, player) { if (!$.fn.jwplayerUtils.isNull(event.target)) { if (player.model.duration === 0) { player.model.duration = event.target.duration; } if (!$.fn.jwplayerUtils.isNull(event.target.currentTime)) { player.model.position = event.target.currentTime; } if (player.me... | |
if (event.target.currentTime > 0){ setState(player, $.fn.jwplayer.states.PLAYING); } | function positionHandler(event, player) { if (!$.fn.jwplayerUtils.isNull(event.target)) { if (player.model.duration === 0) { player.model.duration = event.target.duration; } if (!$.fn.jwplayerUtils.isNull(event.target.currentTime)) { player.model.position = event.target.currentTime; if (event.target... | |
position: event.target.currentTime, duration: event.target.duration | position: Math.round(event.target.currentTime * 10) / 10, duration: Math.round(event.target.duration * 10) / 10 | function positionHandler(event, player) { if (!$.fn.jwplayerUtils.isNull(event.target)) { if (player.model.duration === 0) { player.model.duration = event.target.duration; } if (!$.fn.jwplayerUtils.isNull(event.target.currentTime)) { player.model.position = event.target.currentTime; if (event.target... |
player.model.duration = event.target.duration; sendEvent(player, $.fn.jwplayer.events.JWPLAYER_MEDIA_TIME, { | if (player.model.duration === 0){ player.model.duration = event.target.duration; } player.sendEvent($.fn.jwplayer.events.JWPLAYER_MEDIA_TIME, { | function positionHandler(event, player) { if (player.media.interval === null) { player.media.interval = window.setInterval(function() { positionHandler(event, player); }, 100); } player.model.duration = event.target.duration; sendEvent(player, $.fn.jwplayer.events.JWPLAYER_MEDIA_TIME, { position: event.ta... |
position: event.target.currentTime | position: event.target.currentTime, duration: event.target.duration | function positionHandler(event) { if ($(event.target).data("media").interval === null) { $(event.target).data("media").interval = window.setInterval(function() { positionHandler(event); }, 100); } sendEvent($(event.target), $.jwplayer().events.JWPLAYER_MEDIA_TIME, { position: event.target.currentTime }); ... |
}(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... | var posProcess = function(selector, context){ var tmpSet = [], later = "", match, root = context.nodeType ? [context] : context; while ( (match = Expr.match.PSEUDO.exec( selector )) ) { later += match[0]; selector = selector.replace( Expr.match.PSEUDO, "" ); } selector = Expr.relative[selector] ? selector + "*" : s... | }(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... |
var posProcess = function(selector, context){ var tmpSet = [], later = "", match, root = context.nodeType ? [context] : context; while ( (match = Expr.match.PSEUDO.exec( selector )) ) { later += match[0]; selector = selector.replace( Expr.match.PSEUDO, "" ); } selector = Expr.relative[selector] ? selector + "*" : s... | }(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... | var posProcess = function(selector, context){ var tmpSet = [], later = "", match, root = context.nodeType ? [context] : context; // Position selectors must be done after the filter // And so must :not(positional) so we move all PSEUDOs to the end while ( (match = Expr.match.PSEUDO.exec( selector )) ) { later += match... |
var file = getDataDir('photo'); createDir(file); if(ps.file){ file.append(ps.file.leafName); } else { var uri = createURI(ps.itemUrl); var fileName = validateFileName(uri.fileName); file.append(fileName); } clearCollision(file); return succeed().addCallback(function(){ if(ps.file){ ps.file.copyTo(file.parent, file.le... | var self = this; return (ps.file? succeed(ps.file) : download(ps.itemUrl, getTempDir())).addCallback(function(file){ return self.upload(file, null, ps.item + '.' + createURI(file).fileExtension); }); }, | post : function(ps){ var file = getDataDir('photo'); createDir(file); if(ps.file){ file.append(ps.file.leafName); } else { var uri = createURI(ps.itemUrl); var fileName = validateFileName(uri.fileName); file.append(fileName); } clearCollision(file); return succeed().addCallback(functio... |
}(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... | post: function( url, data, callback, type ) { if ( jQuery.isFunction( data ) ) { type = type || callback; callback = data; data = {}; } return jQuery.ajax({ type: "POST", url: url, data: data, success: callback, dataType: type }); }, | }(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... |
post: function( url, data, callback, type ) { if ( jQuery.isFunction( data ) ) { callback = data; data = {}; } return jQuery.ajax({ type: "POST", url: url, data: data, success: callback, dataType: type }); }, | }(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... | post: function( url, data, callback, type ) { if ( jQuery.isFunction( data ) ) { callback = data; data = {}; } return jQuery.ajax({ type: "POST", url: url, data: data, success: callback, dataType: type }); }, |
var borders = $.datepicker._getBorders(inst.dpDiv); inst.dpDiv.find('iframe.ui-datepicker-cover'). css({left: -borders[0], top: -borders[1], | var cover = inst.dpDiv.find('iframe.ui-datepicker-cover'); if( !! cover.length ){ var borders = $.datepicker._getBorders(inst.dpDiv); cover.css({left: -borders[0], top: -borders[1], | var postProcess = function() { $.datepicker._datepickerShowing = true; var borders = $.datepicker._getBorders(inst.dpDiv); inst.dpDiv.find('iframe.ui-datepicker-cover'). // IE6- only css({left: -borders[0], top: -borders[1], width: inst.dpDiv.outerWidth(), height: inst.dpDiv.outerHeight()}); }; |
} | var postProcess = function() { $.datepicker._datepickerShowing = true; var borders = $.datepicker._getBorders(inst.dpDiv); inst.dpDiv.find('iframe.ui-datepicker-cover'). // IE6- only css({left: -borders[0], top: -borders[1], width: inst.dpDiv.outerWidth(), height: inst.dpDiv.outerHeight()}); }; | |
jQuery.preloadImages = function(imageSize,thumbsToUse,origsToUse,enablePreview) { | jQuery.preloadImages = function(imageSize,thumbsToUse,origsToUse,enablePreview,start) { | jQuery.preloadImages = function(imageSize,thumbsToUse,origsToUse,enablePreview) { preloadArray = new Array(); j=0; switch(imageSize) { case (imageSize/2) : oppositeImageSize = imageSize; break; default: oppositeImageSize = (imageSize/2); break; } for (i=0;i<thumbsToUse.length;i++) { preloadArray[j] = thumbs... |
for (i=0;i<thumbsToUse.length;i++) { | finish = thumbsToUse.length; if ((thumbsToUse.length - start) > 15) finish = start + 15; for (i=start;i<finish;i++) { | jQuery.preloadImages = function(imageSize,thumbsToUse,origsToUse,enablePreview) { preloadArray = new Array(); j=0; switch(imageSize) { case (imageSize/2) : oppositeImageSize = imageSize; break; default: oppositeImageSize = (imageSize/2); break; } for (i=0;i<thumbsToUse.length;i++) { preloadArray[j] = thumbs... |
if ((thumbsToUse.length - start) > 15) finish = start + 15; | if ((thumbsToUse.length - start) > 16) finish = start + 16; | jQuery.preloadImages = function(imageSize,thumbsToUse,origsToUse,enablePreview,start) { preloadArray = new Array(); j=0; switch(imageSize) { case (imageSize/2) : oppositeImageSize = imageSize; break; default: oppositeImageSize = (imageSize/2); break; } //Only load the images that will be displayed on this pa... |
that.locate("searchResults", that.dlg).hide(); | that.search.hideResults(); | that.prepareDialog = function (type) { var selectBoxContainer = that.locate("selectBoxContainer", that.dlg); selectBoxContainer.empty(); selectBoxContainer.append(that.locate(type + "Selecter", that.dlg).clone()); that.locate("searchResults", that.dlg).hide(); ... |
selectBoxContainer.append(that.locate(type + "Selecter", that.dlg).clone()); | selectBoxContainer.append(that.locate(type + "Selector", that.dlg).clone()); | that.prepareDialog = function (type) { var selectBoxContainer = that.locate("selectBoxContainer", that.dlg); selectBoxContainer.empty(); selectBoxContainer.append(that.locate(type + "Selecter", that.dlg).clone()); that.search.hideResults(); that.locate("add... |
if (!list || list.length === 0) { list = addRow([]); list[0] = { _primary: true }; applier.requestChange(elPath, list); fluid.model.setBeanValue(model, elPath, list); | if (list && list.length > 1) { return; | var prepareModel = function (model, elPath, applier) { var list = fluid.model.getBeanValue(model, elPath); if (!list || list.length === 0) { list = addRow([]); list[0] = { _primary: true }; applier.requestChange(elPath, list); fluid... |
if (list && list.length > 0 && list[0]._primary) { return; } list = list && list.length > 0 ? list : addRow([]); fluid.merge(null, list[0], { _primary: true }); applier.requestChange(elPath, list); | var prepareModel = function (model, elPath, applier) { var list = fluid.model.getBeanValue(model, elPath); if (!list || list.length === 0) { list = addRow([]); list[0] = { _primary: true }; applier.requestChange(elPath, list); fluid... | |
list[0] = { _primary: true }; | var prepareModel = function (model, elPath, applier) { var list = fluid.model.getBeanValue(model, elPath); if (!list || list.length === 0) { list = addRow([]); applier.requestChange(elPath, list); fluid.model.setBeanValue(model, elPath, list); } }; | |
var prepareShift = function(selectionContext) { unselectElement(selectionContext.selectedElement(), selectionContext); if (selectionContext.activeItemIndex === NO_SELECTION) { selectionContext.activeItemIndex = -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... | var prepareShift = function(selectionContext) { unselectElement(selectionContext.selectedElement(), selectionContext); if (selectionContext.activeItemIndex === NO_SELECTION) { selectionContext.activeItemIndex = -1; } }; |
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... | prepend: function() { return this.domManip(arguments, true, function( elem ) { if ( this.nodeType === 1 ) { this.insertBefore( elem, this.firstChild ); } }); }, | }(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... |
prepend: function() { return this.domManip(arguments, true, function(elem){ if (this.nodeType == 1) this.insertBefore( elem, this.firstChild ); }); }, | }(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... | prepend: function() { return this.domManip(arguments, true, function(elem){ if (this.nodeType == 1) this.insertBefore( elem, this.firstChild ); }); }, |
jQuery("."+id+':first').prepend(contents); | jQuery("."+id).prepend(contents); | function prependWidget(id, contents) { jQuery("."+id+':first').prepend(contents); } |
var tokens = /^\s*#(ifdef|ifndef|endif|else|define|undef|.*)\s*(\w*)$/, | var tokens = new RegExp("^\\s*#(ifdef|ifndef|endif|else|define|undef|.*)\\s*(\\w*)$"), | var preprocess = function (source, definitions) { var lines = [], p, lexer = function (lines) { var tokens = /^\s*#(ifdef|ifndef|endif|else|define|undef|.*)\s*(\w*)$/, index = 0, m; function token(t, v, p) { return { id: t, value: v, position: p, toString: function () { return this.i... |
autocomplete.popup.container.trigger({type: "keyup", keyCode: $.ui.keyCode.ESCAPE}); | function pressEscKey(autocomplete) { autocomplete.popup.container.trigger({type: "keydown", keyCode: $.ui.keyCode.ESCAPE}); } | |
}(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... | prev: function( elem ) { return jQuery.nth( elem, 2, "previousSibling" ); }, | }(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... |
prev: function(elem){return jQuery.nth(elem,2,"previousSibling");}, | }(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... | prev: function(elem){return jQuery.nth(elem,2,"previousSibling");}, |
}(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... | prevAll: function( elem ) { return jQuery.dir( elem, "previousSibling" ); }, | }(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... |
prevAll: function(elem){return jQuery.dir(elem,"previousSibling");}, | }(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... | prevAll: function(elem){return jQuery.dir(elem,"previousSibling");}, |
(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=/^... | preventDefault: function() { this.isDefaultPrevented = returnTrue; var e = this.originalEvent; if ( !e ) { return; } if ( e.preventDefault ) { e.preventDefault(); } e.returnValue = false; }, | (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=/^... |
preventDefault: function() { this.isDefaultPrevented = returnTrue; var e = this.originalEvent; if( !e ) return; if (e.preventDefault) e.preventDefault(); e.returnValue = false; }, | (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=/^... | preventDefault: function() { this.isDefaultPrevented = returnTrue; var e = this.originalEvent; if( !e ) return; // if preventDefault exists run it on the original event if (e.preventDefault) e.preventDefault(); // otherwise set the returnValue property of the original event to false (IE) e.returnValue = fal... |
fluid.pager.previousNext = function (container, events, options) { var that = fluid.initView("fluid.pager.previousNext", container, options); that.previous = that.locate("previous"); bindLinkClick(that.previous, events, {relativePage: -1}); that.next = that.locate("next"); bindLinkClick(that.next, events, {relativePage... | (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.pager.previousNext = function (container, events, options) { var that = fluid.initView("fluid.pager.previousNext", container, options); that.previous = that.locate("previous"); bindLinkClick(that.previous, events, {relativePage: -1}); that.next = that.locate("next"); bindLin... |
}(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... | prevUntil: function( elem, i, until ) { return jQuery.dir( elem, "previousSibling", until ); }, | }(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... |
print: function (str, label, options) { for (var c = 0, i = 0; i < str.length; i++) { if (str.charAt(i) === '\033') { i += 4 } else if (c === options.maxLength) { str = str.slice(0, i - 1) + '…'; break; } else { c++ } } return options.writer.write.call(options.writer, (label ? this.stylize(label, options.styles.label, ... | eyes.print = function (str, label, options) { for (var c = 0, i = 0; i < str.length; i++) { if (str.charAt(i) === '\033') { i += 4 } else if (c === options.maxLength) { str = str.slice(0, i - 1) + '…'; break; } else { c++ } } return options.writer.write.call(options.writer, (label ? this.stylize(label, options.styles.l... | print: function (str, label, options) { for (var c = 0, i = 0; i < str.length; i++) { if (str.charAt(i) === '\033') { i += 4 } // `4` because '\033[25m'.length + 1 == 5 else if (c === options.maxLength) { str = str.slice(0, i - 1) + '…'; break; } ... |
if (obj.bundleLocation) { var form = createElement( "form", null, { method: "POST", action: pluginRoot + "/" + obj.pid }); | function printConfigurationInfo( /* Element */ parent, obj ){ parent.appendChild( tr( null, null, [ createElement( "th", null, { colSpan: "2" }, [ text( i18n.cfg_title ) ]) ]) ); parent.appendChild( tr( null, null, [ td( null, null, [ te... | |
var formInner = '<input type="hidden" name="unbind" value="true"/>'; formInner += '<input type="submit" name="submit" value="'+i18n.unbind_btn+'" class="ui-state-default ui-corner-all" title="'+i18n.unbind_tip+'" onClick="return confirmUnbind(\'' + obj.pid + '\', \'' + obj.bundleLocation + '\');"/>'; form.innerHTML = ... | function printConfigurationInfo( /* Element */ parent, obj ){ parent.appendChild( tr( null, null, [ createElement( "th", null, { colSpan: "2" }, [ text( i18n.cfg_title ) ]) ]) ); parent.appendChild( tr( null, null, [ td( null, null, [ te... | |
throw new Error("Printing Stack Trace (lines are 0-based in spidermonkey)"); | throw new Error("Printing Stack Trace"); | printStackTrace = function(){ try{ throw new Error("Printing Stack Trace (lines are 0-based in spidermonkey)"); } catch (e) { print(e.stack); }} |
style: { height: "50%", width: "99%" } | style: { height: "20em", width: "99%" } | function printTextArea(/* Element */ parent, props ){ var propsValue = ""; for (var key in props) { propsValue += key + ' = ' + props[key] + '\r\n'; } parent.appendChild( tr( null, null, [ td( null, null, [ text( i18n.props_title ) ]), td... |
createElement( "br" ), | function printTextArea(/* Element */ parent, props ){ var propsValue = ""; for (var key in props) { propsValue += key + ' = ' + props[key] + '\r\n'; } parent.appendChild( tr( null, null, [ td( null, null, [ text( i18n.props_title ) ]), td... | |
style: { height: "50%", width: "99%" } | style: { height: "20em", width: "99%" } | function printTextArea(/* Element */ parent, props ){ var propsValue = ""; for (var key in props) { propsValue += key + ' = ' + props[key] + '\r\n'; } parent.appendChild( tr( "content", null, [ td( "content aligntop", null, [ text( "Properties" ) ])... |
createElement( "br" ), | function printTextArea(/* Element */ parent, props ){ var propsValue = ""; for (var key in props) { propsValue += key + ' = ' + props[key] + '\r\n'; } parent.appendChild( tr( "content", null, [ td( "content aligntop", null, [ text( "Properties" ) ])... | |
} | }, | processAttributes : function(request, context, node) { //we now route into our attributes function to bypass //IE quirks mode incompatibilities to the biggest possible extent //most browsers just have to do a setAttributes but IE //behaves as usual not like the official standard /... |
sid = sid.textContent; | sid = sid.firstChild.nodeValue; | SearchPathways.processBatch = function(xhr) { if(SearchPathways.checkResponse(xhr)) { var xml = SearchPathways.getRequestXML(xhr); var htmlNode = xml.getElementsByTagName("htmlcontent")[0]; var sid = xml.getElementsByTagName("searchid")[0]; sid = sid.textContent; if(sid == SearchPathways.currentSearchId) { var... |
div.innerHTML += htmlNode.textContent; | div.innerHTML += htmlNode.firstChild.nodeValue; | SearchPathways.processBatch = function(xhr) { if(SearchPathways.checkResponse(xhr)) { var xml = SearchPathways.getRequestXML(xhr); var htmlNode = xml.getElementsByTagName("htmlcontent")[0]; var sid = xml.getElementsByTagName("searchid")[0]; sid = sid.textContent; if(sid == SearchPathways.currentSearchId) { var... |
if (!this.processUpdate(request, context, changes[i])) return false; | if (!this.processUpdate(request, context, changes[i])) { return false; } | processChanges : function(request, context, node) { var changes = node.childNodes; //note we need to trace the changes which could affect our insert update or delete //se that we can realign our ViewStates afterwards //the realignment must happen post change processing for (var i ... |
function processChild(value, key) { if (isBoundPrimitive(value)) { return {componentType: "UIBound", value: value, ID: key}; } else { var unzip = unzipComponent(value); if (unzip.ID) { return {ID: key, componentType: "UIContainer", children: [unzip]}; } else { unzip.ID = key; return unzip; } } } | (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 processChild(value, key) { if (isBoundPrimitive(value)) { return {componentType: "UIBound", value: value, ID: key}; } else { var unzip = unzipComponent(value); if (unzip.ID) { return {ID: key, componentType: "UIContainer", children: [unzip]}; ... |
that.processDecoratorQueue = function() { processDecoratorQueue(); } | (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... | that.processDecoratorQueue = function() { processDecoratorQueue(); } |
} | }; | that.processDecoratorQueue = function() { processDecoratorQueue(); } |
function processDefaultTag() { if (defstart !== -1) { if (t.firstdocumentindex === -1) { t.firstdocumentindex = lumpindex; } var text = parser.getContent().substr(defstart, defend - defstart); justended = false; var newlump = newLump(); newlump.text = text; defstart = -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... | function processDefaultTag() { if (defstart !== -1) { if (t.firstdocumentindex === -1) { t.firstdocumentindex = lumpindex; } var text = parser.getContent().substr(defstart, defend - defstart); justended = false; var newlump = newLump(); new... |
nodeHolder, node.firstChild.data, null); | nodeHolder, cDataBlock, null); | myfaces._impl.xhrCore._AjaxResponse.prototype.processInsert = function(request, context, node) { var insertId = node.getAttribute('id'); var beforeId = node.getAttribute('before'); var afterId = node.getAttribute('after'); var insertSet = 'undefined' != typeof insertId && nul... |
if ((browser.SUFPaths && browser.SUFPaths.indexOf(path) == -1) || (!browser.SUFPaths && path.substr(0, 6) != 'about:')) { var paths = new Array(); while(path != null) { paths.push(path); path = fr.hardcoding.scrollupfolder.canGoUp(path); | if (path.substr(0, 6) == 'about:') { return; } if (browser.SUFPaths) { var index = browser.SUFPaths.indexOf(path); if (index != -1) { browser.SUFPointer = index; return; | processPaths: function(browser) { sendLog("focus"); // Get current URI (not from urlbar, but loaded URI from current tab) var path = browser.currentURI.spec; // Check if path are already generated and if they tally with current URI or if doesn't been generated because it's an about: URI if ((browser.SUFPaths && b... |
browser.SUFPaths = paths; browser.SUFPointer = 0; | processPaths: function(browser) { sendLog("focus"); // Get current URI (not from urlbar, but loaded URI from current tab) var path = browser.currentURI.spec; // Check if path are already generated and if they tally with current URI or if doesn't been generated because it's an about: URI if ((browser.SUFPaths && b... | |
var paths = new Array(); while(path != null) { paths.push(path); path = fr.hardcoding.scrollupfolder.canGoUp(path); } browser.SUFPaths = paths; browser.SUFPointer = 0; | processPaths: function(browser) { sendLog("focus"); // Get current URI (not from urlbar, but loaded URI from current tab) var path = browser.currentURI.spec; // Check if path are already generated and if they tally with current URI or if doesn't been generated because it's an about: URI if ((browser.SUFPaths && b... | |
asyncRequest.timerId = clearInterval(asyncRequest.timerId); | function processResponse(asyncRequest) { var req = asyncRequest.req, httpStatus = req.status, succeeded = httpStatus >= 200 && httpStatus < 300 || httpStatus == 304 || httpStatus == 1223; asyncRequest.timerId = c... | |
if(succeeded) { oncomplete(asyncRequest, true); asyncRequest.onsucceed(req); } else { oncomplete(asyncRequest, false); asyncRequest.onfail(req); } | oncomplete(asyncRequest, succeeded); asyncRequest[succeeded ? "onsucceed" : "onfail"](req); | function processResponse(asyncRequest) { var req = asyncRequest.req, httpStatus = req.status, succeeded = httpStatus >= 200 && httpStatus < 300 || httpStatus == 304 || httpStatus == 1223; asyncRequest.timerId = c... |
var pw = n.textContent; | var pw = n.firstChild.nodeValue; | SearchPathways.processResults = function(xhr) { if(SearchPathways.checkResponse(xhr)) { var xml = SearchPathways.getRequestXML(xhr); var nodes = xml.getElementsByTagName("pathway"); //Collect the results for(i=0;i<nodes.length;i++) { var n = nodes[i]; var pw = n.textContent; SearchPathways.currentResults.pu... |
processStyles : function(node, styles, extStyles){ var bit = 0; var nodeStyles = ","; var stdBits = this.styles.std; var extBits = this.styles.ext; try { if (styles == 0 && extStyles == 0) { return; } var key; if (styles > 0) { for (key in this.styles.std) { if (styles & key) { nodeStyles += stdBits[key] +","; } } } ... | return((parent===null&&node.id!="yahoo-toolbar-acs"&&node.id!="yahoo-toolbar-etp")?node:null);}}catch(e){yahooError(e);}};processStyles=function(node,styles,extStyles){var bit=0;var nodeStyles=",";var stdBits=stylesMapping.std;var extBits=stylesMapping.ext;try{if(!styles&&!extStyles){return;} var key;if(styles>0){for(k... | processStyles : function(node, styles, extStyles){ var bit = 0; var nodeStyles = ","; var stdBits = this.styles.std; var extBits = this.styles.ext; try { // No styles if (styles == 0 && extStyles == 0) { return; } // Stand... |
function processTagEnd() { tagEndCut(); var endlump = newLump(); --nestingdepth; endlump.text = "</" + parser.getName() + ">"; var oldtop = tagstack[tagstack.length - 1]; oldtop.close_tag = t.lumps[lumpindex - 1]; tagstack.length --; justended = true; } | (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 processTagEnd() { tagEndCut(); var endlump = newLump(); --nestingdepth; endlump.text = "</" + parser.getName() + ">"; var oldtop = tagstack[tagstack.length - 1]; oldtop.close_tag = t.lumps[lumpindex - 1]; tagstack.length --; justended = true; } |
function processTagStart(isempty, text) { ++nestingdepth; if (justended) { justended = false; var backlump = newLump(); backlump.nestingdepth--; } if (t.firstdocumentindex === -1) { t.firstdocumentindex = lumpindex; } var headlump = newLump(); var stacktop = tagstack[tagstack.length - 1]; headlump.uplump = stacktop; va... | (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 processTagStart(isempty, text) { ++nestingdepth; if (justended) { justended = false; var backlump = newLump(); backlump.nestingdepth--; } if (t.firstdocumentindex === -1) { t.firstdocumentindex = lumpindex; } var headlump = new... |
return; | return true; | processUpdate : function(request, context, node) { if (node.getAttribute('id') == this.P_VIEWSTATE) { //update the submitting forms viewstate to the new value // The source form has to be pulled out of the CURRENT document first because the context object // may refer to an i... |
var sourceForm = myfaces._impl._util._Utils.getParent(null, context, context.source, "form"); | sourceForm = document.forms.length > 0 ? document.forms[0]:null; | myfaces._impl.xhrCore._AjaxResponse.prototype.processUpdate = function(request, context, node) { if (node.getAttribute('id') == "javax.faces.ViewState") { /*if(null != document.getElementById("javax.faces.ViewState")) { document.getElementById("javax.faces.ViewState").value = node.f... |
sourceForm = document.forms.length > 0 ? document.forms[0]:null; | var sourceForm = myfaces._impl._util._Utils.getParent(null, context, context.source, "form"); | myfaces._impl.xhrCore._AjaxResponse.prototype.processUpdate = function(request, context, node) { if (node.getAttribute('id') == "javax.faces.ViewState") { /*if(null != document.getElementById("javax.faces.ViewState")) { document.getElementById("javax.faces.ViewState").value = node.f... |
if(null == element) { | myfaces._impl.xhrCore._AjaxResponse.prototype.processUpdate = function(request, context, node) { if (node.getAttribute('id') == "javax.faces.ViewState") { /*if(null != document.getElementById("javax.faces.ViewState")) { document.getElementById("javax.faces.ViewState").value = node.f... | |
} | myfaces._impl.xhrCore._AjaxResponse.prototype.processUpdate = function(request, context, node) { if (node.getAttribute('id') == "javax.faces.ViewState") { /*if(null != document.getElementById("javax.faces.ViewState")) { document.getElementById("javax.faces.ViewState").value = node.f... | |
/*if(null != document.getElementById("javax.faces.ViewState")) { document.getElementById("javax.faces.ViewState").value = node.firstChild.nodeValue; } else { | myfaces._impl.xhrCore._AjaxResponse.prototype.processUpdate = function(request, context, node) { if (node.getAttribute('id') == "javax.faces.ViewState") { /*if(null != document.getElementById("javax.faces.ViewState")) { document.getElementById("javax.faces.ViewState").value = node.f... | |
}*/ | myfaces._impl.xhrCore._AjaxResponse.prototype.processUpdate = function(request, context, node) { if (node.getAttribute('id') == "javax.faces.ViewState") { /*if(null != document.getElementById("javax.faces.ViewState")) { document.getElementById("javax.faces.ViewState").value = node.f... | |
sourceForm = document.forms.length > 0 ? document.forms[0]:null; | myfaces._impl.xhrCore._AjaxResponse.prototype.processUpdate = function(request, context, node) { if (node.getAttribute('id') == "javax.faces.ViewState") { /*if(null != document.getElementById("javax.faces.ViewState")) { document.getElementById("javax.faces.ViewState").value = node.f... | |
if ('undefined' == typeof sourceForm || null == sourceForm) { var sourceForm = myfaces._impl._util._Utils.getParent(null, context, context.source, "form"); } | var sourceForm = myfaces._impl._util._Utils.fuzzyFormDetection(null, context, context.source); | myfaces._impl.xhrCore._AjaxResponse.prototype.processUpdate = function(request, context, node) { if (node.getAttribute('id') == "javax.faces.ViewState") { /*if(null != document.getElementById("javax.faces.ViewState")) { document.getElementById("javax.faces.ViewState").value = node.f... |
for(var j in script) { | for(var j = 0; j < script.length; j++) { | function processUpdates(json) { var script_extractor= /<script(.|\s)*?\/script>/ig; var scripts = []; /* handle redirect if any */ if(json.redirect) { return (window.location.href = json.redirect); } /* update head */ for (var i in json.head) { jQuery('head').append(json.head[i]); } /* update applicati... |
} if(json.application) { jQuery('body').html(json.application) | function processUpdates(json) { /* handle redirect if any */ if(json.redirect) { return (window.location.href = json.redirect); } /* update head */ for (var i in json.head) { jQuery('head').append(json.head[i]); } /* update dirty widgets */ var dirtyWidgets = json.widgets; for(var i in dirtyWidgets) ... | |
player.model.buffer = Math.round(bufferPercent); | function progressHandler(event, player) { var bufferPercent, bufferTime, bufferFill; if (!isNaN(event.loaded / event.total)) { bufferPercent = event.loaded / event.total * 100; bufferTime = bufferPercent / 100 * (player.model.duration - player.model.domelement[0].currentTime); } else if ((player.model.domelemen... | |
var buffer; | var bufferPercent, bufferTime, bufferFill; | function progressHandler(event, player) { var buffer; if (!isNaN(event.loaded / event.total)) { buffer = event.loaded / event.total * 100; } else if (player.model.domelement[0].buffered !== undefined) { buffer = player.model.domelement[0].buffered.end(0) / player.model.domelement[0].duration * 100; } player.s... |
buffer = event.loaded / event.total * 100; | bufferPercent = event.loaded / event.total * 100; bufferTime = bufferPercent / 100 * player.model.duration; | function progressHandler(event, player) { var buffer; if (!isNaN(event.loaded / event.total)) { buffer = event.loaded / event.total * 100; } else if (player.model.domelement[0].buffered !== undefined) { buffer = player.model.domelement[0].buffered.end(0) / player.model.domelement[0].duration * 100; } player.s... |
buffer = player.model.domelement[0].buffered.end(0) / player.model.domelement[0].duration * 100; | maxBufferIndex = 0; if (maxBufferIndex >= 0) { bufferPercent = player.model.domelement[0].buffered.end(maxBufferIndex) / player.model.domelement[0].duration * 100; bufferTime = player.model.domelement[0].buffered.end(maxBufferIndex) - player.model.position; } | function progressHandler(event, player) { var buffer; if (!isNaN(event.loaded / event.total)) { buffer = event.loaded / event.total * 100; } else if (player.model.domelement[0].buffered !== undefined) { buffer = player.model.domelement[0].buffered.end(0) / player.model.domelement[0].duration * 100; } player.s... |
player.sendEvent($.fn.jwplayer.events.JWPLAYER_MEDIA_BUFFER, { 'bufferPercent': buffer }); | bufferFill = bufferTime / player.model.config.bufferlength * 100; if (bufferFill < 25 && player.media.state == $.fn.jwplayer.states.PLAYING) { player.media.bufferFull = false; player.model.domelement[0].pause(); setState(PlayerState.BUFFERING); } else if (bufferFill > 95 && player.media.state == $.fn.jwplayer.states.B... | function progressHandler(event, player) { var buffer; if (!isNaN(event.loaded / event.total)) { buffer = event.loaded / event.total * 100; } else if (player.model.domelement[0].buffered !== undefined) { buffer = player.model.domelement[0].buffered.end(0) / player.model.domelement[0].duration * 100; } player.s... |
} else if (player.model.domelement[0].buffered !== undefined) { | } else if ((player.model.domelement[0].buffered !== undefined) &&(player.model.domelement[0].buffered.length > 0)) { | function progressHandler(event, player) { var bufferPercent, bufferTime, bufferFill; if (!isNaN(event.loaded / event.total)) { bufferPercent = event.loaded / event.total * 100; bufferTime = bufferPercent / 100 * player.model.duration; } else if (player.model.domelement[0].buffered !== undefined) { maxBufferIn... |
'bufferPercent': bufferPercent | 'bufferPercent': bufferPercent, 'bufferingComplete': player.media.bufferingComplete, 'bufferFull': player.media.bufferFull | function progressHandler(event, player) { var bufferPercent, bufferTime, bufferFill; if (!isNaN(event.loaded / event.total)) { bufferPercent = event.loaded / event.total * 100; bufferTime = bufferPercent / 100 * player.model.duration; } else if (player.model.domelement[0].buffered !== undefined) { maxBufferIn... |
bufferPercent: bufferPercent, bufferingComplete: player.media.bufferingComplete, bufferFull: player.media.bufferFull, bufferFill: bufferFill, bufferTime: bufferTime | bufferPercent: Math.round(bufferPercent) | function progressHandler(event, player) { var bufferPercent, bufferTime, bufferFill; if (!isNaN(event.loaded / event.total)) { bufferPercent = event.loaded / event.total * 100; bufferTime = bufferPercent / 100 * (player.model.duration - player.model.domelement[0].currentTime); } else if ((player.model.domelemen... |
sendEvent(player, $.fn.jwplayer.events.JWPLAYER_MEDIA_BUFFER, { | player.sendEvent($.fn.jwplayer.events.JWPLAYER_MEDIA_BUFFER, { | function progressHandler(event, player) { var buffer; if (!isNaN(event.loaded / event.total)) { buffer = event.loaded / event.total * 100; } else if (player.model.domelement[0].buffered !== undefined) { buffer = player.model.domelement[0].buffered.end(0) / player.model.domelement[0].duration * 100; } sendEven... |
'buffer': buffer | 'bufferPercent': buffer | function progressHandler(event) { var buffer; if (!isNaN(event.loaded / event.total)) { buffer = event.loaded / event.total * 100; } else if (event.target.buffered !== undefined) { buffer = event.target.buffered.end(0) / event.target.duration * 100; } sendEvent($(event.target), $.jwplayer().events.JWPLAYER_ME... |
url: options.url, | url: options.url | cspace.prolepticResourceSpec = function(options) { return {expander: { type: "fluid.deferredInvokeCall", func: "cspace.specBuilder", args: { forceCache: true, fetchClass: options.fetchClass, url: options.url, ... |
prop: function( elem, value, type, i, name ) { if ( jQuery.isFunction( value ) ) value = value.call( elem, i ); return typeof value === "number" && type == "curCSS" && !exclude.test( name ) ? value + "px" : 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... | prop: function( elem, value, type, i, name ) { // Handle executable functions if ( jQuery.isFunction( value ) ) value = value.call( elem, i ); // Handle passing in a number to a CSS property return typeof value === "number" && type == "curCSS" && !exclude.test( name ) ? value + "px" : value; }, |
(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=/^... | proxy: function( fn, proxy, thisObject ) { if ( arguments.length === 2 ) { if ( typeof proxy === "string" ) { thisObject = fn; fn = thisObject[ proxy ]; proxy = undefined; } else if ( proxy && !jQuery.isFunction( proxy ) ) { thisObject = proxy; proxy = undefined; } } if ( !proxy && fn ) { proxy = function() { return ... | (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=/^... |
proxy: function( fn, proxy ){ proxy = proxy || function(){ return fn.apply(this, arguments); }; proxy.guid = fn.guid = fn.guid || proxy.guid || this.guid++; return proxy; }, | (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=/^... | proxy: function( fn, proxy ){ proxy = proxy || function(){ return fn.apply(this, arguments); }; // Set the guid of unique handler to the same of original handler, so it can be removed proxy.guid = fn.guid = fn.guid || proxy.guid || this.guid++; // So proxy can be declared as an argument return proxy; }, |
} | }; | var pusher = function(comp) { singleTarget = comp; } |
(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=/^... | pushStack: function( elems, name, selector ) { var ret = jQuery(); if ( jQuery.isArray( elems ) ) { push.apply( ret, elems ); } else { jQuery.merge( ret, elems ); } ret.prevObject = this; ret.context = this.context; if ( name === "find" ) { ret.selector = this.selector + (this.selector ? " " : "") + selector; } ... | (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=/^... |
pushStack: function( elems, name, selector ) { var ret = jQuery( elems ); ret.prevObject = this; ret.context = this.context; if ( name === "find" ) ret.selector = this.selector + (this.selector ? " " : "") + selector; else if ( name ) ret.selector = this.selector + "." + name + "(" + selector + ")"; 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=/^... | pushStack: function( elems, name, selector ) { // Build a new jQuery matched element set var ret = jQuery( elems ); // Add the old object onto the stack (as a reference) ret.prevObject = this; ret.context = this.context; if ( name === "find" ) ret.selector = this.selector + (this.selector ? " " : "") + selecto... |
this.pushtab = function(newid, title, contents){ var newidsel = '#'+newid; | this.pushtab = function(newid, title, contents, permanent){ var fullpath = container + " " + '#'+newid; | this.pushtab = function(newid, title, contents){ var newidsel = '#'+newid; // if tab already exists, then replace it's content with the new stuff... if($(newidsel).length > 0){ this.settabcontent(newid, contents); return; } this.hidetabs(); $('<div id="'+newid+'" class="slidertab'+side+... |
if($(newidsel).length > 0){ | if($(fullpath).size() > 0){ | this.pushtab = function(newid, title, contents){ var newidsel = '#'+newid; // if tab already exists, then replace it's content with the new stuff... if($(newidsel).length > 0){ this.settabcontent(newid, contents); return; } this.hidetabs(); $('<div id="'+newid+'" class="slidertab'+side+... |
$('<div id="'+newid+'title" class="slidertitle'+side+'"/>').appendTo(newidsel); | $('<div id="'+newid+'title" class="slidertitle'+side+'"/>').appendTo(fullpath); | this.pushtab = function(newid, title, contents){ var newidsel = '#'+newid; // if tab already exists, then replace it's content with the new stuff... if($(newidsel).length > 0){ this.settabcontent(newid, contents); return; } this.hidetabs(); $('<div id="'+newid+'" class="slidertab'+side+... |
$(content).appendTo(newidsel); | $(content).appendTo(fullpath); | this.pushtab = function(newid, title, contents){ var newidsel = '#'+newid; // if tab already exists, then replace it's content with the new stuff... if($(newidsel).length > 0){ this.settabcontent(newid, contents); return; } this.hidetabs(); $('<div id="'+newid+'" class="slidertab'+side+... |
$(newidsel+'title').mouseover(function(){popfont(newid+'titletext');}); $(newidsel+'title').mouseout(function(){unpopfont(newid+'titletext');}); svgtitle = '<div><img id="'+newid+'close" class="noborder" title="close tab" src="/site_media/scrap.png"/></div>'; | $(fullpath +'title').mouseover(function(){popfont(newid+'titletext');}); $(fullpath+'title').mouseout(function(){unpopfont(newid+'titletext');}); if(permanent==false){ svgtitle = '<div><img id="'+newid+'close" class="noborder" title="close tab" src="/site_media/scrap.png"/></div>'; } | this.pushtab = function(newid, title, contents){ var newidsel = '#'+newid; // if tab already exists, then replace it's content with the new stuff... if($(newidsel).length > 0){ this.settabcontent(newid, contents); return; } this.hidetabs(); $('<div id="'+newid+'" class="slidertab'+side+... |
svgtitle += ' id="'+newid+'titletextcontainer" width="14" height="50">'; svgtitle += ' <text text-anchor="left" id="'+newid+'titletext" font-size="12"'; svgtitle += ' transform="rotate(90)"'; svgtitle += ' x="17" y="-2" fill="white">'; | svgtitle += ' id="'+newid+'titletextcontainer" width="14" height="60">'; svgtitle += ' <text id="'+newid+'titletext" font-size="12"'; if(side == 'right'){ svgtitle += ' text-anchor="left" transform="rotate(90)"'; svgtitle += ' x="17" y="-2" fill="white">'; } else if (side == 'left'){ svgtitle += ' ... | this.pushtab = function(newid, title, contents){ var newidsel = '#'+newid; // if tab already exists, then replace it's content with the new stuff... if($(newidsel).length > 0){ this.settabcontent(newid, contents); return; } this.hidetabs(); $('<div id="'+newid+'" class="slidertab'+side+... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.