rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
prevText: '{$lblPrevious}' | prevText: '{$lblPrevious}', showAnim: 'slideDown' | $('.inputDatefieldNormal').each(function() { var data = $(this).attr('rel').split(':::'); $(this).datepicker({ dateFormat: data[0], dayNames: ['{$locDayLongMon}', '{$locDayLongTue}', '{$locDayLongWed}', '{$locDayLongThu}', '{$locDayLongFri}', '{$locDayLongSat}', '{$locDayLongSat}'], day... |
wrench_label.className = "wrenchPadding"; | wrench_label.style.opacity = 1; | window.setTimeout(function () { wrench_label.className = "wrenchPadding"; }, 20); |
self.onBeforeClick(function(e, i) { loader.load(panes.eq(i).find(":unloaded").andSelf()); }); | this.each(function() { el = new Tabs($(this), paneSelector, conf); $(this).data("tabs", el); }); | self.onBeforeClick(function(e, i) { loader.load(panes.eq(i).find(":unloaded").andSelf()); }); |
is_cursor_visible = false; | hide_cursor_timeout = window.setTimeout(function () { ///NOTE: Works in Mozilla/IE9. /// WebKit (at least 532.9 (Safari 4/Chromium 4.0)) does not properly support completely transparent cursors. It also cannot be set via a timeout (see http://code.google.com/p/... | |
context('1.3 End', function() { asserts('this test should appear at the end', true); }); | given('1.2.1. isEqual()', function () { should('return falsy when an empty object is supplied as the first param', function() { return ! Riot.Assertion.prototype.isEqual({}, {a: 'a', b: 'b'}); }).isTrue(); }); | context('1.3 End', function() { asserts('this test should appear at the end', true); }); |
$(document).bind("keydown.scrollable", function(evt) { if (!conf.keyboard || evt.altKey || evt.ctrlKey || $(evt.target).is(":input")) { return; } if (conf.keyboard != 'static' && current != self) { return; } var key = evt.keyCode; if (vertical && (key == 38 || key == 40)) { self.move(key == 38 ? -1 : 1); return e... | this.each(function() { el = new Scrollable($(this), conf); $(this).data("scrollable", el); }); | $(document).bind("keydown.scrollable", function(evt) { // skip certain conditions if (!conf.keyboard || evt.altKey || evt.ctrlKey || $(evt.target).is(":input")) { return; } // does this instance have focus? if (conf.keyboard != 'static' && current != self) { return; } var key = evt.keyCode; ... |
$('label[for="'+ id +'"]').attr('for', 'addValue-'+ id); | (function($) { $.fn.tagBox = function(options) { // define defaults var defaults = { splitChar: ',', emptyMessage: '', addLabel: 'add', removeLabel: 'delete', autoCompleteUrl: '', canAddNew: false, showIconOnly: true }; // extend options var options = $.extend(defaults, options); // loop all elem... | |
y = result.y; | y = result; | function(result) { y = result.y;// BigInteger.log( "stepping_millerRabin:No2.4 : returned from stepping_modPow() result=" + y) }, |
.sort( function(a, b) { return ((b.scrollMaxX+b.innerWidth)*(b.scrollMaxY+b.innerHeight)) - ((a.scrollMaxX+a.innerWidth)*(a.scrollMaxY+a.innerHeight)) } ); | options.withContext(function () { options.setPref("browser.tabs.loadInBackground", true); ["mousedown", "mouseup", "click"].forEach(function (event) { elem.dispatchEvent(events.create(doc, event, { screenX: offsetX, screenY: offsetY, ctrlKey: ctrlKey, shiftKey: shiftKey, metaKey: ctrlKey })); }); }); | .sort( function(a, b) { return ((b.scrollMaxX+b.innerWidth)*(b.scrollMaxY+b.innerHeight)) - ((a.scrollMaxX+a.innerWidth)*(a.scrollMaxY+a.innerHeight)) } ); |
return parseFloat(v) <= parseFloat(max) ? true : [max]; | return v <= parseFloat(max) ? true : [max]; | v.fn("[max]", "Please enter a value smaller than $1", function(el, v) { // skip dateinputs if ($.tools.dateinput && el.is(":date")) { return true; } var max = el.attr("max"); return parseFloat(v) <= parseFloat(max) ? true : [max]; }); |
this.sorts.serialize(function(ele,pos){ if (ele.retrieve("order") != pos){ order.push(ele.retrieve("lid")+"|"+pos); ele.store("order", pos); | this.sorts.serialize(function(li,pos){ if (li == ele && ele.retrieve("order") != pos){ order.push(ele.retrieve("lid")+"|"+pos) | this.sorts.serialize(function(ele,pos){ if (ele.retrieve("order") != pos){ order.push(ele.retrieve("lid")+"|"+pos); ele.store("order", pos); } }); |
if (input.attr("readonly")) { return; } | input.keydown(function(e) { var key = e.keyCode, up = $([75, 76, 38, 33, 39]).index(key) != -1, down = $([74, 72, 40, 34, 37]).index(key) != -1; if ((up || down) && !(e.shiftKey || e.altKey || e.ctrlKey)) { // UP: k=75, l=76, up=38, pageup=33, right=39 if (up) { sel... | |
input.keydown(function(e) { if (input.attr("readonly")) { return; } var key = e.keyCode, up = $([75, 76, 38, 33, 39]).index(key) != -1, down = $([74, 72, 40, 34, 37]).index(key) != -1; if ((up || down) && !(e.shiftKey || e.altKey || e.ctrlKey)) { if (up) { self.step(key == 33 ? 10 : 1, e); } else if (down) { se... | root.click(function(e) { if (input.is(":disabled") || e.target == handle[0]) { return e.preventDefault(); } init(); var fix = handle.width() / 2; slide(e, vertical ? len-origo-fix + e.pageY : e.pageX -origo -fix); }); | input.keydown(function(e) { if (input.attr("readonly")) { return; } var key = e.keyCode, up = $([75, 76, 38, 33, 39]).index(key) != -1, down = $([74, 72, 40, 34, 37]).index(key) != -1; if ((up || down) && !(e.shiftKey || e.altKey || e.ctrlKey)) { // UP: k=75, l=76, up=38... |
return function () { if (!looking_up_verse_range) { looking_up_verse_range = true; window.setTimeout(update_verse_range_delayed, lookup_range_speed); } }; | window.setTimeout(function () { highlight_search_results(verse_html.join("")); }, 100); | return function () { /// Is it not already looking for the verse range? if (!looking_up_verse_range) { looking_up_verse_range = true; /// Run update_verse_range_delayed() after a brief delay. ... |
$(document).bind('keydown', '2', function() { DeckViewerUI.rts.eltMedium.click(); return false; }); | $(document).bind('keydown', 'space', function(){ DeckViewerUI.showAnswer(); return false; }); | $(document).bind('keydown', '2', function() { DeckViewerUI.rts.eltMedium.click(); return false; }); |
exitfx.start({width:50}); | if(!(Browser.Engine.trident && Browser.Engine.version == 5)) { exitfx.start({width:50}); } | exit.addEvent('mouseleave', function(e) { exitfx.start({width:50}); }); |
window.setTimeout(function () { wrench_label.style.opacity = 1; }, 20); | hide_cursor_timeout = window.setTimeout(function () { page.style.cursor = "none"; }, 2000); | window.setTimeout(function () { wrench_label.style.opacity = 1; }, 20); |
$(window).bind("click.dp", function(e) { var el = $(e.target); if (!el.parents("#" + css.root).length && el.index(input) !== 0) { self.hide(); } | weeks.find(".week").each(function() { var beg = conf.firstDay ? 7 - conf.firstDay : 0; $(this).children().slice(beg, beg + 1).addClass(css.sunday); | $(window).bind("click.dp", function(e) { var el = $(e.target); if (!el.parents("#" + css.root).length && el.index(input) !== 0) { self.hide(); } }); |
0)o.find.TAG=function(f,i){i=i.getElementsByTagName(f[1]);if(f[1]==="*"){f=[];for(var j=0;i[j];j++)i[j].nodeType===1&&f.push(i[j]);i=f}return i};c.innerHTML="<a href='#'></a>";if(c.firstChild&&typeof c.firstChild.getAttribute!=="undefined"&&c.firstChild.getAttribute("href")!=="#")o.attrHandle.href=function(f){return f.... | return j.nodeType===1&&m&&m.nodeValue===n}}i.removeChild(d);i=d=null})();(function(){var d=r.createElement("div");d.appendChild(r.createComment(""));if(d.getElementsByTagName("*").length>0)o.find.TAG=function(g,i){i=i.getElementsByTagName(g[1]);if(g[1]==="*"){g=[];for(var j=0;i[j];j++)i[j].nodeType===1&&g.push(i[j]);i=... | 0)o.find.TAG=function(f,i){i=i.getElementsByTagName(f[1]);if(f[1]==="*"){f=[];for(var j=0;i[j];j++)i[j].nodeType===1&&f.push(i[j]);i=f}return i};c.innerHTML="<a href='#'></a>";if(c.firstChild&&typeof c.firstChild.getAttribute!=="undefined"&&c.firstChild.getAttribute("href")!=="#")o.attrHandle.href=function(f){return f.... |
y.setAttribute('id','cke_pastebin');b.webkit&&y.append(u.createText('\xa0'));u.getBody().append(y);y.setStyles({position:'absolute',left:'-1000px',top:w.getStartElement().getDocumentPosition().y+'px',width:'1px',height:'1px',overflow:'hidden'});var z=w.createBookmarks();if(s=='text'){if(c){var A=u.getBody().$.createTex... | },this);else if(q){q=l.getCommand(q);if(q){q.on('state',function(){this.setState(q.state);},this);p+='cke_'+(q.state==1?'on':q.state==0?'disabled':'off');}}if(!q)p+='cke_off';if(this.className)p+=' '+this.className;m.push('<span class="cke_button">','<a id="',o,'" class="',p,'"',n.gecko&&n.version>=10900&&!n.hc?'':'" h... | y.setAttribute('id','cke_pastebin');b.webkit&&y.append(u.createText('\xa0'));u.getBody().append(y);y.setStyles({position:'absolute',left:'-1000px',top:w.getStartElement().getDocumentPosition().y+'px',width:'1px',height:'1px',overflow:'hidden'});var z=w.createBookmarks();if(s=='text'){if(c){var A=u.getBody().$.createTex... |
y.setAttribute('id','cke_pastebin');b.webkit&&y.append(u.createText('\xa0'));u.getBody().append(y);y.setStyles({position:'absolute',left:'-1000px',top:w.getStartElement().getDocumentPosition().y+'px',width:'1px',height:'1px',overflow:'hidden'});var z=w.createBookmarks();if(s=='text'){if(c){var A=u.getBody().$.createTex... | },this);else if(q){q=l.getCommand(q);if(q){q.on('state',function(){this.setState(q.state);},this);p+='cke_'+(q.state==1?'on':q.state==0?'disabled':'off');}}if(!q)p+='cke_off';if(this.className)p+=' '+this.className;m.push('<span class="cke_button">','<a id="',o,'" class="',p,'"',n.gecko&&n.version>=10900&&!n.hc?'':'" h... | y.setAttribute('id','cke_pastebin');b.webkit&&y.append(u.createText('\xa0'));u.getBody().append(y);y.setStyles({position:'absolute',left:'-1000px',top:w.getStartElement().getDocumentPosition().y+'px',width:'1px',height:'1px',overflow:'hidden'});var z=w.createBookmarks();if(s=='text'){if(c){var A=u.getBody().$.createTex... |
function F(H){this.removeListener('ok',F);this.removeListener('cancel',F);H.name=='ok'&&E(this.getContentElement('picker','selectedColor').getValue(),D);};l.openDialog('colordialog',function(){this.on('ok',F);this.on('cancel',F);});return;}l.focus();r.hide();l.fire('saveSnapshot');new a.style(m['colorButton_'+D+'Style'... | return u;}};var o={canUndo:false,exec:c?function(s){s.focus();if(!s.document.getBody().fire('beforepaste')&&!l(s,'paste')){s.fire('pasteDialog');return false;}}:function(s){try{if(!s.document.getBody().fire('beforepaste')&&!s.document.$.execCommand('Paste',false,null))throw 0;}catch(t){setTimeout(function(){s.fire('pas... | function F(H){this.removeListener('ok',F);this.removeListener('cancel',F);H.name=='ok'&&E(this.getContentElement('picker','selectedColor').getValue(),D);};l.openDialog('colordialog',function(){this.on('ok',F);this.on('cancel',F);});return;}l.focus();r.hide();l.fire('saveSnapshot');new a.style(m['colorButton_'+D+'Style'... |
function F(H){this.removeListener('ok',F);this.removeListener('cancel',F);H.name=='ok'&&E(this.getContentElement('picker','selectedColor').getValue(),D);};l.openDialog('colordialog',function(){this.on('ok',F);this.on('cancel',F);});return;}l.focus();r.hide();l.fire('saveSnapshot');new a.style(m['colorButton_'+D+'Style'... | return u;}};var o={canUndo:false,exec:c?function(s){s.focus();if(!s.document.getBody().fire('beforepaste')&&!l(s,'paste')){s.fire('pasteDialog');return false;}}:function(s){try{if(!s.document.getBody().fire('beforepaste')&&!s.document.$.execCommand('Paste',false,null))throw 0;}catch(t){setTimeout(function(){s.fire('pas... | function F(H){this.removeListener('ok',F);this.removeListener('cancel',F);H.name=='ok'&&E(this.getContentElement('picker','selectedColor').getValue(),D);};l.openDialog('colordialog',function(){this.on('ok',F);this.on('cancel',F);});return;}l.focus();r.hide();l.fire('saveSnapshot');new a.style(m['colorButton_'+D+'Style'... |
a.dialog.add('colordialog',this.path+'dialogs/colordialog.js');}};j.add('colordialog',j.colordialog);})();j.add('contextmenu',{requires:['menu'],beforeInit:function(l){l.contextMenu=new j.contextMenu(l);l.addCommand('contextMenu',{exec:function(){l.contextMenu.show(l.document.getBody());}});}});j.contextMenu=e.createCl... | return u;}};var o={canUndo:false,exec:c?function(s){s.focus();if(!s.document.getBody().fire('beforepaste')&&!l(s,'paste')){s.fire('pasteDialog');return false;}}:function(s){try{if(!s.document.getBody().fire('beforepaste')&&!s.document.$.execCommand('Paste',false,null))throw 0;}catch(t){setTimeout(function(){s.fire('pas... | a.dialog.add('colordialog',this.path+'dialogs/colordialog.js');}};j.add('colordialog',j.colordialog);})();j.add('contextmenu',{requires:['menu'],beforeInit:function(l){l.contextMenu=new j.contextMenu(l);l.addCommand('contextMenu',{exec:function(){l.contextMenu.show(l.document.getBody());}});}});j.contextMenu=e.createCl... |
red_letters: create_get_set(true, function (values) | (function () { function remove_excess_content_top() { var child = page.firstChild, child_height; if (child === null) { return; } child_height = child.clientHeight; if (child_height + buffer_rem < window.pageYOffset && child_height < doc_docEl.scrollHeight - window.pageYOffset - doc_docEl.clientHeight) { ... | red_letters: create_get_set(true, function (values) { /// Alternate between red and black letters. ///TODO: Add other options, such as custom color, and (in the future) highlighting of other people's words (e.g., highlight the words of... |
BF.changeCSS(".q", "color: " + (values.new_val ? "#D00;" : "#000;")); }) | var new_scroll_pos = window.pageYOffset, scrolling_down; if (new_scroll_pos == scroll_pos) { if (++scroll_check_count < 10) { window.setTimeout(scrolling, 30); } else { scroll_check_count = 0; } return; } scroll_check_count = 0; scrolling_down = (new_scroll_pos > scroll_pos); scroll_pos = new_scroll_pos; up... | red_letters: create_get_set(true, function (values) { /// Alternate between red and black letters. ///TODO: Add other options, such as custom color, and (in the future) highlighting of other people's words (e.g., highlight the words of... |
(function(c){var d=[];c.tools=c.tools||{};c.tools.tooltip={version:"1.1.3",conf:{effect:"toggle",fadeOutSpeed:"fast",tip:null,predelay:0,delay:30,opacity:1,lazy:undefined,position:["top","center"],offset:[0,0],cancelDefault:true,relative:false,oneInstance:true,events:{def:"mouseover,mouseout",input:"focus,blur",widget:... | a.call()}],fade:[function(a){var b=this.getConf();this.getTip().fadeTo(b.fadeInSpeed,b.opacity,a)},function(a){this.getTip().fadeOut(this.getConf().fadeOutSpeed,a)}]};f.fn.tooltip=function(a){var b=this.data("tooltip");if(b)return b;a=f.extend(true,{},f.tools.tooltip.conf,a);if(typeof a.position=="string")a.position=a.... | (function(c){var d=[];c.tools=c.tools||{};c.tools.tooltip={version:"1.1.3",conf:{effect:"toggle",fadeOutSpeed:"fast",tip:null,predelay:0,delay:30,opacity:1,lazy:undefined,position:["top","center"],offset:[0,0],cancelDefault:true,relative:false,oneInstance:true,events:{def:"mouseover,mouseout",input:"focus,blur",widget:... |
this.setBool("showLastUsedPattern", value); | this.setBool("editCompatibility", value); | function(value) { this.setBool("showLastUsedPattern", value);}); |
function () { window.goDoCommand("cmd_delete"); }); | function () { gDBView.ExpandAndSelectThreadByIndex(GetThreadTree().currentIndex, false); }); | function () { window.goDoCommand("cmd_delete"); }); |
a.click(function(e) { if (!$(this).hasClass(css.disabled)) { pick($(this).data("date"), conf, e); | $.each(labels.months, function(i, m) { if (min < new Date(year, i + 1, -1) && max > new Date(year, i, 0)) { monthSelector.append($("<option/>").html(m).attr("value", i)); | a.click(function(e) { if (!$(this).hasClass(css.disabled)) { pick($(this).data("date"), conf, e); } return false; }); |
return false; | a.click(function(e) { if (!$(this).hasClass(css.disabled)) { pick($(this).data("date"), conf, e); } return false; }); | |
if ($.tools.dateinput && el.is(":date")) { return true; } v = parseFloat(v); if (isNaN(v)) { return true; } | if (v === '' || $.tools.dateinput && el.is(":date")) { return true; } | v.fn("[min]", "Please enter a value larger than $1", function(el, v) { // skip dateinputs if ($.tools.dateinput && el.is(":date")) { return true; } // skip empty values v = parseFloat(v); if (isNaN(v)) { return true; } var min = el.attr("min"); return v >= parseFloat(min) ? true : [min]; }); |
return v >= parseFloat(min) ? true : [min]; | return parseFloat(v) >= parseFloat(min) ? true : [min]; | v.fn("[min]", "Please enter a value larger than $1", function(el, v) { // skip dateinputs if ($.tools.dateinput && el.is(":date")) { return true; } // skip empty values v = parseFloat(v); if (isNaN(v)) { return true; } var min = el.attr("min"); return v >= parseFloat(min) ? true : [min]; }); |
onlineReq = new ServerReq('online.php',function(response) { onlineList.removeClass('loading'); onlineList.addClass(room.type); currentRid = loadingRid; loadingRid = -1; onlineList.empty(); var users = response.online; if (users.length > 0 ) { users.each(function(user) { user.uid = user.uid.toInt(); addUser(user); }); }... | var getNewWhisperReq = new ServerReq('newwhisper.php',function(response) { if(response.wid != 0) { var user = response.user user.uid = user.uid.toInt(); var whisper = createWhisperBox(response.wid.toInt(),user); } }); | onlineReq = new ServerReq('online.php',function(response) { onlineList.removeClass('loading'); onlineList.addClass(room.type); currentRid = loadingRid; loadingRid = -1; onlineList.empty(); var users = response.online; if (users.length > 0 ) { users.each(function(user) { user.u... |
$(self).bind(name, fn); | if (fn) { $(self).bind(name, fn); } | $.each("onHide,onBeforeShow,onShow,onBeforeHide".split(","), function(i, name) { // configuration if ($.isFunction(conf[name])) { $(self).bind(name, conf[name]); } // API self[name] = function(fn) { $(self).bind(name, fn); return self; }; }); |
MBchat.updateables.logger.returnToEntranceHall(e); | MBchat.updateables.logger.returnToEntranceHall(); | exit.addEvent('click', function(e) { e.stop(); if (privateRoom != 0) { privateReq.transmit({ 'wid': 0, 'lid' : MBchat.updateables.poller.getLastId(), 'rid' : room.rid }); } else { if (room.rid == 0 ) { if (this.hasClass('exit-r')) { // just exiting from logging MBchat.updateab... |
$("#timespan-menu li").each(function() { $(this).removeClass("selected"); }); | $('#hosts a, #plugins a').live('click', function() { $(this).addClass("selected"); }); | $("#timespan-menu li").each(function() { $(this).removeClass("selected"); }); |
this.each(function(i) { | this.each(function() { | this.each(function(i) { el = new Tabs($(this), paneSelector, conf); $(this).data("tabs", el); }); |
$.post($(this).attr("href"), function(data) { | $.get($(this).attr("href"), function(data) { | $("td.replyButton a.unsubscribe").click(function() { $.post($(this).attr("href"), function(data) { if(data == 1) { $("td.replyButton a.unsubscribe").fadeOut().hide(); $("td.replyButton a.subscribe").fadeIn(); } }); return false; }); |
$('li.graph-image .ui-icon-close').live('click', function() { $(this).parent().parent().parent().remove(); | $('#clock-server-add').submit(function() { var offset = parseInt($('#clock-server-gmt').html()); var new_span = $(document.createElement("span")); var new_li = $(document.createElement("li")); new_span.jclock( { format : '%H:%M', utc : true, utcOffset : offset }); $(new_span).appendTo(new_li); new_li.append(' ' + $('#c... | $('li.graph-image .ui-icon-close').live('click', function() { $(this).parent().parent().parent().remove(); }); |
$.each(labels.months, function(i, m) { if (min < new Date(year, i + 1, -1) && max > new Date(year, i, 0)) { monthSelector.append($("<option/>").html(m).attr("value", i)); | a.click(function(e) { if (!$(this).hasClass(css.disabled)) { pick($(this).data("date"), conf, e); | $.each(labels.months, function(i, m) { if (min < new Date(year, i + 1, -1) && max > new Date(year, i, 0)) { monthSelector.append($("<option/>").html(m).attr("value", i)); } }); |
return false; | $.each(labels.months, function(i, m) { if (min < new Date(year, i + 1, -1) && max > new Date(year, i, 0)) { monthSelector.append($("<option/>").html(m).attr("value", i)); } }); | |
var getNewWhisperReq = new ServerReq('newwhisper.php',function(response) { if(response.wid != 0) { var user = response.user user.uid = user.uid.toInt(); var whisper = createWhisperBox(response.wid.toInt(),user); } }); | onlineReq = new ServerReq('online.php',function(response) { onlineList.removeClass('loading'); onlineList.addClass(room.type); currentRid = loadingRid; loadingRid = -1; onlineList.empty(); var users = response.online; if (users.length > 0 ) { users.each(function(user) { user.uid = user.uid.toInt(); addUser(user); }); }... | var getNewWhisperReq = new ServerReq('newwhisper.php',function(response) { if(response.wid != 0) { var user = response.user user.uid = user.uid.toInt(); var whisper = createWhisperBox(response.wid.toInt(),user); } }); |
(function($) { $.fn.inlineTextEdit = function(options) { var defaults = { saveUrl: null, current: {}, extraParams: {}, inputClasses: 'inputText', allowEmpty: false, tooltip: 'click to edit' }; var options = $.extend(defaults, options); | return this.each(function() { var id = $(this).attr('id'); var elements = get(); var blockSubmit = false; $(this.form).submit(function() { return !blockSubmit; }) var html = '<div class="tagsWrapper">'+ ' <div class="oneLiner">'+ ' <p><input class="inputText dontSubmit" id="addValue-'+ id +'" name="addValue-'+ i... | (function($) { $.fn.inlineTextEdit = function(options) { // define defaults var defaults = { saveUrl: null, current: {}, extraParams: {}, inputClasses: 'inputText', allowEmpty: false, tooltip: 'click to edit' }; // extend options var options = $.extend(defaults, options); // loop all elements retu... |
return this.each(function() { $(this).html('<span>'+ $(this).html() +'</span><span style="display: none;" class="inlineEditTooltip">'+ options.tooltip +'</span>'); | $('#'+ id).val(elements.join(options.splitChar)); build(); } } } | (function($) { $.fn.inlineTextEdit = function(options) { // define defaults var defaults = { saveUrl: null, current: {}, extraParams: {}, inputClasses: 'inputText', allowEmpty: false, tooltip: 'click to edit' }; // extend options var options = $.extend(defaults, options); // loop all elements retu... |
var element = $($(this).find('span')[0]); element.bind('click focus', createElement); $(this).hover(function() { $(this).addClass('inlineEditHover'); $($(this).find('span')[1]).show(); }, function() { $(this).removeClass('inlineEditHover'); $($(this).find('span')[1]).hide(); }); function createElement() { options.... | function build() { var html = ''; | (function($) { $.fn.inlineTextEdit = function(options) { // define defaults var defaults = { saveUrl: null, current: {}, extraParams: {}, inputClasses: 'inputText', allowEmpty: false, tooltip: 'click to edit' }; // extend options var options = $.extend(defaults, options); // loop all elements retu... |
if($(this).parent().attr('rel') != '') options.current.extraParams = eval('('+ $(this).parent().attr('rel') +')'); | if(elements.length == 0 && options.emptyMessage != '') html = '<p class="helpTxt">'+ options.emptyMessage +'</p>'; | (function($) { $.fn.inlineTextEdit = function(options) { // define defaults var defaults = { saveUrl: null, current: {}, extraParams: {}, inputClasses: 'inputText', allowEmpty: false, tooltip: 'click to edit' }; // extend options var options = $.extend(defaults, options); // loop all elements retu... |
element.addClass('inlineEditing'); element.unbind('click').unbind('focus'); | else { html = '<ul>'; for(var i in elements) { html += ' <li><span><strong>'+ elements[i] +'</strong>'+ ' <a href="#" class="deleteButton-'+ id +'" rel="'+ elements[i] +'" title="'+ options.removeLabel +'">'+ options.removeLabel +'</a></span>'+ ' </li>'; } html += '</ul>'; } | (function($) { $.fn.inlineTextEdit = function(options) { // define defaults var defaults = { saveUrl: null, current: {}, extraParams: {}, inputClasses: 'inputText', allowEmpty: false, tooltip: 'click to edit' }; // extend options var options = $.extend(defaults, options); // loop all elements retu... |
element.html('<input type="text" class="'+ options.inputClasses +'" value="'+ options.current.value +'" />'); | $('#elementList-'+ id).html(html); } function get() { var chunks = $('#'+ id).val().split(options.splitChar); var elements = []; | (function($) { $.fn.inlineTextEdit = function(options) { // define defaults var defaults = { saveUrl: null, current: {}, extraParams: {}, inputClasses: 'inputText', allowEmpty: false, tooltip: 'click to edit' }; // extend options var options = $.extend(defaults, options); // loop all elements retu... |
options.current.element = $(element.find('input')[0]); options.current.element.select(); options.current.element.bind('blur', saveElement); options.current.element.keyup(function(evt) { if(evt.which == 27) { options.current.element.val(options.current.value); destroyElement(); } if(evt.which == 13) saveElemen... | for(var i in chunks) { value = chunks[i].replace(/^\s+|\s+$/g,''); if(value != '') elements.push(value) | (function($) { $.fn.inlineTextEdit = function(options) { // define defaults var defaults = { saveUrl: null, current: {}, extraParams: {}, inputClasses: 'inputText', allowEmpty: false, tooltip: 'click to edit' }; // extend options var options = $.extend(defaults, options); // loop all elements retu... |
if(options.current.element.val() != options.current.value) { options.current.extraParams['value'] = options.current.element.val(); | return elements; } | (function($) { $.fn.inlineTextEdit = function(options) { // define defaults var defaults = { saveUrl: null, current: {}, extraParams: {}, inputClasses: 'inputText', allowEmpty: false, tooltip: 'click to edit' }; // extend options var options = $.extend(defaults, options); // loop all elements retu... |
$.ajax({ url: options.saveUrl, data: options.current.extraParams, success: function(data, textStatus) { destroyElement(); }, }); } | function remove(value) { var index = elements.indexOf(value); | (function($) { $.fn.inlineTextEdit = function(options) { // define defaults var defaults = { saveUrl: null, current: {}, extraParams: {}, inputClasses: 'inputText', allowEmpty: false, tooltip: 'click to edit' }; // extend options var options = $.extend(defaults, options); // loop all elements retu... |
else destroyElement() | if(index > -1) elements.splice(index, 1); $('#'+ id).val(elements.join(options.splitChar)); build(); | (function($) { $.fn.inlineTextEdit = function(options) { // define defaults var defaults = { saveUrl: null, current: {}, extraParams: {}, inputClasses: 'inputText', allowEmpty: false, tooltip: 'click to edit' }; // extend options var options = $.extend(defaults, options); // loop all elements retu... |
}; })(jQuery); | (function($) { $.fn.inlineTextEdit = function(options) { // define defaults var defaults = { saveUrl: null, current: {}, extraParams: {}, inputClasses: 'inputText', allowEmpty: false, tooltip: 'click to edit' }; // extend options var options = $.extend(defaults, options); // loop all elements retu... | |
minDate: new Date(data[2].split('-')[0], parseInt(data[2].split('-')[1]) - 1, data[2].split('-')[2]) | minDate: new Date(data[2].split('-')[0], parseInt(data[2].split('-')[1]) - 1, data[2].split('-')[2]), showAnim: 'slideDown' | $('.inputDatefieldFrom').each(function() { var data = $(this).attr('rel').split(':::'); $(this).datepicker({ dateFormat: data[0], dayNames: ['{$locDayLongMon}', '{$locDayLongTue}', '{$locDayLongWed}', '{$locDayLongThu}', '{$locDayLongFri}', '{$locDayLongSat}', '{$locDayLongSat}'], dayNa... |
return DONE(result); | return DONE(); | function (result) {// BigInteger.log( "stepping_millerRabin:No2.5 " ); if( y.compareTo( BigInteger.ONE ) != 0 && y.compareTo( n1 ) != 0 ) {// BigInteger.log( "stepping_millerRabin:No2.5.1 " ); var j = 1; while ( j++ < k && y.compareTo( n1 ) != 0 ) {// BigInteger.log( "stepping_millerRab... |
$('label[for="'+ id +'"]').attr('for', 'addValue-'+ id); | return this.each(function() { // define some vars var id = $(this).attr('id'); var elements = get(); var blockSubmit = false; // bind submit $(this.form).submit(function() { return !blockSubmit; }); // build replace html var html = '<div class="tagsWrapper">'+ ' <div class="oneLiner">'+ ... | |
function (result) { | function () { | function (result) {// BigInteger.log( "stepping_millerRabin:No2.5 " ); if( y.compareTo( BigInteger.ONE ) != 0 && y.compareTo( n1 ) != 0 ) {// BigInteger.log( "stepping_millerRabin:No2.5.1 " ); var j = 1; while ( j++ < k && y.compareTo( n1 ) != 0 ) {// BigInteger.log( "stepping_millerRab... |
result.prime = false; return DONE(); | return DONE(false); | function (result) {// BigInteger.log( "stepping_millerRabin:No2.5 " ); if( y.compareTo( BigInteger.ONE ) != 0 && y.compareTo( n1 ) != 0 ) {// BigInteger.log( "stepping_millerRabin:No2.5.1 " ); var j = 1; while ( j++ < k && y.compareTo( n1 ) != 0 ) {// BigInteger.log( "stepping_millerRab... |
options.withContext(function () { options.setPref("browser.tabs.loadInBackground", true); ["mousedown", "mouseup", "click"].forEach(function (event) { | ["mousedown", "mouseup", "click"].forEach(function (event) { | options.withContext(function () { options.setPref("browser.tabs.loadInBackground", true); ["mousedown", "mouseup", "click"].forEach(function (event) { elem.dispatchEvent(events.create(doc, event, { screenX: offsetX, screenY: offsetY, ctr... |
}); | options.withContext(function () { options.setPref("browser.tabs.loadInBackground", true); ["mousedown", "mouseup", "click"].forEach(function (event) { elem.dispatchEvent(events.create(doc, event, { screenX: offsetX, screenY: offsetY, ctr... | |
return parseFloat(v) >= parseFloat(min) ? true : [min]; | return v >= parseFloat(min) ? true : [min]; | v.fn("[min]", "Please enter a value larger than $1", function(el, v) { // skip dateinputs if ($.tools.dateinput && el.is(":date")) { return true; } var min = el.attr("min"); return parseFloat(v) >= parseFloat(min) ? true : [min]; }); |
input.blur(function(e) { self.setValue($(this).val(), e); | input.blur(function(e) { var val = $(this).val(); if (val !== value) { self.setValue(val, e); } | input.blur(function(e) { self.setValue($(this).val(), e); }); |
input.blur(function(e) { var val = $(this).val(); if (val !== value) { self.setValue(val, e); } }); | input.keydown(function(e) { if (input.attr("readonly")) { return; } var key = e.keyCode, up = $([75, 76, 38, 33, 39]).index(key) != -1, down = $([74, 72, 40, 34, 37]).index(key) != -1; if ((up || down) && !(e.shiftKey || e.altKey || e.ctrlKey)) { if (up) { self.step(key == 33 ? 10 : 1, e); } else if (down) { sel... | input.blur(function(e) { var val = $(this).val(); if (val !== value) { self.setValue(val, e); } }); |
padding_interval = window.setInterval(function () { if (doc_docEl.scrollHeight - (window.pageYOffset + doc_docEl.clientHeight) > pixels_needed + extra_padding) { viewPort.removeChild(padding_el); window.clearInterval(padding_interval); } }, 1000); | window.setTimeout(function () { BF.include("js/secondary.js", {settings: settings, topBar: viewPort.firstChild, viewPort_num: viewPort_num, page: page}); }, 1000); | padding_interval = window.setInterval(function () { if (doc_docEl.scrollHeight - (window.pageYOffset + doc_docEl.clientHeight) > pixels_needed + extra_padding) { viewPort.removeChild(padding_el); ... |
$(document).bind('keydown', '3', function() { DeckViewerUI.rts.eltHard.click(); | $(document).bind('keydown', '1', function() { DeckViewerUI.rts.eltEasy.click(); | $(document).bind('keydown', '3', function() { DeckViewerUI.rts.eltHard.click(); return false; }); |
$.each(labels.months, function(i, m) { if ((!min || min < new Date(year, i + 1, -1)) && (!max || max > new Date(year, i, 0))) { monthSelector.append($("<option/>").text(m).attr("value", i)); } }); | $.each("onBeforePick,onPick".split(","), function(i, name) { if ($.isFunction(conf[name])) { self.bind(name, conf[name]); } self[name] = function(fn) { return self.bind(name, fn); }; }); | $.each(labels.months, function(i, m) { if ((!min || min < new Date(year, i + 1, -1)) && (!max || max > new Date(year, i, 0))) { monthSelector.append($("<option/>").text(m).attr("value", i)); } }); |
0)){p=function(j,n,m,t){n=n||r;if(!t&&n.nodeType===9&&!P(n))try{return K(n.querySelectorAll(j),m)}catch(s){}return c(j,n,m,t)};for(var i in c)p[i]=c[i];f=null}}();(function(){var c=r.createElement("div");c.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!c.getElementsByClassName||c.getElementsByClas... | 2)};d=null})();r.querySelectorAll&&function(){var d=p,g=r.createElement("div");g.innerHTML="<p class='TEST'></p>";if(!(g.querySelectorAll&&g.querySelectorAll(".TEST").length===0)){p=function(j,n,m,t){n=n||r;if(!t&&n.nodeType===9&&!P(n))try{return K(n.querySelectorAll(j),m)}catch(s){}return d(j,n,m,t)};for(var i in d)p[... | 0)){p=function(j,n,m,t){n=n||r;if(!t&&n.nodeType===9&&!P(n))try{return K(n.querySelectorAll(j),m)}catch(s){}return c(j,n,m,t)};for(var i in c)p[i]=c[i];f=null}}();(function(){var c=r.createElement("div");c.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!c.getElementsByClassName||c.getElementsByClas... |
},show:function(l,m,n,o){this.editor.focus();this._.onMenu(l||a.document.getDocumentElement(),m,n||0,o||0);}}});(function(){j.add('div',{requires:['editingblock','domiterator','styles'],init:function(l){var m=l.lang.div;l.addCommand('creatediv',new a.dialogCommand('creatediv'));l.addCommand('editdiv',new a.dialogComman... | if(s.addMenuItems)s.addMenuItem(y,{label:B,command:y,group:'clipboard',order:A});};t('Cut','cut',new n('cut'),1);t('Copy','copy',new n('copy'),4);t('Paste','paste',o,8);a.dialog.add('paste',a.getUrl(this.path+'dialogs/paste.js'));s.on('key',p,s);var u=s.config.forcePasteAsPlainText?'text':'html';s.on('contentDom',funct... | },show:function(l,m,n,o){this.editor.focus();this._.onMenu(l||a.document.getDocumentElement(),m,n||0,o||0);}}});(function(){j.add('div',{requires:['editingblock','domiterator','styles'],init:function(l){var m=l.lang.div;l.addCommand('creatediv',new a.dialogCommand('creatediv'));l.addCommand('editdiv',new a.dialogComman... |
},show:function(l,m,n,o){this.editor.focus();this._.onMenu(l||a.document.getDocumentElement(),m,n||0,o||0);}}});(function(){j.add('div',{requires:['editingblock','domiterator','styles'],init:function(l){var m=l.lang.div;l.addCommand('creatediv',new a.dialogCommand('creatediv'));l.addCommand('editdiv',new a.dialogComman... | if(s.addMenuItems)s.addMenuItem(y,{label:B,command:y,group:'clipboard',order:A});};t('Cut','cut',new n('cut'),1);t('Copy','copy',new n('copy'),4);t('Paste','paste',o,8);a.dialog.add('paste',a.getUrl(this.path+'dialogs/paste.js'));s.on('key',p,s);var u=s.config.forcePasteAsPlainText?'text':'html';s.on('contentDom',funct... | },show:function(l,m,n,o){this.editor.focus();this._.onMenu(l||a.document.getDocumentElement(),m,n||0,o||0);}}});(function(){j.add('div',{requires:['editingblock','domiterator','styles'],init:function(l){var m=l.lang.div;l.addCommand('creatediv',new a.dialogCommand('creatediv'));l.addCommand('editdiv',new a.dialogComman... |
}, | } | function () {// BigInteger.log( "stepping_millerRabin:No2.6" ); ++i; }, |
$(document).bind('keydown', 'up', function() { DeckViewerUI.corBtn.elt.click(); return false; }); | $("input#show_ans_chk").click(function() { DeckViewerUI.showAnswerToggle(); }); | $(document).bind('keydown', 'up', function() { DeckViewerUI.corBtn.elt.click(); return false; }); |
return this.getBool("orderTabsAuto", false); | return this.getString("caseType", TAB_SWITCHER_DEFAULT_CASE_TYPE); | function() { return this.getBool("orderTabsAuto", false);}); |
console.info(el, v); | v.fn("[required]", "Please complete this mandatory field.", function(el, v) { if (el.is(":checkbox")) { return el.is(":checked"); } console.info(el, v); return !!v; }); | |
function (count) { mail.selectMessage(function (msg) true, false, false, false, count); }, | function () { window.goDoCommand("cmd_delete"); }); | function (count) { mail.selectMessage(function (msg) true, false, false, false, count); }, |
weeks.find(css.week).each(function() { var beg = conf.firstDay ? 7 - conf.firstDay : 0; $(this).children().slice(beg, beg + 1).addClass(css.sunday); | a.click(function(e) { if (!$(this).hasClass(css.disabled)) { pick($(this).data("date"), conf, e); } return false; | weeks.find(css.week).each(function() { var beg = conf.firstDay ? 7 - conf.firstDay : 0; $(this).children().slice(beg, beg + 1).addClass(css.sunday); }); |
users.each(function(user) { | onlineReq = new ServerReq('online.php',function(response) { onlineList.removeClass('loading'); onlineList.addClass(room.type); currentRid = loadingRid; loadingRid = -1; onlineList.empty(); var users = response.online; if (users.length > 0 ) { users.each(function(user) { | users.each(function(user) { user.uid = user.uid.toInt(); addUser(user); }); |
} lastId = response.lastid.toInt(); MBchat.updateables.poller.setLastId(lastId); }); | users.each(function(user) { user.uid = user.uid.toInt(); addUser(user); }); | |
$.post($(this).attr("href"), function(data) { | $.get($(this).attr("href"), function(data) { | $.post($(this).attr("href"), function(data) { if(data == 1) { $("td.replyButton a.unsubscribe").fadeOut().hide(); $("td.replyButton a.subscribe").fadeIn(); } }); |
$('li.graph-image .ui-icon-star').live('click', function() { var section = $(this).parent().parent().next(); if ($(section).hasClass('selected')) { $(section).removeClass('selected'); | $('#show-ruler-checkbox').click(function() { if ($(this).attr('checked')) { $('#ruler').fadeIn(); | $('li.graph-image .ui-icon-star').live('click', function() { var section = $(this).parent().parent().next(); if ($(section).hasClass('selected')) { $(section).removeClass('selected'); } else { $(section).addClass('selected'); } }); |
$(section).addClass('selected'); | $('#ruler').fadeOut(); | $('li.graph-image .ui-icon-star').live('click', function() { var section = $(this).parent().parent().next(); if ($(section).hasClass('selected')) { $(section).removeClass('selected'); } else { $(section).addClass('selected'); } }); |
a.click(function(e) { if (!$(this).hasClass(css.disabled)) { pick($(this).data("date"), conf, e); } return false; | weeks.find(css.week).each(function() { var beg = conf.firstDay ? 7 - conf.firstDay : 0; $(this).children().slice(beg, beg + 1).addClass(css.sunday); | a.click(function(e) { if (!$(this).hasClass(css.disabled)) { pick($(this).data("date"), conf, e); } return false; }); |
onlineReq = new ServerReq('online.php',function(response) { onlineList.removeClass('loading'); onlineList.addClass(room.type); currentRid = loadingRid; loadingRid = -1; onlineList.empty(); var users = response.online; if (users.length > 0 ) { users.each(function(user) { | users.each(function(user) { | onlineReq = new ServerReq('online.php',function(response) { onlineList.removeClass('loading'); onlineList.addClass(room.type); currentRid = loadingRid; loadingRid = -1; onlineList.empty(); var users = response.online; if (users.length > 0 ) { users.each(function(user) { user.u... |
} lastId = response.lastid.toInt(); MBchat.updateables.poller.setLastId(lastId); }); | onlineReq = new ServerReq('online.php',function(response) { onlineList.removeClass('loading'); onlineList.addClass(room.type); currentRid = loadingRid; loadingRid = -1; onlineList.empty(); var users = response.online; if (users.length > 0 ) { users.each(function(user) { user.u... | |
if (!$(this).hasClass(css.disabled)) { select($(this).data("date"), conf, e); | var el = $(this); if (!el.hasClass(css.disabled)) { $("#" + css.current).removeAttr("id"); el.attr("id", css.current); select(el.data("date"), conf, e); | a.click(function(e) { if (!$(this).hasClass(css.disabled)) { select($(this).data("date"), conf, e); } return false; }); |
return this.each(function() { $(this).html('<span>'+ $(this).html() +'</span><span style="display: none;" class="inlineEditTooltip">'+ options.tooltip +'</span>'); var element = $($(this).find('span')[0]); element.bind('click focus', createElement); $(this).hover(function() { $(this).addClass('inlineEditHover'); $... | $(this.form).submit(function() { return !blockSubmit; }) | return this.each(function() { // add wrapper and tooltip $(this).html('<span>'+ $(this).html() +'</span><span style="display: none;" class="inlineEditTooltip">'+ options.tooltip +'</span>'); // grab element var element = $($(this).find('span')[0]); // bind events element.bind('click focus', createEl... |
console.info(el, v); | v.fn("[required]", "Please complete this mandatory field.", function(el, v) { if (el.is(":checkbox")) { return el.is(":checked"); } return !!v; }); | |
maxDate: new Date(data[2].split('-')[0], parseInt(data[2].split('-')[1]) -1, data[2].split('-')[2]) | maxDate: new Date(data[2].split('-')[0], parseInt(data[2].split('-')[1]) -1, data[2].split('-')[2]), showAnim: 'slideDown' | $('.inputDatefieldTill').each(function() { var data = $(this).attr('rel').split(':::'); $(this).datepicker({ dateFormat: data[0], dayNames: ['{$locDayLongMon}', '{$locDayLongTue}', '{$locDayLongWed}', '{$locDayLongThu}', '{$locDayLongFri}', '{$locDayLongSat}', '{$locDayLongSat}'], dayNa... |
if (el.is(":checkbox")) { return el.is(":checked"); } | v.fn("[required]", "Please complete this mandatory field.", function(el, v) { return !!v; }); | |
["mousedown", "mouseup", "click"].forEach(function (event) { elem.dispatchEvent(events.create(doc, event, { screenX: offsetX, screenY: offsetY, ctrlKey: ctrlKey, shiftKey: shiftKey, metaKey: ctrlKey })); }); | (function (frame) { if (frame.document.body instanceof HTMLBodyElement) frames.push(frame); Array.forEach(frame.frames, arguments.callee); })(window.content); | ["mousedown", "mouseup", "click"].forEach(function (event) { elem.dispatchEvent(events.create(doc, event, { screenX: offsetX, screenY: offsetY, ctrlKey: ctrlKey, shiftKey: shiftKey, metaKey: ctrlKey })); }); |
document.title = "(testing) " + option_name + " = " + new_value + " | " + context.settings.view.red_letters.get(); | return function (new_value) { document.title = "(testing) " + option_name + " = " + new_value + " | " + context.settings.view.red_letters.get(); ///NOTE: Need to use getters and setters. settings_obj[option_name]... | |
$.expr[':'].range = function(el) { var type = el.getAttribute("type"); return type && type == 'range' || !!$(el).filter("input").data("rangeinput"); }; | input.blur(function(e) { var val = $(this).val(); if (val !== value) { self.setValue(val, e); } }); | $.expr[':'].range = function(el) { var type = el.getAttribute("type"); return type && type == 'range' || !!$(el).filter("input").data("rangeinput"); }; |
$("input#show_ans_chk").click(function() { DeckViewerUI.showAnswerToggle(); }); | $(document).bind('keydown', '2', function() { DeckViewerUI.rts.eltMedium.click(); return false; }); | $("input#show_ans_chk").click(function() { DeckViewerUI.showAnswerToggle(); }); |
},isArray:function(f){return!!f&&f instanceof Array;},isEmpty:function(f){for(var g in f){if(f.hasOwnProperty(g))return false;}return true;},cssStyleToDomStyle:(function(){var f=document.createElement('div').style,g=typeof f.cssFloat!='undefined'?'cssFloat':typeof f.styleFloat!='undefined'?'styleFloat':'float';return f... | g.prototype=f;return new g();},isArray:function(f){return!!f&&f instanceof Array;},isEmpty:function(f){for(var g in f){if(f.hasOwnProperty(g))return false;}return true;},cssStyleToDomStyle:(function(){var f=document.createElement('div').style,g=typeof f.cssFloat!='undefined'?'cssFloat':typeof f.styleFloat!='undefined'?... | },isArray:function(f){return!!f&&f instanceof Array;},isEmpty:function(f){for(var g in f){if(f.hasOwnProperty(g))return false;}return true;},cssStyleToDomStyle:(function(){var f=document.createElement('div').style,g=typeof f.cssFloat!='undefined'?'cssFloat':typeof f.styleFloat!='undefined'?'styleFloat':'float';return f... |
return function (new_value) { settings_obj[option_name].set(new_value); }; | window.setTimeout(function () { wrench_label.style.opacity = 1; }, 20); | return function (new_value) { settings_obj[option_name].set(new_value); }; |
a.click(function(e) { if (!$(this).hasClass(css.disabled)) { pick($(this).data("date"), conf, e); } return false; }); | self[name] = function(fn) { return self.bind(name, fn); }; | a.click(function(e) { if (!$(this).hasClass(css.disabled)) { pick($(this).data("date"), conf, e); } return false; }); |
"undefined"&&!j)return i.getElementsByClassName(f[1])};c=null}}})();var fa=r.compareDocumentPosition?function(c,f){return c.compareDocumentPosition(f)&16}:function(c,f){return c!==f&&(c.contains?c.contains(f):true)},P=function(c){return(c=(c?c.ownerDocument||c:0).documentElement)?c.nodeName!=="HTML":false},ea=function(... | 2)};d=null})();r.querySelectorAll&&function(){var d=p,g=r.createElement("div");g.innerHTML="<p class='TEST'></p>";if(!(g.querySelectorAll&&g.querySelectorAll(".TEST").length===0)){p=function(j,n,m,t){n=n||r;if(!t&&n.nodeType===9&&!P(n))try{return K(n.querySelectorAll(j),m)}catch(s){}return d(j,n,m,t)};for(var i in d)p[... | "undefined"&&!j)return i.getElementsByClassName(f[1])};c=null}}})();var fa=r.compareDocumentPosition?function(c,f){return c.compareDocumentPosition(f)&16}:function(c,f){return c!==f&&(c.contains?c.contains(f):true)},P=function(c){return(c=(c?c.ownerDocument||c:0).documentElement)?c.nodeName!=="HTML":false},ea=function(... |
w.unshift('<a id="',r,C,'" href="javascript:void(\'',D,'\')" tabindex="-1" title="',F,'"'+(b.gecko&&b.version<10900?' onfocus="event.preventBubble();"':'')+' hidefocus="true" '+" onkeydown=\"return CKEDITOR._.elementsPath.keydown('",x.name,"',",C,', event);"'+E," onclick=\"return CKEDITOR._.elementsPath.click('",x.name... | if(s.addMenuItems)s.addMenuItem(y,{label:B,command:y,group:'clipboard',order:A});};t('Cut','cut',new n('cut'),1);t('Copy','copy',new n('copy'),4);t('Paste','paste',o,8);a.dialog.add('paste',a.getUrl(this.path+'dialogs/paste.js'));s.on('key',p,s);var u=s.config.forcePasteAsPlainText?'text':'html';s.on('contentDom',funct... | w.unshift('<a id="',r,C,'" href="javascript:void(\'',D,'\')" tabindex="-1" title="',F,'"'+(b.gecko&&b.version<10900?' onfocus="event.preventBubble();"':'')+' hidefocus="true" '+" onkeydown=\"return CKEDITOR._.elementsPath.keydown('",x.name,"',",C,', event);"'+E," onclick=\"return CKEDITOR._.elementsPath.click('",x.name... |
w.unshift('<a id="',r,C,'" href="javascript:void(\'',D,'\')" tabindex="-1" title="',F,'"'+(b.gecko&&b.version<10900?' onfocus="event.preventBubble();"':'')+' hidefocus="true" '+" onkeydown=\"return CKEDITOR._.elementsPath.keydown('",x.name,"',",C,', event);"'+E," onclick=\"return CKEDITOR._.elementsPath.click('",x.name... | if(s.addMenuItems)s.addMenuItem(y,{label:B,command:y,group:'clipboard',order:A});};t('Cut','cut',new n('cut'),1);t('Copy','copy',new n('copy'),4);t('Paste','paste',o,8);a.dialog.add('paste',a.getUrl(this.path+'dialogs/paste.js'));s.on('key',p,s);var u=s.config.forcePasteAsPlainText?'text':'html';s.on('contentDom',funct... | w.unshift('<a id="',r,C,'" href="javascript:void(\'',D,'\')" tabindex="-1" title="',F,'"'+(b.gecko&&b.version<10900?' onfocus="event.preventBubble();"':'')+' hidefocus="true" '+" onkeydown=\"return CKEDITOR._.elementsPath.keydown('",x.name,"',",C,', event);"'+E," onclick=\"return CKEDITOR._.elementsPath.click('",x.name... |
if(c&&D&&(!E||!B.getChildCount())){u.moveToElementEditStart(E?B:G);u.select();}u.moveToElementEditStart(D&&!E?C:G);}if(!c)if(C){var L=w.createElement('span');L.setHtml(' ');u.insertNode(L);L.scrollIntoView();u.deleteContents();}else G.scrollIntoView();u.select();},enterBr:function(s,t,u,v){u=u||r(s);var w=u.docume... | for(var x=0;x<u.length;x++){if(x%8===0)t.push('</tr><tr>');var y=u[x].split('/'),z=y[0],A=y[1]||z;if(!y[1])z='#'+z.replace(/^(.)(.)(.)$/,'$1$1$2$2$3$3');var B=l.lang.colors[A]||A;t.push('<td><a class="cke_colorbox" _cke_focus=1 hidefocus=true title="',B,'" onclick="CKEDITOR.tools.callFunction(',w,",'",z,"','",s,"'); re... | if(c&&D&&(!E||!B.getChildCount())){u.moveToElementEditStart(E?B:G);u.select();}u.moveToElementEditStart(D&&!E?C:G);}if(!c)if(C){var L=w.createElement('span');L.setHtml(' ');u.insertNode(L);L.scrollIntoView();u.deleteContents();}else G.scrollIntoView();u.select();},enterBr:function(s,t,u,v){u=u||r(s);var w=u.docume... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.