rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
let res = this._functions.some(function (idx) idx >= start && idx < end); | completions.forEach(function (item) { let key = item[0]; if (!isNaN(key)) key = parseInt(key); else if (/^[A-Z_][A-Z0-9_]*$/.test(key)) key = ""; item.key = key; }); | let res = this._functions.some(function (idx) idx >= start && idx < end); |
function array_each(a, f) { | function arrayEach(a, f) { | (function() {try { function array_each(a, f) { for(var i = 0; i < a.length; i++) { f(a[i]); } } function insertNext(h, a) { h.parentNode.insertBefore(a, h.nextSibling); } function xpath(xpath, context) { var result = []; var elements = document.evaluate(xpath, context, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYP... |
f(a[i]); | f(a[i], i); | (function() {try { function array_each(a, f) { for(var i = 0; i < a.length; i++) { f(a[i]); } } function insertNext(h, a) { h.parentNode.insertBefore(a, h.nextSibling); } function xpath(xpath, context) { var result = []; var elements = document.evaluate(xpath, context, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYP... |
function onpuchan_topics(context) { var topics = []; var hr = xpath(". for(var i = 0; i < hr.length; i++) { var item = hr[i].nextSibling, elements = [], flag = false; while(item != hr[i+1] && item != null) { if(item.tagName == "A" && item.firstChild.tagName == "INPUT" && item.firstChild.getAttribute("name") == "delete[... | function onpuchanTopics(context) { var anchors = xpath(". var topics = arrayMap(anchors, function(anchor, index) { var item = anchor, elements = []; while(item && item != anchors[index + 1]) { if(item.tagName && item.tagName.toLowerCase() == "hr") { break; | (function() {try { function array_each(a, f) { for(var i = 0; i < a.length; i++) { f(a[i]); } } function insertNext(h, a) { h.parentNode.insertBefore(a, h.nextSibling); } function xpath(xpath, context) { var result = []; var elements = document.evaluate(xpath, context, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYP... |
if(!flag) { continue } | (function() {try { function array_each(a, f) { for(var i = 0; i < a.length; i++) { f(a[i]); } } function insertNext(h, a) { h.parentNode.insertBefore(a, h.nextSibling); } function xpath(xpath, context) { var result = []; var elements = document.evaluate(xpath, context, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYP... | |
array_each(elements, function(a) { | insertBefore(anchor, tag); arrayEach(elements, function(a) { var i = xpath(". while(i) { if(i.tagName && i.tagName.toLowerCase() == "hr") { break; } var sibling = i.previousSibling; insertNext(tag, i); i = sibling; } | (function() {try { function array_each(a, f) { for(var i = 0; i < a.length; i++) { f(a[i]); } } function insertNext(h, a) { h.parentNode.insertBefore(a, h.nextSibling); } function xpath(xpath, context) { var result = []; var elements = document.evaluate(xpath, context, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYP... |
topics.push([hr[i],tag]); } | return tag; }); | (function() {try { function array_each(a, f) { for(var i = 0; i < a.length; i++) { f(a[i]); } } function insertNext(h, a) { h.parentNode.insertBefore(a, h.nextSibling); } function xpath(xpath, context) { var result = []; var elements = document.evaluate(xpath, context, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYP... |
array_each(onpuchan_topics(document), function(topic) { var placepoint = topic[0]; var tag = topic[1]; var link = xpath(". var abbreviate = xpath(". if(link && abbreviate) { var href = link.getAttribute("href"); | arrayEach(onpuchanTopics(document), function(topic) { var reply = xpath(". var abbreviate = xpath(". if(reply && abbreviate) { var href = reply.getAttribute("href"); | (function() {try { function array_each(a, f) { for(var i = 0; i < a.length; i++) { f(a[i]); } } function insertNext(h, a) { h.parentNode.insertBefore(a, h.nextSibling); } function xpath(xpath, context) { var result = []; var elements = document.evaluate(xpath, context, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYP... |
var f = function() { anchor.removeEventListener("click", f, false); | var onClick = function() { anchor.removeEventListener("click", onClick, false); | (function() {try { function array_each(a, f) { for(var i = 0; i < a.length; i++) { f(a[i]); } } function insertNext(h, a) { h.parentNode.insertBefore(a, h.nextSibling); } function xpath(xpath, context) { var result = []; var elements = document.evaluate(xpath, context, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYP... |
array_each(onpuchan_topics(html), function(t) { tag.parentNode.removeChild(tag); insertNext(placepoint, t[1]); | arrayEach(onpuchanTopics(html), function(t) { insertNext(topic, t); | (function() {try { function array_each(a, f) { for(var i = 0; i < a.length; i++) { f(a[i]); } } function insertNext(h, a) { h.parentNode.insertBefore(a, h.nextSibling); } function xpath(xpath, context) { var result = []; var elements = document.evaluate(xpath, context, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYP... |
anchor.addEventListener("click", f, false); | anchor.addEventListener("click", onClick, false); | (function() {try { function array_each(a, f) { for(var i = 0; i < a.length; i++) { f(a[i]); } } function insertNext(h, a) { h.parentNode.insertBefore(a, h.nextSibling); } function xpath(xpath, context) { var result = []; var elements = document.evaluate(xpath, context, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYP... |
insertNext(placepoint, tag); | (function() {try { function array_each(a, f) { for(var i = 0; i < a.length; i++) { f(a[i]); } } function insertNext(h, a) { h.parentNode.insertBefore(a, h.nextSibling); } function xpath(xpath, context) { var result = []; var elements = document.evaluate(xpath, context, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYP... | |
}).bind('keyup',function (e) { | }).bind('keypress',function (e) { | (function($) { // plugin definition $.fn.tabby = function(options) { //debug(this); // build main options before element iteration var opts = $.extend({}, $.fn.tabby.defaults, options); var pressed = $.fn.tabby.pressed; // iterate and reformat each matched element return this.each(function() { $this = $(thi... |
var anyArgs = [signal].concat(args); for(var i = 0, sub; sub = this._subscribers.__any[i]; ++i) { | var anyArgs = [signal].concat(args), subs = this._subscribers.__any.slice(0); for(var i = 0, sub; sub = subs[i]; ++i) { | exports = Class(function() { this.publish = function(signal) { if(this._subscribers) { var args = Array.prototype.slice.call(arguments, 1); if(this._subscribers.__any) { var anyArgs = [signal].concat(args); for(var i = 0, sub; sub = this._subscribers.__any[i]; ++i) { sub.apply(ctx, args); } } if... |
if(!this._subscribers[signal]) { return; } for(var i = 0, sub; sub = this._subscribers[signal][i]; ++i) { | if(!this._subscribers[signal]) { return; } var subs = this._subscribers[signal].slice(0); for(var i = 0, sub; sub = subs[i]; ++i) { | exports = Class(function() { this.publish = function(signal) { if(this._subscribers) { var args = Array.prototype.slice.call(arguments, 1); if(this._subscribers.__any) { var anyArgs = [signal].concat(args); for(var i = 0, sub; sub = this._subscribers.__any[i]; ++i) { sub.apply(ctx, args); } } if... |
function (field) [field, document.getElementById("dactyl-statusline-field-" + field)])); | options.get("status").values.forEach(function(field) { if (statusfields[field]) text += " " + statusfields[field]; }); | function (field) [field, document.getElementById("dactyl-statusline-field-" + field)])); |
$(me.options.chartDiv).set('html', '<p style="text-align:center;margin:20px;font:10px Verdana, Arial, sans-serif;">' + '<b>No graph available for KML files</b>' + '</p>'); | new Element('p', { 'style' : 'text-align:center;margin:20px;font:10px Verdana, Arial, sans-serif' }).inject($(me.options.chartDiv), 'top'); | function() { if (kml.loadedCorrectly()) { kml.gotoDefaultViewport(me.map); me.map.addOverlay(kml); ... |
var bt_edit_security_group = new DcmgrGUI.Dialog({ target:'.edit_security_group', width:500, height:580, title:'Edit Security Group', path:'/edit_security_group', button:{ "Yes, Update": function() { var name = $('#security_group_name').val(); var description = $('#security_group_description').val(); var rule = $('#se... | c_list.element.bind('dcmgrGUI.contentChange',function(event,params){ var netfilter_group = params.data.netfilter_group; c_pagenate.changeTotal(netfilter_group.owner_total); c_list.setData(netfilter_group.results); c_list.singleCheckList(c_list.detail_template); }); | |
SC.RunLoop.end(); | test("should work", function(){ view.animate('left', 100, { duration: 1 }); equals(transitionFor(view), 'left 1s linear', 'add transition'); equals(100, view.get('layout').left, 'left is 100'); }); | |
? function() { if (context[method]) { return context[method].apply(context, args.concat(SLICE.call(arguments, 0))); } else { throw logger.error('No method:', method, 'for context', context); } | cls.prototype = new proto(parent ? function(context, method, args) { var args = args || []; var target = proto; while(target = target.prototype) { if(target[method]) { return target[method].apply(context, args); | ? function() { if (context[method]) { return context[method].apply(context, args.concat(SLICE.call(arguments, 0))); } else { throw logger.error('No method:', method, 'for context', context); } } |
} throw new Error('method ' + method + ' does not exist'); } : null); | ? function() { if (context[method]) { return context[method].apply(context, args.concat(SLICE.call(arguments, 0))); } else { throw logger.error('No method:', method, 'for context', context); } } | |
c_list.element.bind('dcmgrGUI.beforeUpdate',function(){ $("#list_load_mask").mask("Loading..."); | c_list.element.bind('dcmgrGUI.contentChange',function(event,params){ var instance = params.data.instance; c_pagenate.changeTotal(instance.owner_total); c_list.setData(instance.results); c_list.multiCheckList(c_list.detail_template); | c_list.element.bind('dcmgrGUI.beforeUpdate',function(){ $("#list_load_mask").mask("Loading..."); }); |
b.triggerAction(); | b.triggerActionAfterDelay(); | test("Emulate mouse click to verify if the button activates", function() { b.triggerAction(); equals(b.get('isActive'), YES, "the should be active for 200ms"); }); |
conn.onconnect = bind(this, 'cometSessionOnConnect'); | conn.onconnect = bind(this, 'cometSessionOnConnect', conn); | exports.Connector = Class(net.interfaces.Connector, function() { this.connect = function() { this._state = net.interfaces.STATE.CONNECTING; var conn = new CometSession(); conn.onconnect = bind(this, 'cometSessionOnConnect'); conn.ondisconnect = bind(this, 'onDisconnect'); logger.debug('opening the connection')... |
this.cometSessionOnConnect = function() { | this.cometSessionOnConnect = function(conn) { | exports.Connector = Class(net.interfaces.Connector, function() { this.connect = function() { this._state = net.interfaces.STATE.CONNECTING; var conn = new CometSession(); conn.onconnect = bind(this, 'cometSessionOnConnect'); conn.ondisconnect = bind(this, 'onDisconnect'); logger.debug('opening the connection')... |
}, css: function(key, value) { var len = this.length, i; for (i = 0; i < len; i++) { var buffer = jQuery.Buffer.bufferForElement(this[i]); buffer.css(key, value); } return this; }, styles: function() { if (this.length < 1) return null; return jQuery.Buffer.bufferForElement(this[0]).styles(); }, resetStyles: functio... | (function() {// Create Buffer ConstructorjQuery.buffer = jQuery.bufferedJQuery = function(selector, context) { return new jQuery.bufferedJQuery.prototype.init(selector, context);};// Base it on jqueryvar T = function() { };T.prototype = jQuery.fn;jQuery.bufferedJQuery.prototype = new T();// keep track of whether buffe... | |
console.log(fieldname); | (function($) { /** * Initialization */ $.fn.mediatorMediaLibraryMediaSelect = function(is_multiple) { this.each(function() { $(this).click(function() { // Store the clicked widget id on the facebox. if (!is_multiple) is_multiple = false; $('body').attr('widget_field_id', $(this).attr(... | |
this.Data.ajax_getData('subsReq', _Settings.dataURL, _Settings.dataURL_params(this.Data), getData, function(){}); | $.each(thisRef.Data.or, function() { $('#tablePlus_'+this).parent().trigger('click'); }); | this.Data.ajax_getData('subsReq', _Settings.dataURL, _Settings.dataURL_params(this.Data), getData, function(){}); |
if (e.keyCode == $.ui.keyCode.ESCAPE) { window.close(); } else if (e.keyCode == $.ui.keyCode.ENTER) { | if (e.keyCode == $.ui.keyCode.ENTER) { | $(function() { var hint = $.cookie('openid_identifier') || ''; var ajaxbox = document.getElementsByName('openid_identifier')[0]; if (ajaxbox && hint != 'infocard') { ajaxbox.setValue(hint); } if (document.infoCard && document.infoCard.isSupported()) { $('ul.OpenIdProviders li.infocard')[0].style.display = 'inline-blo... |
$(document).keydown(function(e) { if (e.keyCode == $.ui.keyCode.ESCAPE) { window.close(); } }); | $(function() { var hint = $.cookie('openid_identifier') || ''; var ajaxbox = document.getElementsByName('openid_identifier')[0]; if (ajaxbox && hint != 'infocard') { ajaxbox.setValue(hint); } if (document.infoCard && document.infoCard.isSupported()) { $('ul.OpenIdProviders li.infocard')[0].style.display = 'inline-blo... | |
$('#detail').html(''); return false; | c_list.element.bind('dcmgrGUI.contentChange',function(event,params){ var netfilter_group = params.data.netfilter_group; c_pagenate.changeTotal(netfilter_group.owner_total); c_list.setData(netfilter_group.results); c_list.singleCheckList(c_list.detail_template); var bt_edit_security_group = new DcmgrGUI... | |
expandable: function(options) { options = $.extend({ duration: 'normal', interval: 750, within: 1, by: 2, init: false }, options); return this.filter('textarea').each(function() { var $this = $(this).css({ display: 'block', overflow: 'hidden' }), minHeight = $this.height(), interval, heightDiff = this.offsetHeight - mi... | expandable: function(givenOptions) { var options = $.extend({ duration: 'normal', interval: 750, within: 1, by: 2, init: false }, givenOptions); return this.filter('textarea').each(function() { var $this = $(this).css({ display: 'block', overflow: 'hidden' }), minHeight = $this.height(), heightDiff = this.offsetHeight... | (function($) {$.fn.extend({ expandable: function(options) { options = $.extend({ duration: 'normal', interval: 750, within: 1, by: 2, init: false }, options); return this.filter('textarea').each(function() { var $this = $(this).css({ display: 'block', overflow: 'hidden' }), minHeight = $this.height(), interval, hei... |
function check() { var text = $this.val(), newHeight, height, usedHeight, usedRows, availableRows; $div.html( text.replace(/\n/g, ' <br>').replace(/<(\/?)scrip/g,'<$1scirp') ); height = $this[0].offsetHeight - heightDiff; usedHeight = $div[0].offsetHeight - heightDiff; usedRows = Math.floor(usedHeight / rowSize); ... | function check() { var text = $this.val(), newHeight, height, usedHeight, usedRows, availableRows; $mirror.html( encodeHTML(text).replace(/\n/g, ' <br>') ); height = $this[0].offsetHeight - heightDiff; usedHeight = $mirror[0].offsetHeight - heightDiff; usedRows = Math.floor(usedHeight / rowSize); availableRows... | (function($) {$.fn.extend({ expandable: function(options) { options = $.extend({ duration: 'normal', interval: 750, within: 1, by: 2, init: false }, options); return this.filter('textarea').each(function() { var $this = $(this).css({ display: 'block', overflow: 'hidden' }), minHeight = $this.height(), interval, hei... |
function encodeHTML(text) { var characters = { '<' : '<', '>' : '>', '&' : '&', '"' : '"', '\'': ''', '/' : '/' }; return (text + '').replace(/[<>&"'\/]/g, function(c) { return characters[c]; }); } | (function($) {$.fn.extend({ expandable: function(options) { options = $.extend({ duration: 'normal', interval: 750, within: 1, by: 2, init: false }, options); return this.filter('textarea').each(function() { var $this = $(this).css({ display: 'block', overflow: 'hidden' }), minHeight = $this.height(), interval, hei... | |
$('#navbar-search-form').click(function() { | $('#navbar-search-form-text').click(function() { | $(document).ready(function () { datatable_options = { // bLengthChange: false, // iDisplayLength: 1000, // bSort: false }; // create the datatable $(".datatable").dataTable(); $('#navbar-search-form').click(function() { if ($(this).attr(... |
prevElemnts.each(function(elmnt) { elmnt.removeClassName(strClassName); }); | $$('.subMenuItem').invoke('observe', 'click', function(evt) { evt.preventDefault(); var subMenu = Event.element(evt); $$('.subMenuItem').invoke('removeClassName', 'curModuleLink'); var subMenuHREF = subMenu.addClassName('curModuleLink').readAttribute('href'); setContent('mainContent', subMenuHREF, 'get'); }).invoke('o... | prevElemnts.each(function(elmnt) { elmnt.removeClassName(strClassName); }); |
const jsmodules = {}; | const jsmodules = { dump: function dump_(arg) window.dump("dactyl: " + arg + "\n") }; | (function () { function newContext(proto) { let sandbox = Components.utils.Sandbox(window); // Hack: sandbox.Object = jsmodules.Object; sandbox.Math = jsmodules.Math; sandbox.__proto__ = proto || modules; return sandbox; } const jsmodules = {}; const modules = { ... |
var visTypeResults = Report.bindingTypes.results.bindings.filter(function(el) { return el.visType == visualization.type.value; } ) | var visBindingTypes = Report.bindingTypes.results.bindings.filter(function(el) { return el.visType.value == visualization.type.value; } ) | var visTypeResults = Report.bindingTypes.results.bindings.filter(function(el) { return el.visType == visualization.type.value; } ) |
let win = self._top; | this._resizeTimer = Timer(100, 500, function () { if (self._top && (modes.extended & modes.HINTS)) { let win = self._top; self._removeHints(0, true); self._generate(win); self._showHints(); } }); | |
self._generate(win); | self._generate(self._top); | this._resizeTimer = Timer(100, 500, function () { if (self._top && (modes.extended & modes.HINTS)) { let win = self._top; self._removeHints(0, true); self._generate(win); self._showHints(); } }); |
c_list.element.bind('dcmgrGUI.beforeUpdate',function(){ $("#list_load_mask").mask("Loading..."); | c_list.element.bind('dcmgrGUI.contentChange',function(event,params){ var image = params.data.image; c_pagenate.changeTotal(image.owner_total); c_list.setData(image.results); c_list.singleCheckList(c_list.detail_template); | c_list.element.bind('dcmgrGUI.beforeUpdate',function(){ $("#list_load_mask").mask("Loading..."); }); |
test("renders an input tag with appropriate attributes", function() { | test("renders something that is NOT an input tag with appropriate attributes", function() { | test("renders an input tag with appropriate attributes", function() { equals(view.get('value'), YES, 'precon - value should be YES'); var q = view.$(); equals(q.attr('role'), 'checkbox', 'should have type=checkbox'); equals(q.attr('aria-checked'), 'true', 'should be checked');}); |
"Yes, Update": function() { var name = $('#security_group_name').val(); var description = $('#security_group_description').val(); var rule = $('#security_group_rule').val(); | "Yes, Update": function(event) { var name = $(this).find('#security_group_name').val(); var description = $(this).find('#security_group_description').val(); var rule = $(this).find('#security_group_rule').val(); | c_list.element.bind('dcmgrGUI.contentChange',function(event,params){ var netfilter_group = params.data.netfilter_group; c_pagenate.changeTotal(netfilter_group.owner_total); c_list.setData(netfilter_group.results); c_list.singleCheckList(c_list.detail_template); var bt_edit_security_group = new DcmgrGUI... |
id = setTimeout(arguments.callee); | id = setTimeout(arguments.callee, 0); | var id = setTimeout(function(){ clearTimeout(id); var tab = window.tab; log(tab); if(tab){ if(background.TBRL.Service.isEnableSite(tab.url)){ setTimeout(function(){ d.callback(tab); }, 0); } else { window.close(); } } else { ... |
}); | }, 0); | var id = setTimeout(function(){ clearTimeout(id); var tab = window.tab; log(tab); if(tab){ if(background.TBRL.Service.isEnableSite(tab.url)){ setTimeout(function(){ d.callback(tab); }, 0); } else { window.close(); } } else { ... |
let sandbox = Components.utils.Sandbox(window); | let sandbox = Components.utils.Sandbox(window, { sandboxPrototype: proto || modules, wantXrays: false }); | (function () { function newContext(proto) { let sandbox = Components.utils.Sandbox(window); // Hack: sandbox.Object = jsmodules.Object; sandbox.Math = jsmodules.Math; sandbox.__proto__ = proto || modules; return sandbox; } const jsmodules = {}; const modules = { ... |
get content() window.content, | get content() this.config.browser.contentWindow || window.content, | (function () { function newContext(proto) { let sandbox = Components.utils.Sandbox(window, { sandboxPrototype: proto || modules, wantXrays: false }); // Hack: sandbox.Object = jsmodules.Object; sandbox.Math = jsmodules.Math; sandbox.__proto__ = proto || modules; return sandb... |
this.forEach(function(child,id){ if(child.normalize) child.normalize(); }); | children: "0 1 2 3 4".w().map(function(x) { return TestObject.create({ title: "A.%@".fmt(x), outline: 1 }); }) | this.forEach(function(child,id){ if(child.normalize) child.normalize(); }); |
c_list.element.bind('dcmgrGUI.beforeUpdate',function(){ $("#list_load_mask").mask("Loading..."); }); | $.each(delete_volumes,function(){ ids.push($(this).text()) }) | c_list.element.bind('dcmgrGUI.beforeUpdate',function(){ $("#list_load_mask").mask("Loading..."); }); |
c_list.setData(params.data); | var image = params.data.image; c_pagenate.changeTotal(image.owner_total); c_list.setData(image.results); | c_list.element.bind('dcmgrGUI.contentChange',function(event,params){ c_list.setData(params.data); c_list.multiCheckList(c_list.detail_template); }); |
equals(items[0][0], "Item1", 'Computed properties should match'); equals(items[0][1], "Item1", 'Computed properties should match'); equals(items[0][2], true, 'Computed properties should match'); equals(items[0][3], iconURL, 'Computed properties should match'); equals(items[0][4], null, 'Computed properties should match... | equals(items[0].title, "Item1", 'Computed properties should match'); equals(items[0].value, "Item1", 'Computed properties should match'); equals(items[0].isEnabled, true, 'Computed properties should match'); equals(items[0].icon, iconURL, 'Computed properties should match'); equals(items[0].width, null, 'Computed prope... | test("Check that properties are mapped correctly", function() { view.triggerItemAtIndex(1); SC.RunLoop.begin(); view.set('isEnabled', YES); SC.RunLoop.end(); equals(view.get('value'), "Item2", "the second item should be selected."); var items=view.displayItems(); equals(items[0][0], "Item1", 'Compu... |
window.document.addEventListener("load", function () { if (window.messageWasEditedExternally === undefined) { window.messageWasEditedExternally = false; GetCurrentEditor().addDocumentStateListener(stateListener); } }, true); | window.addEventListener("load", function () { if (window.messageWasEditedExternally === undefined) { window.messageWasEditedExternally = false; GetCurrentEditor().addDocumentStateListener(stateListener); } }, true); | window.document.addEventListener("load", function () { if (window.messageWasEditedExternally === undefined) { window.messageWasEditedExternally = false; GetCurrentEditor().addDocumentStateListener(stateListener); } }, true); |
$("#fixture_container").empty(); | (function() {// save the ajax method in case a test messes with itScrew.ajax = jQuery.ajax;$.extend(Screw.Specifications, { use_fixture: function(fixture_name) { Screw.Specifications.before(function() { $("#fixture_container").html(window.fixture_container[fixture_name]); }); }});window.require = function(... | |
layers.push(scriptName = scriptName.substring(prefix.length, scriptName.length - 3)); if(scriptName.indexOf('/') > -1){ prefixes[scriptName.substring(scriptName, scriptName.indexOf('/'))] = true; } | addLayer(scriptName = scriptName.substring(prefix.length, scriptName.length - 3).replace(/\ | html.replace(/<script [^>]*src=["']([^'"]+)["']/gi, function(t, scriptName){ // for each script tag if(scriptName.indexOf("dojo/dojo.js") > -1){ // use dojo.js to determine the prefix for our namespaces prefix = scriptName.substring(0, scriptName.indexOf("dojo/dojo.js")); }else{ // non-dojo.js script f... |
($$(".fake_form")).invoke("remove"); var time = new Date(); var fakeForm = new Element("form", {"class": "fake_form", "style": "display:none", "method": "post", "action": URL + "/DisplayRegisters?board=ddu"}); ruis.each(function(rui) { fakeForm.insert(new Element("input", {"name": "rui", "value": rui})); }); registers.... | var params = new Hash(); params.set("board", "ddu"); params.set("rui", ruis); params.set("reg", registers); var url = URL + "/DisplayRegisters?" + params.toQueryString(); document.location.href = url; | Event.observe(window, "load", function(event) { var statusReloadElement = new ReloadElement(); statusReloadElement.id = "FED_Commander_Select"; statusReloadElement.reloadFunction = getStatus; statusReloadElement.callbackSuccess = updateStatus; statusReloadElement.callbackError = reportErrorAndStop; statusReloadElement.... |
var fakeForm = new Element("form", {"class": "fake_form", "style": "display:none", "method": "post", "action": URL + "/DisplayRegisters?board=dcc", "target": "commanderDisplay" + time.valueOf()}); | var fakeForm = new Element("form", {"class": "fake_form", "style": "display:none", "method": "get", "action": URL + "/DisplayRegisters?board=dcc", "target": "commanderDisplay" + time.valueOf()}); | Event.observe(window, "load", function(event) { var statusReloadElement = new ReloadElement(); statusReloadElement.id = "FED_Commander_Select"; statusReloadElement.reloadFunction = getStatus; statusReloadElement.callbackSuccess = updateStatus; statusReloadElement.callbackError = reportErrorAndStop; statusReloadElement.... |
warnings.push(buildHtml(child.format)); | var warning = buildHtml(child.format); | (function() { // Begin closure/** * Create an array representing a list of headers from an object representing * those headers. * @param {object} headers_object An object mapping header names to values. * @return {array} An array of [name,value] pairs. */function translateHeaders(headers_object) { var headersList = [... |
warnings.push(formatChildren(child.children, true)); | warning += ' ' + formatChildren(child.children, true); | (function() { // Begin closure/** * Create an array representing a list of headers from an object representing * those headers. * @param {object} headers_object An object mapping header names to values. * @return {array} An array of [name,value] pairs. */function translateHeaders(headers_object) { var headersList = [... |
warnings.push(warning); | (function() { // Begin closure/** * Create an array representing a list of headers from an object representing * those headers. * @param {object} headers_object An object mapping header names to values. * @return {array} An array of [name,value] pairs. */function translateHeaders(headers_object) { var headersList = [... | |
AddonManager.getAddonByID(addon.id, function (a) { addon = a }); | AddonManager.getAddonByID(addon.id, function (a) { addon = a; }); | AddonManager.getAddonByID(addon.id, function (a) { addon = a }); |
$(document).keydown(function(e) { if (e.keyCode == $.ui.keyCode.ESCAPE) { window.close(); } else if (e.keyCode == $.ui.keyCode.ENTER) { e.preventDefault(); } }); | $(function() { var hint = $.cookie('openid_identifier') || ''; var ajaxbox = document.getElementsByName('openid_identifier')[0]; if (ajaxbox && hint != 'infocard') { ajaxbox.setValue(hint); } if (document.infoCard && document.infoCard.isSupported()) { $('ul.OpenIdProviders li.infocard')[0].style.display = 'inline-blo... | |
if (!el.hasClassName("broadcast")) el.disabled = false; | if (!el.hasClassName("broadcast")) el.enable(); | Event.observe(window, "load", function(event) { // Hide targets $$(".hidden").invoke("hide"); // When the broadcast checkbox is checked, disable non-broadcast checkboxes of the same chip type $$("input.broadcast").each(function(e) { e.observe("change", function(ev) { if (ev.element().checked) { $$("input[chip=\"... |
e.observe("click", function(event) { $$(".upload").each(function(el) { el.disabled = true; | var chip = e.readAttribute("chip"); e.observe("click", function(ev) { uploading = true; $$(".form_hidden").invoke("remove"); var form = $(chip + "_form"); var crateEle = new Element("input", {"class": "form_hidden", name: "crate", value: crateNumber, type: "hidden"}); form.insert(crateEle); var boardEle = new Elemen... | Event.observe(window, "load", function(event) { // Hide targets $$(".hidden").invoke("hide"); // When the broadcast checkbox is checked, disable non-broadcast checkboxes of the same chip type $$("input.broadcast").each(function(e) { e.observe("change", function(ev) { if (ev.element().checked) { $$("input[chip=\"... |
var chip = e.readAttribute("chip"); $$("form[chip=\"" + chip + "\"").each(function(el) { el["crate"] = crateNumber; el["chip"] = chip; el["slot"] = new Array(); $$("input[chip=\"" + chip + "\"").each(function(ele) { el["slot"].push(ele.readAttribute("slot")); }); el.submit; }); }); | Event.observe(window, "load", function(event) { // Hide targets $$(".hidden").invoke("hide"); // When the broadcast checkbox is checked, disable non-broadcast checkboxes of the same chip type $$("input.broadcast").each(function(e) { e.observe("change", function(ev) { if (ev.element().checked) { $$("input[chip=\"... | |
var id = setTimeout(function(){ clearTimeout(id); var tab = window.tab; log(tab); if(tab){ if(background.TBRL.Service.isEnableSite(tab.url)){ setTimeout(function(){ d.callback(tab); }, 0); } else { window.close(); } } else { id = setTimeout(arguments.callee, 0); } }, 0); | setTimeout(function(){ d.callback(tab); }, 0); | var id = setTimeout(function(){ clearTimeout(id); var tab = window.tab; log(tab); if(tab){ if(background.TBRL.Service.isEnableSite(tab.url)){ setTimeout(function(){ d.callback(tab); }, 0); } else { window.close(); } } else { ... |
var constructor = this._opts.constructor || window.WebSocket; | var constructor = this._opts.wsConstructor || window.WebSocket; logger.info('this._opts', this._opts); | exports.Connector = Class(net.interfaces.Connector, function() { this.connect = function() { var url = this._opts.url; var constructor = this._opts.constructor || window.WebSocket; var ws = new constructor(url); ws.onopen = bind(this, function() { this.onConnect(new Transport(ws)); }); ws.onclose = bind(this,... |
var text = axsFinance.str.GOOGLE_FINANCE_HOME + ' ' + axsFinance.axsNavObj.currentList().title; axsFinance.axsJAXObj.speakText(text); | axsFinance.axsJAXObj.speakText(axsFinance.str.GOOGLE_FINANCE_HOME); | window.setTimeout(function() { var text = axsFinance.str.GOOGLE_FINANCE_HOME + ' ' + axsFinance.axsNavObj.currentList().title; axsFinance.axsJAXObj.speakText(text); }, |
uploading = true; | Event.observe(window, "load", function(event) { // Hide targets $$(".hidden").invoke("hide"); // When the broadcast checkbox is checked, disable non-broadcast checkboxes of the same chip type $$("input.broadcast").each(function(e) { e.checked = false; e.observe("change", function(ev) { if (ev.element().checked) { ... | |
if ($("reset")) { var button = new Button("reset"); ($("reset")).observe("click", function(event) { event.element().update("Resetting").disabled = true; var url = URL + "/DDUReset"; var params = new Hash(); params.set("crate", crateNumber); new Ajax.Request(url, { method: "get", parameters: params, onSuccess: butto... | Event.observe(window, "load", function(event) { // Hide targets $$(".hidden").invoke("hide"); // When the broadcast checkbox is checked, disable non-broadcast checkboxes of the same chip type $$("input.broadcast").each(function(e) { e.checked = false; e.observe("change", function(ev) { if (ev.element().checked) { ... | |
$.getJSON(this.DATA_DIR + prefix + this.JSON, null, function (data) { this._dict = data; this._dict.prefix = prefix; | this._loadConfig(schemaName, function (config) { schema = new Schema (schemaName, config); me._loadDict(schema, _sync ? callback : null); if (!_sync) { callback(schema); } | $.getJSON(this.DATA_DIR + prefix + this.JSON, null, function (data) { this._dict = data; this._dict.prefix = prefix; }); |
function (resp) { if (resp && resp.match(/^y(es)?$/i)) editor.editFieldExternally(true); }); | dactyl.registerObserver("modeChange", function (oldMode, newMode, stack) { switch (oldMode[0]) { case modes.TEXTAREA: case modes.INSERT: editor.unselectText(); break; case modes.VISUAL: if (newMode[0] == modes.CARET) { try { let selection = window.content.getSelection(); selection.collapseToStart(); } catch (e) {} } e... | function (resp) { if (resp && resp.match(/^y(es)?$/i)) editor.editFieldExternally(true); }); |
* @param {Object} beacon * @param {String} id of the menu item to update * @param {String} message to use for the menu item | * @param {Object} beacon The beacon to send. * @param {String} menuItemId Id of the menu item to update. * @param {String} message Message to use for the menu item. | (function() { // Begin closurePAGESPEED.ResultsWriter = {};/** * Write the results of the current page to a file. * @param {string} filePath File path to write to. * @param {Object} resultsContainer Results to write. */PAGESPEED.ResultsWriter.writeToFile = function(filePath, resultsContainer) { var outStream = null; ... |
Floatbox.prototype.start=function(g){var k=fb.lastChild;if(!(g=fb$(g))){return}k.clearTimeout("start");var j=false;fb.preload("",false);if(!g.setAttribute){j=g;if(j.html&&!j.href){j.href="#"}if(!j.tagged){return k.start(k.tagOneAnchor(j,true))}}else{g.blur();var e=k.anchors.length;while(e--){if(k.anchors[e].anchor===g)... | Floatbox.prototype.start=function(g){var k=fb.lastChild;if(!(g=fb$(g))){return}k.clearTimeout("start");var j=false;fb.preload("",false);if(!g.setAttribute){j=g;if(j.html&&!j.href){j.href="#"}if(!j.tagged){return k.start(k.tagOneAnchor(j,true))}}else{g.blur();var e=k.anchors.length;while(e--){if(k.anchors[e].anchor===g)... | Floatbox.prototype.start=function(g){var k=fb.lastChild;if(!(g=fb$(g))){return}k.clearTimeout("start");var j=false;fb.preload("",false);if(!g.setAttribute){j=g;if(j.html&&!j.href){j.href="#"}if(!j.tagged){return k.start(k.tagOneAnchor(j,true))}}else{g.blur();var e=k.anchors.length;while(e--){if(k.anchors[e].anchor===g)... |
var fp = PAGESPEED.Utils.CCIN( '@mozilla.org/filepicker;1', 'nsIFilePicker'); fp.init(window, 'Select location of JSON encoded output:', Components.interfaces.nsIFilePicker.modeSave); var result = fp.show(); if (result != Components.interfaces.nsIFilePicker.returnOK && result != Components.interfaces.nsIFilePicker.re... | var fileToSave = PAGESPEED.Utils.openSaveAsDialogBox( 'Select location of JSON encoded output:', 'pagespeed_results.json'); if (!fileToSave) { | (function() { // Begin closurePAGESPEED.ResultsWriter = {};/** * Write the results of the current page to a file. * @param {string} filePath File path to write to. * @param {Object} resultsContainer Results to write. */PAGESPEED.ResultsWriter.writeToFile = function(filePath, resultsContainer) { var outStream = null; ... |
PAGESPEED.ResultsWriter.writeToFile(fp.file.path, resultsContainer); | PAGESPEED.ResultsWriter.writeToFile(fileToSave.path, resultsContainer); | (function() { // Begin closurePAGESPEED.ResultsWriter = {};/** * Write the results of the current page to a file. * @param {string} filePath File path to write to. * @param {Object} resultsContainer Results to write. */PAGESPEED.ResultsWriter.writeToFile = function(filePath, resultsContainer) { var outStream = null; ... |
n=DOM.add(tr,'td');n=DOM.add(n,'img',{src:op_get_relative_uri_root()+"/images/emoji/"+s.carrier+"/"+s.carrier+i+".gif",alt:"["+s.carrier+":"+i+"]"});Event.add(n,'mousedown',function(e){if(Prototype.Browser.IE){tinyMCE.execCommand("mceInsertContent",false,e.srcElement.getAttribute("alt"));}else{tinyMCE.execCommand("mceI... | n=DOM.add(tr,'td');n=DOM.add(n,'img',{src:op_get_relative_uri_root()+"/images/emoji/"+s.carrier+"/"+s.carrier+i+".gif",alt:"["+s.carrier+":"+i+"]",width:12,height:12});Event.add(n,'mousedown',function(e){if(Prototype.Browser.IE){tinyMCE.execCommand("mceInsertContent",false,e.srcElement.getAttribute("alt"));}else{tinyMC... | (function(){tinymce.create('tinymce.ui.OpenPNEColorButton:tinymce.ui.ColorSplitButton',{renderHTML:function(){var s=this.settings,h='<a id="'+this.id+'" href="javascript:;" class="mceButton mceButtonEnabled '+s['class']+'" onmousedown="return false;" onclick="return false;" title="'+tinymce.DOM.encode(s.title)+'">';if(... |
function(evt) { var tab = $('<span>').attr('id', 'settingstabpluginvacation') .addClass('tablink'); var button = $('<a>') .attr( 'href', rcmail.env.comm_path + '&_action=plugin.vacation') .html(rcmail.gettext('vacation', 'vacation')) .appendTo(tab); button.bind('click', function(e) { return rcmail.command('plugin.vaca... | rcmail.addEventListener('init', function(evt) { var tab = $('<span>').attr('id', 'settingstabpluginvacation').addClass( 'tablink'); var button = $('<a>').attr('href', rcmail.env.comm_path + '&_action=plugin.vacation').html( rcmail.gettext('vacation', 'vacation')).appendTo(tab); button.bind('click', function(e) { return... | function(evt) { var tab = $('<span>').attr('id', 'settingstabpluginvacation') .addClass('tablink'); var button = $('<a>') .attr( 'href', rcmail.env.comm_path + '&_action=plugin.vacation') .html(rcmail.gettext('vacation', 'vacation')) .appendTo(tab); ... |
$.each(AjaxHooks.updatedDomIds, function() { selector += '#' + this + ','; | $.each(AjaxHooks.postAjaxCallbacks, function() { this(updatedDomElements); | $.each(AjaxHooks.updatedDomIds, function() { selector += '#' + this + ','; }); |
var f1_keycode = 112; if(jQuery.browser.safari) { f1_keycode = 63236; } | $(document).keypress(function(e){ var f1_keycode = 112; if(jQuery.browser.safari) { f1_keycode = 63236; } if(e.keyCode==27 && Speeqe.helpDialogStatus==1) { Speeqe.closeHelpDialog(); } if(e.keyCode == f1_keycode) { Speeqe.loadHelpDialog(); return false; } }); | |
if(e.keyCode == f1_keycode) { Speeqe.loadHelpDialog(); return false; } | $(document).keypress(function(e){ var f1_keycode = 112; if(jQuery.browser.safari) { f1_keycode = 63236; } if(e.keyCode==27 && Speeqe.helpDialogStatus==1) { Speeqe.closeHelpDialog(); } if(e.keyCode == f1_keycode) { Speeqe.loadHelpDialog(); return false; } }); | |
var data = 'name=' + name +'&description=' + description | var data ='description=' + description | c_list.element.bind('dcmgrGUI.contentChange',function(event,params){ var netfilter_group = params.data.netfilter_group; c_pagenate.changeTotal(netfilter_group.owner_total); c_list.setData(netfilter_group.results); c_list.singleCheckList(c_list.detail_template); var bt_edit_security_group = new DcmgrGUI... |
subs[i].splice(i--, 1); | subs.splice(i--, 1); | exports = Class(function() { this.publish = function(signal) { if(this._subscribers) { var args = Array.prototype.slice.call(arguments, 1); if(this._subscribers.__any) { var anyArgs = [signal].concat(args); for(var i = 0, sub; sub = this._subscribers.__any[i]; ++i) { sub.apply(ctx, args); } } if... |
$$("form[chip=\"" + e.readAttribute("chip") + "\"").invoke("submit"); | $$("form[chip=\"" + chip + "\"").each(function(el) { el["crate"] = crateNumber; el["chip"] = chip; el["slot"] = new Array(); $$("input[chip=\"" + chip + "\"").each(function(ele) { el["slot"].push(ele.readAttribute("slot")); }); el.submit; }); | Event.observe(window, "load", function(event) { // Hide targets $$(".hidden").invoke("hide"); // When the broadcast checkbox is checked, disable non-broadcast checkboxes of the same chip type $$("input.broadcast").each(function(e) { e.observe("change", function(ev) { if (ev.element().checked) { $$("input[chip=\"... |
YUI().use( 'node', function(Y) { Y.on( 'domready', function() { updateSubdivisions( Y.Node.get( '#country' ) ); if ( Y.Node.get( '#shipping-checkbox' ) ) { updateSubdivisions( Y.Node.get( '#s_country' ) ); Y.on( 'change', function( e ) { if ( Y.Node.get( '#shipping-checkbox' ).get( 'checked' ) ) { updateShipping(); } u... | YUI().use( 'node', function(Y) { Y.on( 'domready', function() { if ( Y.Node.get( '#country' ) ) { updateSubdivisions( Y.Node.get( '#country' ) ); } if ( Y.Node.get( '#shipping-checkbox' ) ) { if ( Y.Node.get( '#s_country' ) ) { updateSubdivisions( Y.Node.get( '#s_country' ) ); } Y.on( 'change', function( e ) { if ( Y.N... | YUI().use( 'node', function(Y) { Y.on( 'domready', function() { updateSubdivisions( Y.Node.get( '#country' ) ); if ( Y.Node.get( '#shipping-checkbox' ) ) { updateSubdivisions( Y.Node.get( '#s_country' ) ); Y.on( 'change', function( e ) { if ( Y.Node.get( '#shipping-checkbox' ).get( 'checked' ) ) { updat... |
var popupWidth = 355; | var popupWidth = 365; | $(function() { var loginContent = '/Auth/LogOnPopup'; var popupWindowName = 'openidlogin'; var popupWidth = 355; var popupHeight = 205; // use 205 for 1 row of OP buttons, or 273 for 2 rows var iframe; { var div = window.document.createElement('div'); div.style.padding = 0; div.id = 'loginDialog'; iframe = window.d... |
return jQuery.fn.init.call(this, selector, context); | jQuery._isBuffering++; var ret = jQuery.fn.init.call(this, selector, context); jQuery._isBuffering--; return ret; | (function() {// Create Buffer ConstructorjQuery.buffer = jQuery.bufferedJQuery = function(selector, context) { return new jQuery.bufferedJQuery.prototype.init(selector, context);};// Base it on jqueryvar T = function() { };T.prototype = jQuery.fn;jQuery.bufferedJQuery.prototype = new T();// relay init properlyjQuery.b... |
jQuery.fn._jqb_originalFind = jQuery.fn.find; jQuery.fn.find = function(selector) { if (jQuery._isBuffering <= 0) return jQuery.fn._jqb_originalFind.call(this, selector); var ret = jQuery.buffer(), length = 0; for ( var i = 0, l = this.length; i < l; i++ ) { length = ret.length; jQuery.find( selector, this[i], ret )... | (function() {// Create Buffer ConstructorjQuery.buffer = jQuery.bufferedJQuery = function(selector, context) { return new jQuery.bufferedJQuery.prototype.init(selector, context);};// Base it on jqueryvar T = function() { };T.prototype = jQuery.fn;jQuery.bufferedJQuery.prototype = new T();// relay init properlyjQuery.b... | |
if (event == "add") autocommands.trigger("BookmarkAdd", arg); | if (["add", "change", "remove"].indexOf(event) >= 0) autocommands.trigger("Bookmark" + event[0].toUpperCase() + event.substr(1), arg); | storage.addObserver("bookmark-cache", function (key, event, arg) { if (event == "add") autocommands.trigger("BookmarkAdd", arg); statusline.updateUrl(); }, window); |
$('#detail').find('#config_'+id).html(initialize_config); | $('#security_group_config').html(initialize_config); | DcmgrGUI.Detail.prototype.register_event('dcmgrGUI.configUpdate',function(event,id){ var initialize_config = "" + "# Format\n" + "# Connection Method,Protocol,From Port,To Port,Source(IP or group)\n" + "#\n" + "# Exmaple:\n" + "# ssh,tcp,22,22,0.0.0.0/0\n"; var data = $('#detail').find('#config_'... |
controlSize: SC.CALCULATED_CONTROL_SIZE | (function() {var pane = SC.ControlTestPane.design({height:24}) .add("basic", SC.ButtonView, { controlSize: SC.CALCULATED_CONTROL_SIZE }) .add("title", SC.ButtonView, { title: "Hello World", controlSize: SC.CALCULATED_CONTROL_SIZE }) .add("icon", SC.ButtonView, { icon: iconURL, controlSize: ... | |
title: "Hello World", controlSize: SC.CALCULATED_CONTROL_SIZE | title: "Hello World" | (function() {var pane = SC.ControlTestPane.design({height:24}) .add("basic", SC.ButtonView, { controlSize: SC.CALCULATED_CONTROL_SIZE }) .add("title", SC.ButtonView, { title: "Hello World", controlSize: SC.CALCULATED_CONTROL_SIZE }) .add("icon", SC.ButtonView, { icon: iconURL, controlSize: ... |
icon: iconURL, controlSize: SC.CALCULATED_CONTROL_SIZE | icon: iconURL | (function() {var pane = SC.ControlTestPane.design({height:24}) .add("basic", SC.ButtonView, { controlSize: SC.CALCULATED_CONTROL_SIZE }) .add("title", SC.ButtonView, { title: "Hello World", controlSize: SC.CALCULATED_CONTROL_SIZE }) .add("icon", SC.ButtonView, { icon: iconURL, controlSize: ... |
title: "Hello World", icon: iconURL, controlSize: SC.CALCULATED_CONTROL_SIZE | title: "Hello World", icon: iconURL | (function() {var pane = SC.ControlTestPane.design({height:24}) .add("basic", SC.ButtonView, { controlSize: SC.CALCULATED_CONTROL_SIZE }) .add("title", SC.ButtonView, { title: "Hello World", controlSize: SC.CALCULATED_CONTROL_SIZE }) .add("icon", SC.ButtonView, { icon: iconURL, controlSize: ... |
title: "Hello World", icon: iconURL , isEnabled: NO, controlSize: SC.CALCULATED_CONTROL_SIZE | title: "Hello World", icon: iconURL , isEnabled: NO | (function() {var pane = SC.ControlTestPane.design({height:24}) .add("basic", SC.ButtonView, { controlSize: SC.CALCULATED_CONTROL_SIZE }) .add("title", SC.ButtonView, { title: "Hello World", controlSize: SC.CALCULATED_CONTROL_SIZE }) .add("icon", SC.ButtonView, { icon: iconURL, controlSize: ... |
title: "Hello World", icon: iconURL , isDefault: YES, controlSize: SC.CALCULATED_CONTROL_SIZE | title: "Hello World", icon: iconURL , isDefault: YES | (function() {var pane = SC.ControlTestPane.design({height:24}) .add("basic", SC.ButtonView, { controlSize: SC.CALCULATED_CONTROL_SIZE }) .add("title", SC.ButtonView, { title: "Hello World", controlSize: SC.CALCULATED_CONTROL_SIZE }) .add("icon", SC.ButtonView, { icon: iconURL, controlSize: ... |
title: "Hello World", icon: iconURL , isSelected: YES, controlSize: SC.CALCULATED_CONTROL_SIZE | title: "Hello World", icon: iconURL , isSelected: YES | (function() {var pane = SC.ControlTestPane.design({height:24}) .add("basic", SC.ButtonView, { controlSize: SC.CALCULATED_CONTROL_SIZE }) .add("title", SC.ButtonView, { title: "Hello World", controlSize: SC.CALCULATED_CONTROL_SIZE }) .add("icon", SC.ButtonView, { icon: iconURL, controlSize: ... |
title: "Hello World", toolTip: 'Hello World is my tool tip', controlSize: SC.CALCULATED_CONTROL_SIZE | title: "Hello World", toolTip: 'Hello World is my tool tip' | (function() {var pane = SC.ControlTestPane.design({height:24}) .add("basic", SC.ButtonView, { controlSize: SC.CALCULATED_CONTROL_SIZE }) .add("title", SC.ButtonView, { title: "Hello World", controlSize: SC.CALCULATED_CONTROL_SIZE }) .add("icon", SC.ButtonView, { icon: iconURL, controlSize: ... |
controlSize: SC.AUTO_CONTROL_SIZE, | (function() {var pane = SC.ControlTestPane.design({height:24}) .add("basic", SC.ButtonView, { controlSize: SC.CALCULATED_CONTROL_SIZE }) .add("title", SC.ButtonView, { title: "Hello World", controlSize: SC.CALCULATED_CONTROL_SIZE }) .add("icon", SC.ButtonView, { icon: iconURL, controlSize: ... | |
console.log(fieldname); | (function($) { /** * Initialization */ $.fn.mediatorMediaLibraryMediaSelect = function(is_multiple) { this.each(function() { $(this).click(function() { // Store the clicked widget id on the facebox. if (!is_multiple) is_multiple = false; $('body').attr('widget_field_id', $(this).attr(... | |
var text = original+'<em>@<a href="'+jQuery(this).parent().children('a').get(0)+'">'+jQuery(this).parent().parent().parent().children('.threadauthor').children('p').children('strong').children('a').text()+'</a></em>\n\n'; | var text = original+'<em>@<a href="'+jQuery(this).parent().children('a').get(0)+'">'+jQuery(this).parent().parent().parent().children('.threadauthor').children('p').children('strong').text()+'</a></em>\n\n'; | jQuery(document).ready(function() { jQuery(".reply_link").click(function () { var original = jQuery("#post_content").val(); if( original != ''){ original = original + '\n\n'; } var text = original+'<em>@<a href="'+jQuery(this).parent().children('a').get(0)+'">'+jQuery(this).par... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.