rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
play: function() { | play: function() {http: | (function($) { var tool; tool = $.tools.tabs.slideshow = { conf: { next: '.forward', prev: '.backward', disabledClass: 'disabled', autoplay: false, autopause: true, interval: 3000, clickable: true, api: false } }; function Slideshow(root, conf, len) { var self = this, fire = root.add(this)... |
}, bind: function(name, fn) { $(self).bind(name, fn); return self; }, unbind: function(name) { $(self).unbind(name); return self; | (function($) { var tool; tool = $.tools.tabs.slideshow = { conf: { next: '.forward', prev: '.backward', disabledClass: 'disabled', autoplay: false, autopause: true, interval: 3000, clickable: true, api: false } }; function Slideshow(root, conf, len) { var self = this, fire = root.add(this)... | |
setTimeout( function(){ marker.updateInfoWindow() }, 500); } | setTimeout( function(){ marker.updateInfoWindow(); }, 500); }; | return function() { geodesyMarker.markerClicked(); // Once the marker has been opened and rendered, // we add the calendar to the info window // The onOpenFn option with GInfoWindow does not work // Hence this function is called with updateCSWRecords time lag of 500ms var marker = geodesyMarker; ... |
e.type = "onBeforeSlide"; fire.trigger(e); if (e.isDefaultPrevented()) { return false; } init(); var fix = handle.width() / 2; | var fireEvent = e.target != handle[0]; if (fireEvent) { e.type = "onBeforeSlide"; fire.trigger(e); if (e.isDefaultPrevented()) { return false; } } init(); var fix = handle.width() / 2; | (function($) { $.tools = $.tools || {version: '@VERSION'}; var current, tool = $.tools.slider = { conf: { min: 0, max: 100, size: 0, // The number of options meant to be shown by the control (fixed points in scrubber) step: 0, // Specifies the value granularity of the elements value (onSlide callbacks)... |
e.type = "onSlideEnd"; fire.trigger(e); | if (fireEvent) { e.type = "onSlideEnd"; fire.trigger(e); } | (function($) { $.tools = $.tools || {version: '@VERSION'}; var current, tool = $.tools.slider = { conf: { min: 0, max: 100, size: 0, // The number of options meant to be shown by the control (fixed points in scrubber) step: 0, // Specifies the value granularity of the elements value (onSlide callbacks)... |
var el = $(e.target), slider = el.data("slider") || current; if (slider) { | var el = $(e.target), slider = el.data("slider") || current, key = e.keyCode, up = $([75, 76, 38, 33, 39]).index(e.keyCode) != -1, down = $([74, 72, 40, 34, 37]).index(e.keyCode) != -1; if ((up || down) && !(e.shiftKey || e.altKey) && slider) { var fire = slider.getInput().add(slider); e.type = "onBeforeSlide"; | (function($) { $.tools = $.tools || {version: '@VERSION'}; var current, tool = $.tools.slider = { conf: { min: 0, max: 100, size: 0, // The number of options meant to be shown by the control (fixed points in scrubber) step: 0, // Specifies the value granularity of the elements value (onSlide callbacks)... |
if ($([75, 76, 38, 33, 39]).index(e.keyCode) != -1) { slider.step(e.ctrlKey || e.keyCode == 33 ? 3 : 1, e); | if (up) { fire.trigger(e); if (e.isDefaultPrevented()) { return false; } slider.step(e.ctrlKey || key == 33 ? 3 : 1, e); | (function($) { $.tools = $.tools || {version: '@VERSION'}; var current, tool = $.tools.slider = { conf: { min: 0, max: 100, size: 0, // The number of options meant to be shown by the control (fixed points in scrubber) step: 0, // Specifies the value granularity of the elements value (onSlide callbacks)... |
if ($([74, 72, 40, 34, 37]).index(e.keyCode) != -1) { slider.step(e.ctrlKey || e.keyCode == 34 ? -3 : -1, e); | if (down) { fire.trigger(e); if (e.isDefaultPrevented()) { return false; } slider.step(e.ctrlKey || key == 34 ? -3 : -1, e); | (function($) { $.tools = $.tools || {version: '@VERSION'}; var current, tool = $.tools.slider = { conf: { min: 0, max: 100, size: 0, // The number of options meant to be shown by the control (fixed points in scrubber) step: 0, // Specifies the value granularity of the elements value (onSlide callbacks)... |
}, 300); | }, 400); | (function($) { $.tools = $.tools || {version: '@VERSION'}; var current, tool = $.tools.slider = { conf: { min: 0, max: 100, size: 0, // The number of options meant to be shown by the control (fixed points in scrubber) step: 0, // Specifies the value granularity of the elements value (onSlide callbacks)... |
top: '10%', left: 'center', absolute: false, speed: 'normal', | close: null, closeOnClick: true, closeOnEsc: true, | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.overlay = { addEffect: function(name, loadFn, closeFn) { effects[name] = [loadFn, closeFn]; }, conf: { top: '10%', left: 'center', absolute: false, speed: 'normal', closeSpeed: 'fast', effect: 'default',... |
close: null, | fixed: true, left: 'center', load: false, mask: null, | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.overlay = { addEffect: function(name, loadFn, closeFn) { effects[name] = [loadFn, closeFn]; }, conf: { top: '10%', left: 'center', absolute: false, speed: 'normal', closeSpeed: 'fast', effect: 'default',... |
closeOnClick: true, closeOnEsc: true, mask: null, target: null, fixed: true | speed: 'normal', target: null, top: '10%' | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.overlay = { addEffect: function(name, loadFn, closeFn) { effects[name] = [loadFn, closeFn]; }, conf: { top: '10%', left: 'center', absolute: false, speed: 'normal', closeSpeed: 'fast', effect: 'default',... |
function(onLoad) { this.getOverlay().fadeIn(this.getConf().speed, onLoad); | function(pos, onLoad) { var conf = this.getConf(), w = $(window); if (!conf.fixed) { pos.top += w.scrollTop(); pos.left += w.scrollLeft(); } pos.position = conf.fixed ? 'fixed' : 'absolute'; this.getOverlay().css(pos).fadeIn(conf.speed, onLoad); | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.overlay = { addEffect: function(name, loadFn, closeFn) { effects[name] = [loadFn, closeFn]; }, conf: { top: '10%', left: 'center', absolute: false, speed: 'normal', closeSpeed: 'fast', effect: 'default',... |
if (maskConf) { $.mask.load(overlay, maskConf); } | if (maskConf) { $(overlay).expose(maskConf); } | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.overlay = { addEffect: function(name, loadFn, closeFn) { effects[name] = [loadFn, closeFn]; }, conf: { top: '10%', left: 'center', absolute: false, speed: 'normal', closeSpeed: 'fast', effect: 'default',... |
if (!conf.absolute) { top += w.scrollTop(); left += w.scrollLeft(); } overlay.css({position: conf.fixed ? 'fixed' : 'absolute'}).css({top: top, left: left}); | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.overlay = { addEffect: function(name, loadFn, closeFn) { effects[name] = [loadFn, closeFn]; }, conf: { top: '10%', left: 'center', absolute: false, speed: 'normal', closeSpeed: 'fast', effect: 'default',... | |
eff[0].call(self, function() { | eff[0].call(self, {top: top, left: left}, function() { | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.overlay = { addEffect: function(name, loadFn, closeFn) { effects[name] = [loadFn, closeFn]; }, conf: { top: '10%', left: 'center', absolute: false, speed: 'normal', closeSpeed: 'fast', effect: 'default',... |
if (maskConf) { | if (maskConf && conf.closeOnClick) { | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.overlay = { addEffect: function(name, loadFn, closeFn) { effects[name] = [loadFn, closeFn]; }, conf: { top: '10%', left: 'center', absolute: false, speed: 'normal', closeSpeed: 'fast', effect: 'default',... |
if (conf.load) { self.load(); } | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.overlay = { addEffect: function(name, loadFn, closeFn) { effects[name] = [loadFn, closeFn]; }, conf: { top: '10%', left: 'center', absolute: false, speed: 'normal', closeSpeed: 'fast', effect: 'default',... | |
findABC($("body")).each(function(i,elem){ | getABCContainingElements($("body")).each(function(i,elem){ | findABC($("body")).each(function(i,elem){ ABCConversion(elem); }); |
b){return a.nodeType==1&&a.tagName.toUpperCase()===b};this.insertAt=function(a,b,f){a.childNodes.length==0?a.appendChild(b):a.insertBefore(b,a.childNodes[f])};this.remove=function(a){(a=g.getElement(a))&&a.parentNode.removeChild(a)};this.unstub=function(a,b,f){if(f==1){if(a.style.display!="none")b.style.display=a.style... | b){return a.nodeType==1&&a.tagName.toUpperCase()===b};this.insertAt=function(a,b,f){a.childNodes.length==0?a.appendChild(b):a.insertBefore(b,a.childNodes[f])};this.remove=function(a){(a=g.getElement(a))&&a.parentNode.removeChild(a)};this.contains=function(a,b){for(b=b.parentNode;b!=null&&b.tagName.toLowerCase()!="body"... | window._$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function v(a,b,f){if(a=="auto"||a==null)return f;return(a=(a=b.exec(a))&&a.length==2?a[1]:... |
var Coordinator=new Class({initialize:function(a,b){this.activities=new Hash();a.each(function(c){this.activities.set(c,false)}.bind(this));this.callback=b},done:function(b,a){this.activities.set(b,a);if(this.activities.every(function(d){var c=0;return d})){this.callback(this.activities)}}}); | var Coordinator=new Class({initialize:function(a,b){this.activities=new Hash();a.each(function(c){this.activities.set(c,false)}.bind(this));this.callback=b},done:function(b,a){this.activities.set(b,a);if(this.activities.every(function(c){return c})){this.callback(this.activities)}}}); | var Coordinator=new Class({initialize:function(a,b){this.activities=new Hash();a.each(function(c){this.activities.set(c,false)}.bind(this));this.callback=b},done:function(b,a){this.activities.set(b,a);if(this.activities.every(function(d){var c=0;return d})){this.callback(this.activities)}}}); |
RSA.log( "RSAEngine:2.3.3:subparam.result="+result ); | RSA.log( "RSAEngine:2.3.3:result="+result ); | (function ( ) { //This file has been reworked to rely on class NS - A Chandler May 2010 /////////////////////////////////////////// // import /////////////////////////////////////////// // var RSA = __package( packages, id ).RSA; // var BigInteger = __package( packages, id ).BigInteger; // var Secu... |
(function($){$.imgAreaSelect={onKeyPress:null};$.imgAreaSelect.init=function(img,options){var $img=$(img),imgLoaded,$box=$('<div />'),$area=$('<div />'),$border1=$('<div />'),$border2=$('<div />'),$areaOpera,$outLeft=$('<div />'),$outTop=$('<div />'),$outRight=$('<div />'),$outBottom=$('<div />'),$handles=$([]),handleW... | (function($){var abs=Math.abs,max=Math.max,min=Math.min,round=Math.round;function div(){return $('<div/>')}$.imgAreaSelect=function(img,options){var $img=$(img),imgLoaded,$box=div(),$area=div(),$border=div().add(div()).add(div()).add(div()),$outer=div().add(div()).add(div()).add(div()),$handles=$([]),$areaOpera,left,to... | (function($){$.imgAreaSelect={onKeyPress:null};$.imgAreaSelect.init=function(img,options){var $img=$(img),imgLoaded,$box=$('<div />'),$area=$('<div />'),$border1=$('<div />'),$border2=$('<div />'),$areaOpera,$outLeft=$('<div />'),$outTop=$('<div />'),$outRight=$('<div />'),$outBottom=$('<div />'),$handles=$([]),handleW... |
$('#addValue-'+ id).live('keypress', function(evt) { | $('#addValue-'+ id).live('keyup', function(evt) { | (function($) { $.fn.tagBox = function(options) { // define defaults var defaults = { splitChar: ',', emptyMessage: '', addLabel: 'add', removeLabel: 'delete', autoCompleteUrl: '', canAddNew: false }; // extend options var options = $.extend(defaults, options); // loop all elements return... |
(function(){var a=/^(\d+(?:\.\d+)?)(px|%)$/,b=/^(\d+(?:\.\d+)?)px$/,c=function(e){var f=this.id;if(!e.info)e.info={};e.info[f]=this.getValue();};function d(e,f){var g=function(h){return new CKEDITOR.dom.element(h,e.document);};return{title:e.lang.table.title,minWidth:310,minHeight:CKEDITOR.env.ie?310:280,onShow:functio... | (function(){var a=/^(\d+(?:\.\d+)?)(px|%)$/,b=/^(\d+(?:\.\d+)?)px$/,c=function(e){var f=this.id;if(!e.info)e.info={};e.info[f]=this.getValue();};function d(e,f){var g=function(i){return new CKEDITOR.dom.element(i,e.document);},h=e.plugins.dialogadvtab;return{title:e.lang.table.title,minWidth:310,minHeight:CKEDITOR.env.... | (function(){var a=/^(\d+(?:\.\d+)?)(px|%)$/,b=/^(\d+(?:\.\d+)?)px$/,c=function(e){var f=this.id;if(!e.info)e.info={};e.info[f]=this.getValue();};function d(e,f){var g=function(h){return new CKEDITOR.dom.element(h,e.document);};return{title:e.lang.table.title,minWidth:310,minHeight:CKEDITOR.env.ie?310:280,onShow:functio... |
$('input.block_extra_id').each(function() | $('#extraType').change(function(evt) | $('input.block_extra_id').each(function() { var value = $(this).val(); var id = $(this).attr('id').replace('blockExtraId', ''); jsBackend.pages.extras.changeExtra(value, id); }); |
var value = $(this).val(); var id = $(this).attr('id').replace('blockExtraId', ''); jsBackend.pages.extras.changeExtra(value, id); | if($(this).val() != 'block') { var hasModules = false; $('.linkedExtra input:hidden').each(function() { var id = $(this).val(); if(id !== $('#extraForBlock').val()) { if(id != '' && typeof extrasById[id] != 'undefined' && extrasById[id].type == 'block') hasModules = true; } }); if(!hasModules) $('#extraType opt... | $('input.block_extra_id').each(function() { var value = $(this).val(); var id = $(this).attr('id').replace('blockExtraId', ''); jsBackend.pages.extras.changeExtra(value, id); }); |
calculateMeta(null, $(this)); | (function($) { $.fn.doMeta = function(options) { // define defaults var defaults = {}; // extend options var options = $.extend(defaults, options); // loop all elements return this.each(function() { // init var var element = $(this); // initialize calculateMeta(null, $(this)); // bind keypress ... | |
$('#url').val(utils.string.urlise(title)); $('#generatedUrl').html(utils.string.urlise(title)); | if(typeof pageID == 'undefined' || pageID != 1) { $('#url').val(utils.string.urlise(title)); $('#generatedUrl').html(utils.string.urlise(title)); } | (function($) { $.fn.doMeta = function(options) { // define defaults var defaults = {}; // extend options var options = $.extend(defaults, options); // loop all elements return this.each(function() { // init var var element = $(this); // initialize calculateMeta(null, $(this)); // bind keypress ... |
console.info(new_url) | $('.gc-img').each(function () { var $this = $(this) var start = $('#timespan-menu').data('start'); var end = $('#timespan-menu').data('end'); var new_url = build_url($this.attr('src'), { 'start': start, 'end': end }); console.info(new_url) $this... | |
if (event[1]) { | if (event[1] && !trigger.is("input:not(:checkbox, :radio), textarea")) { | (function($) { /* removed: oneInstance, lazy, tip must next to the trigger isShown(fully), layout, tipClass, layout */ // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.tooltip = { conf: { // default effect variables effect: 'toggle', fadeOutSpeed: "fast", predelay: 0, ... |
img.css({border:0,position:'absolute',display:'none'}).width(oWidth); | img.css({border:0, position: opts.fixed ? 'fixed' : 'absolute', display:'none'}).width(oWidth); | (function($) { // version number var t = $.tools.overlay; // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { absolute: true, top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); re... |
this.mediaEl = null; this.alternativeEl = null; | function(APP, el) { jQuery.data(el, 'obj', this); var self = this; var WT = APP.WT; this.mediaEl = null; this.alternativeEl = null; function handleMove(event) { }; this.play = function() { if (el.mediaId) { var mediaEl = $('#' + el.mediaId).get(0); if (mediaEl) { mediaEl.play();... | |
$('.contentTitle .inputDropdown').each(function() { | $('.contentTitle .select').each(function() { | $('.contentTitle .inputDropdown').each(function() { // get selected value var val = $(this).val(); var id = $(this).attr('id'); var index = id.replace('blockExtraId', ''); var data = (val !== 'html') ? extraData[val] : null; // no real data, show editor if(data == null) { $('#blockContentHTML-'+ inde... |
lazyload: false, | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.scrollable = { conf: { activeClass: 'active', circular: false, clickable: true, clonedClass: 'cloned', disabledClass: 'disabled', easing: 'swing', initialIndex: 0, item: null, items: '.items', keyboard: tru... | |
}); } var lconf = $.tools.lazyload && conf.lazyload, loader, doLoad = function (ev, i) { loader.load(self.getItems().eq(i).find(":unloaded").andSelf()); }; if (lconf) { if (typeof lconf != 'object') { lconf = { select: lconf }; } if (typeof lconf.select != 'string') { lconf.select = "img, :backgroundImage"; } l... | }); } | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.scrollable = { conf: { activeClass: 'active', circular: false, clickable: true, clonedClass: 'cloned', disabledClass: 'disabled', easing: 'swing', initialIndex: 0, item: null, items: '.items', keyboard: tru... |
newItem.creators.push(Zotero.Utilities.cleanString(match[2])); | newItem.creators.push(Zotero.Utilities.trimInternal(match[2])); | 'exportselect=record&exporttype=plaintext', function(text) { var lineRegexp = new RegExp(); lineRegexp.compile("^([\\w() ]+): *(.*)$"); var newItem = new Zotero.Item("book"); newItem.extra = ""; var lines = text.split('\n'); for(var i=0;i<lines.length;i++) { var testMatch = lineRegexp.exec(lines[i]); if(... |
match[2] = Zotero.Utilities.cleanString(match[2]); | match[2] = Zotero.Utilities.trimInternal(match[2]); | 'exportselect=record&exporttype=plaintext', function(text) { var lineRegexp = new RegExp(); lineRegexp.compile("^([\\w() ]+): *(.*)$"); var newItem = new Zotero.Item("book"); newItem.extra = ""; var lines = text.split('\n'); for(var i=0;i<lines.length;i++) { var testMatch = lineRegexp.exec(lines[i]); if(... |
newItem.tags.push(Zotero.Utilities.cleanString(tags[j])); | newItem.tags.push(Zotero.Utilities.trimInternal(tags[j])); | 'exportselect=record&exporttype=plaintext', function(text) { var lineRegexp = new RegExp(); lineRegexp.compile("^([\\w() ]+): *(.*)$"); var newItem = new Zotero.Item("book"); newItem.extra = ""; var lines = text.split('\n'); for(var i=0;i<lines.length;i++) { var testMatch = lineRegexp.exec(lines[i]); if(... |
WT_DECLARE_WT_MEMBER(1,"WSuggestionPopup",function(q,d,x,y,p){function r(){return d.style.display!="none"}function k(){d.style.display="none"}function z(a){c.positionAtWidget(d.id,a.id,c.Vertical)}function A(a){a=a||window.event;a=a.target||a.srcElement;if(a.className!="content"){if(!c.hasTag(a,"DIV"))a=a.parentNode;s(... | WT_DECLARE_WT_MEMBER(1,"WSuggestionPopup",function(q,d,y,z,r){function m(a){return $(a).hasClass("Wt-suggest-onedit")||$(a).hasClass("Wt-suggest-dropdown")}function s(){return d.style.display!="none"}function k(){d.style.display="none"}function A(a){c.positionAtWidget(d.id,a.id,c.Vertical)}function B(a){a=a||window.eve... | WT_DECLARE_WT_MEMBER(1,"WSuggestionPopup",function(q,d,x,y,p){function r(){return d.style.display!="none"}function k(){d.style.display="none"}function z(a){c.positionAtWidget(d.id,a.id,c.Vertical)}function A(a){a=a||window.event;a=a.target||a.srcElement;if(a.className!="content"){if(!c.hasTag(a,"DIV"))a=a.parentNode;s(... |
maskConf = $.tools.mask && (conf.mask || conf.expose), | maskConf = $.tools.expose && (conf.mask || conf.expose), | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.overlay = { addEffect: function(name, loadFn, closeFn) { effects[name] = [loadFn, closeFn]; }, conf: { close: null, closeOnClick: true, closeOnEsc: true, closeSpeed: 'fast', effect: 'default', // sinc... |
} | }; | return function() { nvclMarker.markerClicked(); } |
if (!moved) { var ws = WT.windowSize(); var w = el.offsetWidth, h = el.offsetHeight; el.style.left = Math.round((ws.x - w)/2 + (WT.isIE6 ? document.documentElement.scrollLeft : 0)) + 'px'; el.style.top = Math.round((ws.y - h)/2 + (WT.isIE6 ? document.documentElement.scrollTop : 0)) + 'px'; el.style.marginLeft='0px'; el... | if (el.style.display != 'none') { if (!moved) { var ws = WT.windowSize(); var w = el.offsetWidth, h = el.offsetHeight; el.style.left = Math.round((ws.x - w)/2 + (WT.isIE6 ? document.documentElement.scrollLeft : 0)) + 'px'; el.style.top = Math.round((ws.y - h)/2 + (WT.isIE6 ? document.documentElement.scrollTop : 0)) + '... | function(APP, el) { jQuery.data(el, 'obj', this); var self = this; var titlebar = $(el).find(".titlebar").first().get(0); var WT = APP.WT; var dsx, dsy; var moved = false; if (el.style.left != '' || el.style.top != '') moved = true; function handleMove(event) { var e = event||window.event; ... |
if (el.style.width != null && el.style.height != null) self.wtResize(el, w, h); | if (el.style.width != '' && el.style.height != '') self.wtResize(el, w, h); } el.style.visibility = 'visible'; | function(APP, el) { jQuery.data(el, 'obj', this); var self = this; var titlebar = $(el).find(".titlebar").first().get(0); var WT = APP.WT; var dsx, dsy; var moved = false; if (el.style.left != '' || el.style.top != '') moved = true; function handleMove(event) { var e = event||window.event; ... |
} | }; | return function() { gaSentinel.markerClicked(); } |
WT_DECLARE_WT_MEMBER(1,"WDialog",function(j,b){function k(a){a=c.pageCoordinates(a||window.event);h=true;b.style.left=c.pxself(b,"left")+a.x-f+"px";b.style.top=c.pxself(b,"top")+a.y-g+"px";f=a.x;g=a.y}jQuery.data(b,"obj",this);var d=$(b).find(".titlebar").first().get(0),c=j.WT,f,g,h=false;d.onmousedown=function(a){a=a|... | WT_DECLARE_WT_MEMBER(1,"WDialog",function(j,b){function k(a){a=c.pageCoordinates(a||window.event);h=true;b.style.left=c.pxself(b,"left")+a.x-f+"px";b.style.top=c.pxself(b,"top")+a.y-g+"px";f=a.x;g=a.y}jQuery.data(b,"obj",this);var d=$(b).find(".titlebar").first().get(0),c=j.WT,f,g,h=false;if(d){d.onmousedown=function(a... | WT_DECLARE_WT_MEMBER(1,"WDialog",function(j,b){function k(a){a=c.pageCoordinates(a||window.event);h=true;b.style.left=c.pxself(b,"left")+a.x-f+"px";b.style.top=c.pxself(b,"top")+a.y-g+"px";f=a.x;g=a.y}jQuery.data(b,"obj",this);var d=$(b).find(".titlebar").first().get(0),c=j.WT,f,g,h=false;d.onmousedown=function(a){a=a|... |
if ( result.prime ) { | if ( result ) { | (function ( ) { //This file has been reworked to rely on class NS - A Chandler May 2010 /////////////////////////////////////////// // import /////////////////////////////////////////// // var RSA = __package( packages, id ).RSA; // var BigInteger = __package( packages, id ).BigInteger; // var Secu... |
RSA.log( "RSAEngine:2.3.3:result="+result.prime ); if ( result.prime ) { | RSA.log( "RSAEngine:2.3.3:result="+result ); if ( result ) { | (function ( ) { //This file has been reworked to rely on class NS - A Chandler May 2010 /////////////////////////////////////////// // import /////////////////////////////////////////// // var RSA = __package( packages, id ).RSA; // var BigInteger = __package( packages, id ).BigInteger; // var Secu... |
$(self).bind(name, fn); | if (fn) { $(self).bind(name, fn); } | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.tooltip = { conf: { // default effect variables effect: 'toggle', fadeOutSpeed: "fast", predelay: 0, delay: 30, opacity: 1, tip: 0, // 'top', 'bottom', 'right', 'left', 'center' position: ['top',... |
img = overlay.data("img"); | img = overlay.data("img"), position = conf.fixed ? 'fixed' : 'absolute'; | (function($) { // version number var t = $.tools.overlay, w = $(window); // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); ret... |
position: 'absolute', | position: position, | (function($) { // version number var t = $.tools.overlay, w = $(window); // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); ret... |
pos.position = 'absolute'; | pos.position = position; | (function($) { // version number var t = $.tools.overlay, w = $(window); // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); ret... |
width: oWidth}, conf.speed, function() { if (conf.fixed) { pos.top -= w.scrollTop(); pos.left -= w.scrollLeft(); pos.position = 'fixed'; img.add(overlay).css(pos); } | width: oWidth}, conf.speed, function() { | (function($) { // version number var t = $.tools.overlay, w = $(window); // extend global configuragion with effect specific defaults $.extend(t.conf, { start: { top: null, left: null }, fadeInSpeed: 'fast', zIndex: 9999 }); // utility function function getPosition(el) { var p = el.offset(); ret... |
if (location.hash && conf.tabs === "a" && root.find(conf.tabs + location.hash)) { | if (location.hash && conf.tabs === "a" && root.find(conf.tabs + location.hash).length) { | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.tabs = { conf: { tabs: 'a', current: 'current', onBeforeClick: null, onClick: null, effect: 'default', initialIndex: 0, event: 'click', rotate: false, // 1.2 history: false }, addEffect: function... |
CKEDITOR.dialog.add('specialchar',function(a){var b,c=a.lang.specialChar,d=function(k){var l=a.getSelection(),m=l.getRanges(),n,o;a.fire('saveSnapshot');for(var p=0,q=m.length;p<q;p++){n=m[p];n.deleteContents();o=CKEDITOR.dom.element.createFromHtml(k);n.insertNode(o);}n.moveToPosition(o,CKEDITOR.POSITION_AFTER_END);n.s... | CKEDITOR.dialog.add('specialchar',function(a){var b,c=a.lang.specialChar,d=function(k){var l=a.getSelection(),m=l.getRanges(true),n,o;a.fire('saveSnapshot');for(var p=m.length-1;p>=0;p--){n=m[p];n.deleteContents();o=CKEDITOR.dom.element.createFromHtml(k);n.insertNode(o);}if(n){n.moveToPosition(o,CKEDITOR.POSITION_AFTER... | CKEDITOR.dialog.add('specialchar',function(a){var b,c=a.lang.specialChar,d=function(k){var l=a.getSelection(),m=l.getRanges(),n,o;a.fire('saveSnapshot');for(var p=0,q=m.length;p<q;p++){n=m[p];n.deleteContents();o=CKEDITOR.dom.element.createFromHtml(k);n.insertNode(o);}n.moveToPosition(o,CKEDITOR.POSITION_AFTER_END);n.s... |
WT_DECLARE_WT_MEMBER(1,"WDialog",function(g,b){function k(a){a=c.pageCoordinates(a||window.event);j=true;b.style.left=c.pxself(b,"left")+a.x-h+"px";b.style.top=c.pxself(b,"top")+a.y-i+"px";h=a.x;i=a.y}jQuery.data(b,"obj",this);var l=this,e=$(b).find(".titlebar").first().get(0),c=g.WT,h,i,j=false;if(e){e.onmousedown=fun... | WT_DECLARE_WT_MEMBER(1,"WDialog",function(g,b){function k(a){var c=a||window.event;a=d.pageCoordinates(c);c=d.windowCoordinates(c);var e=d.windowSize();if(c.x>0&&c.x<e.x&&c.y>0&&c.y<e.y){j=true;b.style.left=d.pxself(b,"left")+a.x-h+"px";b.style.top=d.pxself(b,"top")+a.y-i+"px";h=a.x;i=a.y}}jQuery.data(b,"obj",this);var... | WT_DECLARE_WT_MEMBER(1,"WDialog",function(g,b){function k(a){a=c.pageCoordinates(a||window.event);j=true;b.style.left=c.pxself(b,"left")+a.x-h+"px";b.style.top=c.pxself(b,"top")+a.y-i+"px";h=a.x;i=a.y}jQuery.data(b,"obj",this);var l=this,e=$(b).find(".titlebar").first().get(0),c=g.WT,h,i,j=false;if(e){e.onmousedown=fun... |
CKEDITOR.themes.add('default',(function(){function a(b,c){var d,e;e=b.config.sharedSpaces;e=e&&e[c];e=e&&CKEDITOR.document.getById(e);if(e){var f='<span class="cke_shared"><span class="'+b.skinClass+' cke_editor_'+b.name+'">'+'<span class="'+CKEDITOR.env.cssClass+'">'+'<span class="cke_wrapper cke_'+b.lang.dir+'">'+'<s... | CKEDITOR.themes.add('default',(function(){function a(b,c){var d,e;e=b.config.sharedSpaces;e=e&&e[c];e=e&&CKEDITOR.document.getById(e);if(e){var f='<span class="cke_shared"><span class="'+b.skinClass+' cke_editor_'+b.name+'">'+'<span class="'+CKEDITOR.env.cssClass+'">'+'<span class="cke_wrapper cke_'+b.lang.dir+'">'+'<s... | CKEDITOR.themes.add('default',(function(){function a(b,c){var d,e;e=b.config.sharedSpaces;e=e&&e[c];e=e&&CKEDITOR.document.getById(e);if(e){var f='<span class="cke_shared"><span class="'+b.skinClass+' cke_editor_'+b.name+'">'+'<span class="'+CKEDITOR.env.cssClass+'">'+'<span class="cke_wrapper cke_'+b.lang.dir+'">'+'<s... |
Sonatype.Events.addListener('userViewInit', function(cardPanel, rec) { var config = { payload : rec, tabTitle : 'Config' }; cardPanel.add(rec.data.source == 'default' ? new Sonatype.repoServer.DefaultUserEditor(config) : new Sonatype.repoServer.UserMappingEditor(config)); }); | function( conn, response, options ) { if ( response.responseText ) { var statusResp = Ext.decode(response.responseText); if ( statusResp ) { this.grid.totalRecords = statusResp.totalCount; if ( statusResp.tooManyResults ) { this.grid.setWarningLabel( 'Too many results, please refine the search condition.' ); } else { t... | Sonatype.Events.addListener('userViewInit', function(cardPanel, rec) { var config = { payload : rec, tabTitle : 'Config' }; cardPanel.add(rec.data.source == 'default' ? new Sonatype.repoServer.DefaultUserEditor(config) : new Sonatype.repoServer.UserMappingEditor(config)); }); |
return [$(window).width(), $(document).height()]; | return [$(document).width(), $(document).height()]; | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; var tool; tool = $.tools.expose = { conf: { maskId: 'exposeMask', loadSpeed: 'slow', closeSpeed: 'fast', closeOnClick: true, closeOnEsc: true, // css settings zIndex: 9998, opacity: 0.8, startOpacity: 0, color... |
this.STEP(func); }.bind(this)); | this.step(func); }.bind(this)); | funcarray.each(function(func){ this.STEP(func); }.bind(this)); |
return (ret[1] === acc); })) | return (macro === acc); })) | if (legalAccents.detect(function(acc) { return (ret[1] === acc); })) |
if (el.style.display != 'none') { if (!moved) { var ws = WT.windowSize(); var w = el.offsetWidth, h = el.offsetHeight; el.style.left = Math.round((ws.x - w)/2 + (WT.isIE6 ? document.documentElement.scrollLeft : 0)) + 'px'; el.style.top = Math.round((ws.y - h)/2 + (WT.isIE6 ? document.documentElement.scrollTop : 0)) + '... | if (!moved) { var ws = WT.windowSize(); var w = el.offsetWidth, h = el.offsetHeight; el.style.left = Math.round((ws.x - w)/2 + (WT.isIE6 ? document.documentElement.scrollLeft : 0)) + 'px'; el.style.top = Math.round((ws.y - h)/2 + (WT.isIE6 ? document.documentElement.scrollTop : 0)) + 'px'; el.style.marginLeft='0px'; el... | function(APP, el) { jQuery.data(el, 'obj', this); var self = this; var titlebar = $(el).find(".titlebar").first().get(0); var WT = APP.WT; var dsx, dsy; var moved = false; function handleMove(event) { var e = event||window.event; var nowxy = WT.pageCoordinates(e); var wxy = WT.windowCoordinat... |
if (el.style.width != null && el.style.height != null) self.wtResize(el, w, h); } el.style.visibility = 'visible'; | if (el.style.width != null && el.style.height != null) self.wtResize(el, w, h); | function(APP, el) { jQuery.data(el, 'obj', this); var self = this; var titlebar = $(el).find(".titlebar").first().get(0); var WT = APP.WT; var dsx, dsy; var moved = false; function handleMove(event) { var e = event||window.event; var nowxy = WT.pageCoordinates(e); var wxy = WT.windowCoordinat... |
this.discoverContext = function() { | this.discoverContext = function(noGLHandler) { | function(APP, canvas) { jQuery.data(canvas, 'obj', this); var self = this; var WT = APP.WT; var vec3 = WT.glMatrix.vec3; var mat3 = WT.glMatrix.mat3; var mat4 = WT.glMatrix.mat4; this.ctx = null; // Placeholders for the initializeGL and paintGL functions, // which will be overwritten by whatever is r... |
this.ctx = canvas.getContext('experimental-webgl'); | try { this.ctx = canvas.getContext('webgl'); } catch (e) {} | function(APP, canvas) { jQuery.data(canvas, 'obj', this); var self = this; var WT = APP.WT; var vec3 = WT.glMatrix.vec3; var mat3 = WT.glMatrix.mat3; var mat4 = WT.glMatrix.mat4; this.ctx = null; // Placeholders for the initializeGL and paintGL functions, // which will be overwritten by whatever is r... |
this.ctx = canvas.getContext('webgl'); | try { this.ctx = canvas.getContext('experimental-webgl'); } catch (e) {} | function(APP, canvas) { jQuery.data(canvas, 'obj', this); var self = this; var WT = APP.WT; var vec3 = WT.glMatrix.vec3; var mat3 = WT.glMatrix.mat3; var mat4 = WT.glMatrix.mat4; this.ctx = null; // Placeholders for the initializeGL and paintGL functions, // which will be overwritten by whatever is r... |
if (this.ctx == null) { var alternative = canvas.firstChild; var parentNode = canvas.parentNode; parentNode.replaceChild(alternative, canvas); noGLHandler(); } | function(APP, canvas) { jQuery.data(canvas, 'obj', this); var self = this; var WT = APP.WT; var vec3 = WT.glMatrix.vec3; var mat3 = WT.glMatrix.mat3; var mat4 = WT.glMatrix.mat4; this.ctx = null; // Placeholders for the initializeGL and paintGL functions, // which will be overwritten by whatever is r... | |
} | }; | function(APP, canvas) { jQuery.data(canvas, 'obj', this); var self = this; var WT = APP.WT; var vec3 = WT.glMatrix.vec3; var mat3 = WT.glMatrix.mat3; var mat4 = WT.glMatrix.mat4; this.ctx = null; // Placeholders for the initializeGL and paintGL functions, // which will be overwritten by whatever is r... |
this.paintGl(); | this.paintGL(); | function(APP, canvas) { jQuery.data(canvas, 'obj', this); var self = this; var WT = APP.WT; var vec3 = WT.glMatrix.vec3; var mat3 = WT.glMatrix.mat3; var mat4 = WT.glMatrix.mat4; this.ctx = null; // Placeholders for the initializeGL and paintGL functions, // which will be overwritten by whatever is r... |
panel.grid.store.on( 'load', function( store, records, options ) { store.sort( 'version', 'desc' ); }, this ); | Sonatype.Events.addListener('searchTypeInit', function(searchTypes, panel) { searchTypes.splice( 0, 0, { value : 'quick', text : 'Keyword Search', scope : panel, handler : panel.switchSearchType, defaultQuickSearch : true, store : null, showArtifactContainer : function( record ) { return false; }, columnModel : new ... | panel.grid.store.on( 'load', function( store, records, options ) { store.sort( 'version', 'desc' ); }, this ); |
$(self).bind(name, fn); | if (fn) { $(self).bind(name, fn); } | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.scrollable = { conf: { activeClass: 'active', circular: false, clonedClass: 'cloned', disabledClass: 'disabled', easing: 'swing', initialIndex: 0, item: null, items: '.items', keyboard: true, mousewheel: fa... |
var el = els().eq(index); if (!e.isDefaultPrevented() && el.length) { els().removeClass(cls).eq(index).addClass(cls); } | setTimeout(function() { if (!e.isDefaultPrevented()) { var el = els().eq(index); if (!e.isDefaultPrevented() && el.length) { els().removeClass(cls).eq(index).addClass(cls); } } }, 1); | (function($) { var t = $.tools.scrollable; t.navigator = { conf: { navi: '.navi', naviItem: null, activeClass: 'active', indexed: false, idPrefix: null, // 1.2 history: false } }; function find(root, query) { var el = $(query); return el.length < 2 ? el : root.parent().find(query); } //... |
if(window_top > $(this).offset().top) { show_lazy_graph($(this)); | if(window_top > $(this).position().top) { show_lazy_graph(this); | $('.gc-img').each(function() { window_top = $(window).height() + $(window).scrollTop(); if(window_top > $(this).offset().top) { show_lazy_graph($(this)); } }); |
WT_DECLARE_WT_MEMBER(1,"WSuggestionPopup",function(s,f,x,C,q,y,t){function c(a){return $(a).hasClass("Wt-suggest-onedit")||$(a).hasClass("Wt-suggest-dropdown")}function g(){return f.style.display!="none"}function d(){f.style.display="none"}function m(a){console.log("global"+t);e.positionAtWidget(f.id,a.id,e.Vertical,t)... | WT_DECLARE_WT_MEMBER(1,"WSuggestionPopup",function(s,f,w,C,q,x,y){function c(a){return $(a).hasClass("Wt-suggest-onedit")||$(a).hasClass("Wt-suggest-dropdown")}function g(){return f.style.display!="none"}function d(){f.style.display="none"}function m(a){e.positionAtWidget(f.id,a.id,e.Vertical,y)}function o(a){a=e.targe... | WT_DECLARE_WT_MEMBER(1,"WSuggestionPopup",function(s,f,x,C,q,y,t){function c(a){return $(a).hasClass("Wt-suggest-onedit")||$(a).hasClass("Wt-suggest-dropdown")}function g(){return f.style.display!="none"}function d(){f.style.display="none"}function m(a){console.log("global"+t);e.positionAtWidget(f.id,a.id,e.Vertical,t)... |
lazies = lconf === true ? self.getItems() : root.find(lconf.select || lconf); | if (lconf === true) { lconf = "img, :backgroundImage"; } lazies = root.find(lconf.select || lconf); | (function($) { // static constructs $.tools = $.tools || {}; $.tools.scrollable = { conf: { // basics size: 5, vertical: false, speed: 400, keyboard: true, // by default this is the same as size keyboardSteps: null, // other disabledClass: 'disabled', hoverClass: null, clickab... |
(function(){function a(h){return h.type==CKEDITOR.NODE_TEXT&&h.getLength()>0;};function b(h){return!(h.type==CKEDITOR.NODE_ELEMENT&&h.isBlockBoundary(CKEDITOR.tools.extend({},CKEDITOR.dtd.$empty,CKEDITOR.dtd.$nonEditable)));};var c=function(){var h=this;return{textNode:h.textNode,offset:h.offset,character:h.textNode?h.... | (function(){var a;function b(i){return i.type==CKEDITOR.NODE_TEXT&&i.getLength()>0&&(!a||!i.isReadOnly());};function c(i){return!(i.type==CKEDITOR.NODE_ELEMENT&&i.isBlockBoundary(CKEDITOR.tools.extend({},CKEDITOR.dtd.$empty,CKEDITOR.dtd.$nonEditable)));};var d=function(){var i=this;return{textNode:i.textNode,offset:i.o... | (function(){function a(h){return h.type==CKEDITOR.NODE_TEXT&&h.getLength()>0;};function b(h){return!(h.type==CKEDITOR.NODE_ELEMENT&&h.isBlockBoundary(CKEDITOR.tools.extend({},CKEDITOR.dtd.$empty,CKEDITOR.dtd.$nonEditable)));};var c=function(){var h=this;return{textNode:h.textNode,offset:h.offset,character:h.textNode?h.... |
titlebar.onmousedown = function(event) { var e = event||window.event; WT.capture(titlebar); var pc = WT.pageCoordinates(e); dsx = pc.x; dsy = pc.y; | if (titlebar) { titlebar.onmousedown = function(event) { var e = event||window.event; WT.capture(titlebar); var pc = WT.pageCoordinates(e); dsx = pc.x; dsy = pc.y; | function(APP, el) { jQuery.data(el, 'obj', this); var self = this; var titlebar = $(el).find(".titlebar").first().get(0); var WT = APP.WT; var dsx, dsy; var moved = false; function handleMove(event) { var e = event||window.event; var nowxy = WT.pageCoordinates(e); moved = true; el.style.l... |
WT.capture(null); }; | WT.capture(null); }; } | function(APP, el) { jQuery.data(el, 'obj', this); var self = this; var titlebar = $(el).find(".titlebar").first().get(0); var WT = APP.WT; var dsx, dsy; var moved = false; function handleMove(event) { var e = event||window.event; var nowxy = WT.pageCoordinates(e); moved = true; el.style.l... |
lazies = lconf === true ? panes : root.find(lconf.select || lconf); | if (lconf === true) { lconf = "img, :backgroundImage"; } lazies = root.find(lconf.select || lconf); | (function($) { // static constructs $.tools = $.tools || {}; $.tools.tabs = { version: '@VERSION', conf: { tabs: 'a', current: 'current', onBeforeClick: null, onClick: null, effect: 'default', initialIndex: 0, event: 'click', api: false, rotate: false, // 1.2 lazyload: false, histo... |
return self.seekTo(i, time, fn); | return self.seekTo(i); | (function($) { // static constructs $.tools = $.tools || {}; $.tools.scrollable = { conf: { // basics size: 5, vertical: false, speed: 400, keyboard: true, // by default this is the same as size keyboardSteps: null, // other disabledClass: 'disabled', hoverClass: null, clickab... |
conf[key] = parseFloat(val, 10); | if (val || val === 0) {; conf[key] = parseFloat(val, 10); } | (function($) { $.tools = $.tools || {version: '@VERSION'}; var current, tool; tool = $.tools.slider = { conf: { min: 0, max: 100, step: 0, // Specifies the value granularity of the element's value (onSlide callbacks) value: 0, decimals: 2, vertical: false, keyboard: true, hideInput: false... |
var v = round(x / len * range + conf.min, conf.decimals); | var isClick = e && e.originalEvent && e.originalEvent.type == "click", v = round(x / len * range + conf.min, conf.decimals); | (function($) { $.tools = $.tools || {version: '@VERSION'}; var current, tool; tool = $.tools.slider = { conf: { min: 0, max: 100, step: 0, // Specifies the value granularity of the element's value (onSlide callbacks) value: 0, decimals: 2, vertical: false, keyboard: true, hideInput: false... |
e = e || $.Event(); e.type = "onSlide"; fire.trigger(e, [v]); if (e.isDefaultPrevented()) { return self; } | if (value !== undefined && !isClick) { e = e || $.Event(); e.type = "onSlide"; fire.trigger(e, [v]); if (e.isDefaultPrevented()) { return self; } } | (function($) { $.tools = $.tools || {version: '@VERSION'}; var current, tool; tool = $.tools.slider = { conf: { min: 0, max: 100, step: 0, // Specifies the value granularity of the element's value (onSlide callbacks) value: 0, decimals: 2, vertical: false, keyboard: true, hideInput: false... |
var isClick = e && e.originalEvent && e.originalEvent.type == "click", speed = isClick ? conf.speed : 0, callback = isClick ? function() { | var speed = isClick ? conf.speed : 0, fn = isClick ? function() { | (function($) { $.tools = $.tools || {version: '@VERSION'}; var current, tool; tool = $.tools.slider = { conf: { min: 0, max: 100, step: 0, // Specifies the value granularity of the element's value (onSlide callbacks) value: 0, decimals: 2, vertical: false, keyboard: true, hideInput: false... |
handle.animate({top: -(x - len)}, speed, callback); | handle.animate({top: -(x - len)}, speed, fn); | (function($) { $.tools = $.tools || {version: '@VERSION'}; var current, tool; tool = $.tools.slider = { conf: { min: 0, max: 100, step: 0, // Specifies the value granularity of the element's value (onSlide callbacks) value: 0, decimals: 2, vertical: false, keyboard: true, hideInput: false... |
handle.animate({left: x}, speed, callback); | handle.animate({left: x}, speed, fn); | (function($) { $.tools = $.tools || {version: '@VERSION'}; var current, tool; tool = $.tools.slider = { conf: { min: 0, max: 100, step: 0, // Specifies the value granularity of the element's value (onSlide callbacks) value: 0, decimals: 2, vertical: false, keyboard: true, hideInput: false... |
if (!val || val == value) { return self; } | if (val === NaN || val == value) { return self; } | (function($) { $.tools = $.tools || {version: '@VERSION'}; var current, tool; tool = $.tools.slider = { conf: { min: 0, max: 100, step: 0, // Specifies the value granularity of the element's value (onSlide callbacks) value: 0, decimals: 2, vertical: false, keyboard: true, hideInput: false... |
self.setValue(input.val() || conf.min); | self.setValue(input.val() || conf.value || conf.min); | (function($) { $.tools = $.tools || {version: '@VERSION'}; var current, tool; tool = $.tools.slider = { conf: { min: 0, max: 100, step: 0, // Specifies the value granularity of the element's value (onSlide callbacks) value: 0, decimals: 2, vertical: false, keyboard: true, hideInput: false... |
$('#select-all').live('click', function(){ $('.selectable').addClass('selected'); return false; }); $('#select-none').live('click', function(){ $('.selectable').removeClass('selected'); return false; }); | $(document).ready(function() { $("#loading").ajaxStart(function() { $(this).show(); }); $("#loading").ajaxStop(function() { $(this).hide(); $('.sortable').sortable(); }); $('#hosts').load('cgi-bin/collection.modified.cgi'); $('#menu-tabs').tabs(); $(".date-field").datepicker(); $("#clock").jclock(); $("#clock-s... | |
this.each(function(i) { | this.each(function() { | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.tabs = { conf: { tabs: 'a', current: 'current', onBeforeClick: null, onClick: null, effect: 'default', initialIndex: 0, event: 'click', api: false, rotate: false, // 1.2 lazyload: false, history:... |
Sonatype.Events.addListener( 'nexusNavigationInit', function( nexusPanel ) { if ( Sonatype.lib.Permissions.checkPermission( 'nexus:index', Sonatype.lib.Permissions.READ ) ) { nexusPanel.add({ title: 'Artifact Search', id: 'st-nexus-search', items: [ Ext.apply( { repoPanel: this, id: 'quick-search--field', width: 140 },... | Sonatype.Events.addListener('nexusNavigationInit', function(nexusPanel) { if (Sonatype.lib.Permissions.checkPermission('nexus:index', Sonatype.lib.Permissions.READ)) { nexusPanel.add({ title : 'Artifact Search', id : 'st-nexus-search', items : [Ext.apply({ repoPanel : this, id : 'quick-search--field', width : 140 }, SE... | Sonatype.Events.addListener( 'nexusNavigationInit', function( nexusPanel ) { if ( Sonatype.lib.Permissions.checkPermission( 'nexus:index', Sonatype.lib.Permissions.READ ) ) { nexusPanel.add({ title: 'Artifact Search', id: 'st-nexus-search', items: [ Ext.apply( { repoPanel: this, ... |
} }); | Sonatype.Events.addListener( 'nexusNavigationInit', function( nexusPanel ) { if ( Sonatype.lib.Permissions.checkPermission( 'nexus:index', Sonatype.lib.Permissions.READ ) ) { nexusPanel.add({ title: 'Artifact Search', id: 'st-nexus-search', items: [ Ext.apply( { repoPanel: this, ... | |
$.post($(this).attr("href"), function(data) { | $.get($(this).attr("href"), function(data) { | (function($) {$(document).ready(function() { /** * Handle the OpenID information Box. * It will open / hide the little popup */ $("#ShowOpenIDdesc").click(function() { if($("#OpenIDDescription").hasClass("showing")) { $("#OpenIDDescription").hide().removeClass("showing"); } else { $("#OpenIDDescription").show... |
if (!conf.circular && self.getSize() > 2) { | if (!conf.circular && self.getSize() > 1) { | (function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.scrollable = { conf: { activeClass: 'active', circular: false, clonedClass: 'cloned', disabledClass: 'disabled', easing: 'swing', initialIndex: 0, item: null, items: '.items', keyboard: true, mousewheel: fa... |
$('#defaultLanguageContainer').show(); | $('#defaultLanguage option').attr('disabled', 'disabled'); $('#languages input:checked').each(function() { $('#defaultLanguage option[value='+ $(this).val() +']').attr('disabled', ''); }); | $(document).ready(function() { // Step 1 - requirements $('a.toggleInformation').bind('click', function(evt) { evt.preventDefault(); $('#requirementsInformation').toggle(); }); // Step 3 - general settings (modules, languages, ...) if($('#languageTypeMultiple').is(':checked')) { $('#languages').show(); $('#defaultL... |
$('#defaultLanguageContainer').hide(); | $('#defaultLanguage option').attr('disabled', ''); | $(document).ready(function() { // Step 1 - requirements $('a.toggleInformation').bind('click', function(evt) { evt.preventDefault(); $('#requirementsInformation').toggle(); }); // Step 3 - general settings (modules, languages, ...) if($('#languageTypeMultiple').is(':checked')) { $('#languages').show(); $('#defaultL... |
$('#plugins a').each(function() { $(this).removeClass('selected'); | $('.gc-img').each(function() { window_top = $(window).height() + $(window).scrollTop(); if(window_top > $(this).offset().top) { show_lazy_graph($(this)); } | $('#plugins a').each(function() { $(this).removeClass('selected'); }); |
if ( !checkedNewVersion ){ | if ( !checkedNewVersion && Sonatype.lib.Permissions.checkPermission('nexus:status', Sonatype.lib.Permissions.READ) && !Ext.isEmpty( Sonatype.utils.editionShort ) && !Ext.isEmpty( Sonatype.utils.versionShort )){ | Sonatype.Events.addListener( 'nexusStatus', function() { if ( !checkedNewVersion ){ Ext.Ajax.request( { method: 'GET', suppressStatus: [404,401,-1], url: Sonatype.config.servicePath + '/lvo/nexus-' + Sonatype.utils.editionShort.substr( 0, 3 ).toLowerCase() + '/' + Sonatype.utils.versionShort, ... |
var form = '#' + UID; | var formContainer = '#' + UID; | $(document).ready(function() { var validator = null; var title = $(callingButton).text() // Assign title to calling button's text var okButton = localizedButtons[0]; var cancelButton = localizedButtons[1]; var UID = new Date().getTime(); var form = '#' + UID; // Construct action to perform when OK and Cancels b... |
validator = $(form).find('form').validate(); | $form = $(formContainer).find('form'); validator = $form.validate(); | $(document).ready(function() { var validator = null; var title = $(callingButton).text() // Assign title to calling button's text var okButton = localizedButtons[0]; var cancelButton = localizedButtons[1]; var UID = new Date().getTime(); var form = '#' + UID; // Construct action to perform when OK and Cancels b... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.