rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
if (e !== "Error opening input stream (invalid filename?)") { dump("dactyl: Trying: " + (base + script + ".js") + ": " + e + "\n" + e.stack);
if (typeof e !== "string") { dump("dactyl: Trying: " + (base + script + ".js") + ": " + e + "\n" + e.stack + "\n");
(function () { const modules = {}; const BASE = "chrome://dactyl/content/"; modules.modules = modules; const loader = Components.classes["@mozilla.org/moz/jssubscript-loader;1"] .getService(Components.interfaces.mozIJSSubScriptLoader); modules.load = function load(script) { ...
if (item.alt) { stringParts.push(' or ', '<a href="', item.value, '" onclick="document.saveLink(this);return false;"', '" type="application/octet-stream"', '> Save as</a>'); }
(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 = [...
jQuery(this).prependTo('#comment-' + thisId + ' .submitted-on');
jQuery(this).prependTo('#comment-' + thisId + ' .column-comment div:first-child');
jQuery(document).ready(function () { jQuery('.akismet-status').each(function () { var thisId = jQuery(this).attr('commentid'); jQuery(this).prependTo('#comment-' + thisId + ' .submitted-on'); }); jQuery('.akismet-user-comment-count').each(function () { var thisId = jQuery(this).attr('commentid'); jQuery(this).inser...
Ci.nsIFilePicker.modeSave);
Components.interfaces.nsIFilePicker.modeSave);
(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; ...
if (result != Ci.nsIFilePicker.returnOK && result != Ci.nsIFilePicker.returnReplace) {
if (result != Components.interfaces.nsIFilePicker.returnOK && result != Components.interfaces.nsIFilePicker.returnReplace) {
(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; ...
AddonManager.getAddonByID(data.id, function (res) { try { addon = res; init(); } catch (e) { dump("dactyl: bootstrap: " + e + "\n"); Cu.reportError(e); } });
let manifestText = result.map(function (line) line.join(" ")).join("\n");
AddonManager.getAddonByID(data.id, function (res) { try { addon = res; init(); } catch (e) { dump("dactyl: bootstrap: " + e + "\n"); Cu.reportError(e); } });
if (this.encoding == 'utf8') data = utf8.decode(data);
if (this.encoding == 'utf8') { var raw = utf8.decode(data); var length = raw[1]; if (length != data.length) { throw new Error("Incomplete utf8 codepoint"); } data = raw[0] }
exports.MSPPStream = Class(function() { this.setMultiplexer = function(multiplexer) { loggers.stream.debug('setMultiplexer: '+multiplexer); this.multiplexer = multiplexer; } this.setEncoding = function(encoding) { loggers.stream.debug('setEncoding: '+encoding); this.encoding = encoding; } this.open = function(host,...
$(quickeditor).parent().replaceWith('<div class="content">' + html + '</div>');
$(quickeditor).parent().replaceWith('<div class="content text-content">' + html + '</div>');
$(document).ready(function(){/* Not working... // AJAX Rate $("ul.rating li a, ul.rated li a").click(function(event){ event.preventDefault(); // Get the child img id which holds some info we need. var child = $(this).children().attr('id'); // Child contains the object_id and the star number. var object = child.spl...
var newObj=editor.dom.create(tagname);editor.dom.setAttribs(newObj,args);if(tinymce.isIE){newObj.innerHTML=targetObj.innerHTML;targetObj.parentNode.replaceChild(newObj,targetObj);}else{editor.dom.replace(newObj,targetObj,true);} tagList=doc.getElementsByTagName(org_tagname);}
var newObj=editor.dom.create(tagname);editor.dom.setAttribs(newObj,args);editor.dom.replace(newObj,targetObj,true);tagList=doc.getElementsByTagName(org_tagname);}
(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(...
rep(/<\/?div>/gi,"");if(Prototype.Browser.IE){rep(/<(\/?)op(b|u|s|i|font|large|small|color)/gi,'<$1op:$2');}
rep(/<\/?div>/gi,"");if(Prototype.Browser.IE){rep(/<(\/?):?op(b|u|s|i|font|large|small|color)/gi,'<$1op:$2');}
(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(...
if (level < this.level || production) return; log.apply(log, [type, this.name].concat(Array.prototype.slice.call(arguments, 0)));
if (!production && level >= this.level) { log.apply(log, [type, this.name].concat(Array.prototype.slice.call(arguments, 0))); } return arguments[0];
exports.Logger = Class(function() { this.init = function(name, level) { if (!level) { level = levels.LOG; } this.name = name; this.level = level; } this.setLevel = function(level) { this.level = level; } function makeLogFunction(level, type) { return function() { if (level < this.level || production) return;...
test("invokes updateViewSettings() and then updates layer element", function() {
test("invokes renderLayerSettings() and then updates layer element", function() {
test("invokes updateViewSettings() and then updates layer element", function() { var layer = document.createElement('div'); var view = SC.View.create({ updateViewSettings: function() { this.$().addClass('did-update'); }, createRenderer: function() {} }); view.createLayer(); view.updateLayer(); o...
updateViewSettings: function() { this.$().addClass('did-update'); }, createRenderer: function() {}
_renderLayerSettings: function() { times++; this.$().addClass('did-update-' + times); }
test("invokes updateViewSettings() and then updates layer element", function() { var layer = document.createElement('div'); var view = SC.View.create({ updateViewSettings: function() { this.$().addClass('did-update'); }, createRenderer: function() {} }); view.createLayer(); view.updateLayer(); o...
ok(view.$().attr('class').indexOf('did-update')>=0, 'has class name added by prepareContext()');
ok(view.$().attr('class').indexOf('did-update-2')>=0, 'has class name added by prepareContext()');
test("invokes updateViewSettings() and then updates layer element", function() { var layer = document.createElement('div'); var view = SC.View.create({ updateViewSettings: function() { this.$().addClass('did-update'); }, createRenderer: function() {} }); view.createLayer(); view.updateLayer(); o...
"modes",
(function () { const jsmodules = {} const modules = { __proto__: jsmodules }; const BASE = "chrome://dactyl/content/"; modules.modules = modules; const loader = Components.classes["@mozilla.org/moz/jssubscript-loader;1"] .getService(Components.interfaces.mozIJSSubScriptLoader)...
setProgressBarClass("hadError")
(function () { YAHOO.namespace('phpunit'); // Convenience shortcuts var Dom = YAHOO.util.Dom, Event = YAHOO.util.Event, Connect = YAHOO.util.Connection, phpunit = YAHOO.phpunit; /* * Constructor function for TestRunner instances */ phpunit.TestRunner = function () { var secret = 55; var secretObj = { nr: 10 }; ...
var popupWidth = 355; var popupHeight = 273;
var popupWidth = 365; var popupHeight = 273;
$(function() { var loginContent = 'LoginFrame.aspx'; var popupWindowName = 'openidlogin'; var popupWidth = 355; var popupHeight = 273; // use 205 for 1 row of OP buttons var iframe; { var div = window.document.createElement('div'); div.style.padding = 0; div.id = 'loginDialog'; iframe = window.document.createElemen...
this.timeout(function () { dactyl.focusContent(true); }, 10);
dactyl.commands["tabs.select"] = function (event) { tabs.select(event.originalTarget.getAttribute("identifier")); };
this.timeout(function () { dactyl.focusContent(true); }, 10); // just make sure, that no widget has focus
$("div.img-chooser-wrap img").src('/static/img/blank.jpg');
$("div.img-chooser-wrap img").attr('src', '/static/img/blank.jpg');
$(function () { $("a.chooser").fancybox(); $("a.closing-link").live("click", function () { $.fancybox.close(); }); $("#images a").live("click", function () { imageId = $(this).attr("id"); selectedImg = $(this).children()[0]; $.fancybox.close(); $("input.chooser-input").val...
var checkForCrashedTest = function() { if ($('testsHaveFinished')) { return; } var testContainers = Dom.getElementsByClassName('testcaseOutput'); var lastTestContainer = testContainers[testContainers.length - 1]; lastTestContainer.className = 'testcaseOutput testcaseError'; lastTestContainer.style.display = 'block'; }
(function () { YAHOO.namespace('phpunit'); // Convenience shortcuts var Dom = YAHOO.util.Dom, Event = YAHOO.util.Event, Connect = YAHOO.util.Connection, phpunit = YAHOO.phpunit; /* * Constructor function for TestRunner instances */ phpunit.TestRunner = function () { var secret = 55; var secretObj = { nr: 10 }; ...
context = view.renderContext(); view.prepareContext(context, NO); ok(context.id() !== 'foo', 'did not set id'); ok(context.hasClass('bar'), 'did set class name');
test("populates context with layerId & classNames from view if firstTime", function() { var view = SC.View.create({ layerId: "foo", classNames: ["bar"] }); var context = view.renderContext(); // test with firstTime view.prepareContext(context, YES); equals(context.id(), 'foo', 'did set id'); ok(context...
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";
DcmgrGUI.Detail.prototype.register_event('dcmgrGUI.afterUpdate',function(event,params){ var self = params.self; $('#detail').find('#update_'+self.id).live('click',function(){ $.ajax({ "type": "POST", "async": true, "url": '/security_groups/config', "data":"id="+self.id, "dataType": "json", success: function(json,status...
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('#conf...
var data = $('#detail').find('#config_'+id).html(); if(!data){ $('#security_group_config').html(initialize_config); }
self.element.trigger('dcmgrGUI.configUpdate',[self.id]);
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('#conf...
datatable_options = { };
$(document).ready(function () { datatable_options = { // bLengthChange: false, // iDisplayLength: 1000, // bSort: false }; // create the datatable var datatable = $(".datatable").dataTable(); datatable.fnSort([ [1, 'asc']]) $('#navbar-search-for...
var datatable = $(".datatable").dataTable(); datatable.fnSort([ [1, 'asc']])
$(".datatable").dataTable({'aaSorting': [ [1, 'asc']] });
$(document).ready(function () { datatable_options = { // bLengthChange: false, // iDisplayLength: 1000, // bSort: false }; // create the datatable var datatable = $(".datatable").dataTable(); datatable.fnSort([ [1, 'asc']]) $('#navbar-search-for...
b.className="CodeMirror-line-numbers";a.appendChild(b);b.innerHTML="<div>"+c+"</div>";return a}function n(e){if(typeof e.parserfile=="string")e.parserfile=[e.parserfile];if(typeof e.basefiles=="string")e.basefiles=[e.basefiles];if(typeof e.stylesheet=="string")e.stylesheet=[e.stylesheet];var c=['<!DOCTYPE HTML PUBLIC "...
e.className="CodeMirror-line-numbers";c.appendChild(e);e.innerHTML="<div>"+b+"</div>";return c}function F(a){if(typeof a.parserfile=="string")a.parserfile=[a.parserfile];if(typeof a.basefiles=="string")a.basefiles=[a.basefiles];if(typeof a.stylesheet=="string")a.stylesheet=[a.stylesheet];var b=['<!DOCTYPE HTML PUBLIC "...
b.className="CodeMirror-line-numbers";a.appendChild(b);b.innerHTML="<div>"+c+"</div>";return a}function n(e){if(typeof e.parserfile=="string")e.parserfile=[e.parserfile];if(typeof e.basefiles=="string")e.basefiles=[e.basefiles];if(typeof e.stylesheet=="string")e.stylesheet=[e.stylesheet];var c=['<!DOCTYPE HTML PUBLIC "...
"util",
(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...
var a,EXPORTED_SYMBOLS=["AtDCore"];function AtDCore(){this.ignore_types=["Bias Language","Cliches","Complex Expression","Diacritical Marks","Double Negatives","Hidden Verbs","Jargon Language","Passive voice","Phrases to Avoid","Redundant Expression"];this.ignore_strings={};this.i18n=AtD}a=AtDCore.prototype;a.getLang=fu...
var a,EXPORTED_SYMBOLS=["AtDCore"];function AtDCore(){this.ignore_types=["Bias Language","Cliches","Complex Expression","Diacritical Marks","Double Negatives","Hidden Verbs","Jargon Language","Passive voice","Phrases to Avoid","Redundant Expression"];this.ignore_strings={};this.i18n=AtD}a=AtDCore.prototype;a.getLang=fu...
var a,EXPORTED_SYMBOLS=["AtDCore"];function AtDCore(){this.ignore_types=["Bias Language","Cliches","Complex Expression","Diacritical Marks","Double Negatives","Hidden Verbs","Jargon Language","Passive voice","Phrases to Avoid","Redundant Expression"];this.ignore_strings={};this.i18n=AtD}a=AtDCore.prototype;a.getLang=fu...
var xformRules = $.map(this.getConfigList("TransformRule"), function (r) { var p = r.split(/\s+/); return {pattern: new RegExp(p[0], "g"), repl: p[1]}; });
return $.map(s.split(""), function (c) { return xlit[c] || c; }).join("");
var xformRules = $.map(this.getConfigList("TransformRule"), function (r) { var p = r.split(/\s+/); return {pattern: new RegExp(p[0], "g"), repl: p[1]}; });
var a,EXPORTED_SYMBOLS=["AtDCore"];function AtDCore(){this.ignore_types=["Bias Language","Cliches","Complex Expression","Diacritical Marks","Double Negatives","Hidden Verbs","Jargon Language","Passive voice","Phrases to Avoid","Redundant Expression"];this.ignore_strings={};this.i18n=AtD}a=AtDCore.prototype;a.getLang=fu...
var EXPORTED_SYMBOLS=["AtDCore"];function AtDCore(){this.ignore_types=["Bias Language","Cliches","Complex Expression","Diacritical Marks","Double Negatives","Hidden Verbs","Jargon Language","Passive voice","Phrases to Avoid","Redundant Expression"];this.ignore_strings={};this.i18n=AtD}AtDCore.prototype.getLang=function...
var a,EXPORTED_SYMBOLS=["AtDCore"];function AtDCore(){this.ignore_types=["Bias Language","Cliches","Complex Expression","Diacritical Marks","Double Negatives","Hidden Verbs","Jargon Language","Passive voice","Phrases to Avoid","Redundant Expression"];this.ignore_strings={};this.i18n=AtD}a=AtDCore.prototype;a.getLang=fu...
if (jQuery._isBuffering <= 0) return jQuery.fn._jqb_originalFind.call(this, selector);
if (jQuery._isBuffering <= 0 && !this.isBuffered) return jQuery.fn._jqb_originalFind.call(this, selector);
(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...
if (value === undefined) return jQuery.fn.html.apply(this, arguments);
if (value === undefined) { if (this.length < 1) return undefined; return jQuery.Buffer.bufferForElement(this[i]).html(); }
(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...
if (value === undefined) return jQuery.fn.text.apply(this, arguments);
if (value === undefined) { if (this.length < 1) return undefined; return jQuery.Buffer.bufferForElement(this[i]).text(); }
(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...
if (typeof value === "undefined" && typeof key === "string") return jQuery.fn.html.apply(this, arguments);
if (typeof value === "undefined" && typeof key === "string") { if (this.length < 1) return false; var buffer = jQuery.Buffer.bufferForElement(this[0]); return buffer.attr(key); }
(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...
}, hasClass: function(className) { if (this.length < 1) return false; return jQuery.Buffer.bufferForElement(this[0]).hasClass(className);
(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...
bt_refresh.element.bind('dcmgrGUI.refresh',function(){ list_request.url = DcmgrGUI.Util.getPagePath('/images/show/',c_pagenate.current_page); c_list.element.trigger('dcmgrGUI.updateList',{request:list_request}) $.each(c_list.checked_list,function(check_id,obj){ $($('#detail').find('#'+check_id)).remove(); c_list....
c_list.element.bind('dcmgrGUI.contentChange',function(event,params){ c_list.setData(params.data); c_list.multiCheckList(c_list.detail_template);
bt_refresh.element.bind('dcmgrGUI.refresh',function(){ list_request.url = DcmgrGUI.Util.getPagePath('/images/show/',c_pagenate.current_page); c_list.element.trigger('dcmgrGUI.updateList',{request:list_request}) //update detail $.each(c_list.checked_list,function(check_id,obj){ //remove $(...
if (!this._subscribers || !this._subscribers[signal]) { return; }
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), subs = this._subscribers.__any.slice(0); for(var i = 0, sub; sub = subs[i]; ++i) { sub.apply(c...
test("invokes prepareContext() and then updates layer element", function() {
test("invokes updateViewSettings() and then updates layer element", function() {
test("invokes prepareContext() and then updates layer element", function() { var layer = document.createElement('div'); var view = SC.View.create({ layer: layer, // fake it... prepareContext: function(context) { context.addClass('did-update'); } }); view.updateLayer(); ok(SC.$(layer).attr('class')....
prepareContext: function(context) { context.addClass('did-update');
updateViewSettings: function() { this.$(this.get("layer")).addClass('did-update');
test("invokes prepareContext() and then updates layer element", function() { var layer = document.createElement('div'); var view = SC.View.create({ layer: layer, // fake it... prepareContext: function(context) { context.addClass('did-update'); } }); view.updateLayer(); ok(SC.$(layer).attr('class')....
var pane = SC.ControlTestPane.design() .add("basic", SC.ButtonView, {
var pane = SC.ControlTestPane.design({height:24}) .add("basic", SC.ButtonView, { controlSize: SC.CALCULATED_CONTROL_SIZE
(function() {var pane = SC.ControlTestPane.design() .add("basic", SC.ButtonView, { }) .add("title", SC.ButtonView, { title: "Hello World" }) .add("icon", SC.ButtonView, { icon: iconURL }) .add("title,icon", SC.ButtonView, { title: "Hello World", icon: iconURL }) .add("title,icon...
title: "Hello World"
title: "Hello World", controlSize: SC.CALCULATED_CONTROL_SIZE
(function() {var pane = SC.ControlTestPane.design() .add("basic", SC.ButtonView, { }) .add("title", SC.ButtonView, { title: "Hello World" }) .add("icon", SC.ButtonView, { icon: iconURL }) .add("title,icon", SC.ButtonView, { title: "Hello World", icon: iconURL }) .add("title,icon...
icon: iconURL
icon: iconURL, controlSize: SC.CALCULATED_CONTROL_SIZE
(function() {var pane = SC.ControlTestPane.design() .add("basic", SC.ButtonView, { }) .add("title", SC.ButtonView, { title: "Hello World" }) .add("icon", SC.ButtonView, { icon: iconURL }) .add("title,icon", SC.ButtonView, { title: "Hello World", icon: iconURL }) .add("title,icon...
title: "Hello World", icon: iconURL
title: "Hello World", icon: iconURL, controlSize: SC.CALCULATED_CONTROL_SIZE
(function() {var pane = SC.ControlTestPane.design() .add("basic", SC.ButtonView, { }) .add("title", SC.ButtonView, { title: "Hello World" }) .add("icon", SC.ButtonView, { icon: iconURL }) .add("title,icon", SC.ButtonView, { title: "Hello World", icon: iconURL }) .add("title,icon...
title: "Hello World", icon: iconURL , isEnabled: NO
title: "Hello World", icon: iconURL , isEnabled: NO, controlSize: SC.CALCULATED_CONTROL_SIZE
(function() {var pane = SC.ControlTestPane.design() .add("basic", SC.ButtonView, { }) .add("title", SC.ButtonView, { title: "Hello World" }) .add("icon", SC.ButtonView, { icon: iconURL }) .add("title,icon", SC.ButtonView, { title: "Hello World", icon: iconURL }) .add("title,icon...
title: "Hello World", icon: iconURL , isDefault: YES
title: "Hello World", icon: iconURL , isDefault: YES, controlSize: SC.CALCULATED_CONTROL_SIZE
(function() {var pane = SC.ControlTestPane.design() .add("basic", SC.ButtonView, { }) .add("title", SC.ButtonView, { title: "Hello World" }) .add("icon", SC.ButtonView, { icon: iconURL }) .add("title,icon", SC.ButtonView, { title: "Hello World", icon: iconURL }) .add("title,icon...
title: "Hello World", icon: iconURL , isSelected: YES
title: "Hello World", icon: iconURL , isSelected: YES, controlSize: SC.CALCULATED_CONTROL_SIZE
(function() {var pane = SC.ControlTestPane.design() .add("basic", SC.ButtonView, { }) .add("title", SC.ButtonView, { title: "Hello World" }) .add("icon", SC.ButtonView, { icon: iconURL }) .add("title,icon", SC.ButtonView, { title: "Hello World", icon: iconURL }) .add("title,icon...
title: "Hello World", toolTip: 'Hello World is my tool tip'
title: "Hello World", toolTip: 'Hello World is my tool tip', controlSize: SC.CALCULATED_CONTROL_SIZE }) .add("autocontrolsize", SC.ButtonView, { title: "Hello Cheese", layout: { left: 0, top: 0, right: 0, height: 37 } }) .add("calculatedcontrolsize", SC.ButtonView, { title: "Smelly Severus", layout: { left: 0, top: ...
(function() {var pane = SC.ControlTestPane.design() .add("basic", SC.ButtonView, { }) .add("title", SC.ButtonView, { title: "Hello World" }) .add("icon", SC.ButtonView, { icon: iconURL }) .add("title,icon", SC.ButtonView, { title: "Hello World", icon: iconURL }) .add("title,icon...
test("Check if AUTO_CONTROL_SIZE button automatically calculated the correct controlSize", function() { var viewElem=pane.view('autocontrolsize').$(); ok(viewElem.hasClass('sc-huge-size'), 'HUGE button has sc-huge-size class.'); }); test("Check if CALCULATED_CONTROL_SIZE automatically found the correct controlSize", f...
(function() {var pane = SC.ControlTestPane.design() .add("basic", SC.ButtonView, { }) .add("title", SC.ButtonView, { title: "Hello World" }) .add("icon", SC.ButtonView, { icon: iconURL }) .add("title,icon", SC.ButtonView, { title: "Hello World", icon: iconURL }) .add("title,icon...
var className = mapClasses(target.name);
var className = mapClasses(target.id);
(function () { YAHOO.namespace('phpunit'); // Convenience shortcuts var Dom = YAHOO.util.Dom, Event = YAHOO.util.Event, Connect = YAHOO.util.Connection, phpunit = YAHOO.phpunit; /* * Constructor function for TestRunner instances */ phpunit.TestRunner = function () { var secret = 55; var secretObj = { nr: 10 }; ...
case 'SET[failure]':
case 'SET_failure':
(function () { YAHOO.namespace('phpunit'); // Convenience shortcuts var Dom = YAHOO.util.Dom, Event = YAHOO.util.Event, Connect = YAHOO.util.Connection, phpunit = YAHOO.phpunit; /* * Constructor function for TestRunner instances */ phpunit.TestRunner = function () { var secret = 55; var secretObj = { nr: 10 }; ...
case 'SET[error]':
case 'SET_error':
(function () { YAHOO.namespace('phpunit'); // Convenience shortcuts var Dom = YAHOO.util.Dom, Event = YAHOO.util.Event, Connect = YAHOO.util.Connection, phpunit = YAHOO.phpunit; /* * Constructor function for TestRunner instances */ phpunit.TestRunner = function () { var secret = 55; var secretObj = { nr: 10 }; ...
case 'SET[success]':
case 'SET_success':
(function () { YAHOO.namespace('phpunit'); // Convenience shortcuts var Dom = YAHOO.util.Dom, Event = YAHOO.util.Event, Connect = YAHOO.util.Connection, phpunit = YAHOO.phpunit; /* * Constructor function for TestRunner instances */ phpunit.TestRunner = function () { var secret = 55; var secretObj = { nr: 10 }; ...
case 'SET[skipped]':
case 'SET_skipped':
(function () { YAHOO.namespace('phpunit'); // Convenience shortcuts var Dom = YAHOO.util.Dom, Event = YAHOO.util.Event, Connect = YAHOO.util.Connection, phpunit = YAHOO.phpunit; /* * Constructor function for TestRunner instances */ phpunit.TestRunner = function () { var secret = 55; var secretObj = { nr: 10 }; ...
case 'SET[notimplemented]':
case 'SET_notimplemented':
(function () { YAHOO.namespace('phpunit'); // Convenience shortcuts var Dom = YAHOO.util.Dom, Event = YAHOO.util.Event, Connect = YAHOO.util.Connection, phpunit = YAHOO.phpunit; /* * Constructor function for TestRunner instances */ phpunit.TestRunner = function () { var secret = 55; var secretObj = { nr: 10 }; ...
case 'SET[testdox]':
case 'SET_testdox':
(function () { YAHOO.namespace('phpunit'); // Convenience shortcuts var Dom = YAHOO.util.Dom, Event = YAHOO.util.Event, Connect = YAHOO.util.Connection, phpunit = YAHOO.phpunit; /* * Constructor function for TestRunner instances */ phpunit.TestRunner = function () { var secret = 55; var secretObj = { nr: 10 }; ...
case 'SET[showMemoryAndTime]':
case 'SET_showMemoryAndTime':
(function () { YAHOO.namespace('phpunit'); // Convenience shortcuts var Dom = YAHOO.util.Dom, Event = YAHOO.util.Event, Connect = YAHOO.util.Connection, phpunit = YAHOO.phpunit; /* * Constructor function for TestRunner instances */ phpunit.TestRunner = function () { var secret = 55; var secretObj = { nr: 10 }; ...
className = '';
(function () { YAHOO.namespace('phpunit'); // Convenience shortcuts var Dom = YAHOO.util.Dom, Event = YAHOO.util.Event, Connect = YAHOO.util.Connection, phpunit = YAHOO.phpunit; /* * Constructor function for TestRunner instances */ phpunit.TestRunner = function () { var secret = 55; var secretObj = { nr: 10 }; ...
var toggleButtonsIds = Dom.get(['SET[failure]', 'SET[success]', 'SET[error]', 'SET[skipped]', 'SET[notimplemented]', 'SET[testdox]', 'SET[showMemoryAndTime]']); for (var i = 0; i < toggleButtonsIds.length; i += 1) { var elm = toggleButtonsIds[i]; var display = elm.checked ? 'block' : 'none'; var className = mapClasses(...
var checkboxes = Dom.get([ 'SET_failure', 'SET_success', 'SET_error', 'SET_skipped', 'SET_notimplemented', 'SET_testdox', 'SET_showMemoryAndTime' ]); for (var i = 0; i < checkboxes.length; i++) { var checkbox = checkboxes[i]; var display = checkbox.checked ? 'block' : 'none'; var className = mapClasses(checkbox.id); Do...
(function () { YAHOO.namespace('phpunit'); // Convenience shortcuts var Dom = YAHOO.util.Dom, Event = YAHOO.util.Event, Connect = YAHOO.util.Connection, phpunit = YAHOO.phpunit; /* * Constructor function for TestRunner instances */ phpunit.TestRunner = function () { var secret = 55; var secretObj = { nr: 10 }; ...
Event.addListener(toggleButtonsIds, 'click', toggle, this, true); Event.addListener('SET[codeCoverage]', 'click', toggleCodeCoverage, this, true);
Event.addListener(checkboxes, 'click', toggle, this, true); Event.addListener('SET_codeCoverage', 'click', toggleCodeCoverage, this, true);
(function () { YAHOO.namespace('phpunit'); // Convenience shortcuts var Dom = YAHOO.util.Dom, Event = YAHOO.util.Event, Connect = YAHOO.util.Connection, phpunit = YAHOO.phpunit; /* * Constructor function for TestRunner instances */ phpunit.TestRunner = function () { var secret = 55; var secretObj = { nr: 10 }; ...
bt_instance_start.target.bind('click',function(){ bt_instance_start.open(c_list.getCheckedInstanceIds());
c_list.element.bind('dcmgrGUI.contentChange',function(event,params){ c_list.setData(params.data); c_list.multiCheckList(c_list.detail_template);
bt_instance_start.target.bind('click',function(){ bt_instance_start.open(c_list.getCheckedInstanceIds()); });
* Custom summary for the module vertical tab. It will show "Not defined" untill * a custom string is entered in the textfield.
* Custom summary for the module vertical tab.
(function ($) {/** * Custom summary for the module vertical tab. It will show "Not defined" untill * a custom string is entered in the textfield. */Drupal.behaviors.vertical_tabs_exampleFieldsetSummaries = { attach: function (context) { // Use the fieldset class to identify the vertical tab element $('fieldset.v...
if ($('#edit-vertical_tabs_example-enabled', context).attr('checked')) { return Drupal.checkPlain($('#edit-vertical_tabs_example-custom-setting', context).val());
if ($('#edit-vertical-tabs-example-enabled', context).attr('checked')) { return Drupal.checkPlain($('#edit-vertical-tabs-example-custom-setting', context).val());
(function ($) {/** * Custom summary for the module vertical tab. It will show "Not defined" untill * a custom string is entered in the textfield. */Drupal.behaviors.vertical_tabs_exampleFieldsetSummaries = { attach: function (context) { // Use the fieldset class to identify the vertical tab element $('fieldset.v...
return Drupal.t('Using default.');
return Drupal.t('Using default');
(function ($) {/** * Custom summary for the module vertical tab. It will show "Not defined" untill * a custom string is entered in the textfield. */Drupal.behaviors.vertical_tabs_exampleFieldsetSummaries = { attach: function (context) { // Use the fieldset class to identify the vertical tab element $('fieldset.v...
jQuery(document).ready(function(){jQuery(".reply_link").click(function(){var a=jQuery("#post_content").val();if(a!="")a+="\n\n";a=a+'<em>@<a href="'+jQuery(this).parent().children("a").get(0)+'">'+jQuery(this).parent().parent().parent().children(".threadauthor").children("p").children("strong").children("a").text()+"</...
jQuery(document).ready(function(){jQuery(".reply_link").click(function(){var a=jQuery("#post_content").val();if(a!="")a+="\n\n";a=a+'<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";j...
jQuery(document).ready(function(){jQuery(".reply_link").click(function(){var a=jQuery("#post_content").val();if(a!="")a+="\n\n";a=a+'<em>@<a href="'+jQuery(this).parent().children("a").get(0)+'">'+jQuery(this).parent().parent().parent().children(".threadauthor").children("p").children("strong").children("a").text()+"</...
return warnings.join('\n');
return warnings.join('\n<p>\n');
(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 = [...
$('.elastic').elastic();
$(document).ready(function(){/* Not working... // AJAX Rate $("ul.rating li a, ul.rated li a").click(function(event){ event.preventDefault(); // Get the child img id which holds some info we need. var child = $(this).children().attr('id'); // Child contains the object_id and the star number. var object = child.spl...
(function(){ var userAgent = navigator.userAgent.toLowerCase(); if ((/webkit/).test(userAgent)) { SC.platform.cssPrefix = 'webkit'; SC.platform.domCSSPrefix = 'Webkit'; } else if((/opera/).test( userAgent )) { SC.platform.cssPrefix = 'opera'; SC.platform.domCSSPrefix = 'O'; } else if((/msie/).test( userAgent ) && !(/op...
input: (function(attributes) { var ret = {}, len = attributes.length, elem = document.createElement('input'), attr, idx; for (idx=0; idx < len; idx++) { attr = attributes[idx]; ret[attr] = !!(attr in elem); } return ret; })(('autocomplete readonly list size required multiple maxlength '
(function(){ var userAgent = navigator.userAgent.toLowerCase(); if ((/webkit/).test(userAgent)) { SC.platform.cssPrefix = 'webkit'; SC.platform.domCSSPrefix = 'Webkit'; } else if((/opera/).test( userAgent )) { SC.platform.cssPrefix = 'opera'; SC.platform.domCSSPrefix = 'O'; } else if((/msie/).test( user...
var fileUrl = 'http:
var fileUrl = 'http: + type + '/' + branch + '/' + file.filename;
$(document).ready(function() { var descriptions = { mobile: { osx: "OSX (iPhone, Android)", linux: "Linux (Android only)", win32: "Windows (Android only)" }, desktop: {osx: "OSX", linux: "Linux", win32: "Windows"} }; var mobileGitUrl = "http://github.com/appcelerator/titanium_mobile/commit/"; var desktopGitUrl...
viewElem = pane.view('iconclass').$(); ok(viewElem.hasClass('icon'), 'view element should have "icon" class'); ok(viewElem.find('img').hasClass('icon'), 'img element inside view should have "icon" class');
(function() {var pane = SC.ControlTestPane.design() .add("basic", SC.LabelView, { value:'hello' }) .add("disabled", SC.LabelView, { value:'hello', isEnabled: NO }) .add("selectable", SC.LabelView, { value:'hello', isTextSelectable: YES }) .add("centered", SC.LabelView, { value: "hell...
if(attributes["color"]){style+='color:'+attributes["color"]+';';}
if(attributes["color"]&&attributes["color"].match(/^#[0-9a-fA-F]{6}$/)){style+='color:'+attributes["color"]+';';}
(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(...
if(org_tagname=="color"&&attributes["code"]){opt=' style="color:'+attributes["code"]+';"';}
if(org_tagname=="color"&&attributes["code"]&&attributes["code"].match(/^#[0-9a-fA-F]{6}$/)){opt=' style="color:'+attributes["code"]+';"';}
(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(...
return $.grep(this._slots, function (e) { return e; }).join("");
this._xformRules = (list.length == 0) ? null : $.map(list, function (r) { var p = r.split(/\s+/); return {pattern: new RegExp(p[0], "g"), repl: p[1]}; });
return $.grep(this._slots, function (e) { return e; }).join("");
$('fieldset#edit-path', context).drupalSetSummary(function (context) { var path = $('#edit-path-alias').val(); var automatic = $('#edit-path-pathauto-perform-alias').attr('checked');
$('fieldset.path-form', context).drupalSetSummary(function (context) { var path = $('.form-item-path-alias input').val(); var automatic = $('.form-item-path-pathauto input').attr('checked');
(function ($) {Drupal.behaviors.pathFieldsetSummaries = { attach: function (context) { $('fieldset#edit-path', context).drupalSetSummary(function (context) { var path = $('#edit-path-alias').val(); var automatic = $('#edit-path-pathauto-perform-alias').attr('checked'); if (automatic) { return ...
}
};
var croomBenchmark = (function() { /* This string is an iNES executable of Concentration Room 0.01 in base 64: http://pineight.com/croom/ Copyright © 2010 Damian Yerrick <croom@pineight.com> Copying and distribution of this file, with or without modification, are permitted in any medium without royalty p...
if (!dactyl.execute(args[0] || "", null, true))
if (!commands.execute(args[0] || "", null, true))
function (args) { for (let tab in values(tabs.visibleTabs)) { tabs.select(tab); if (!dactyl.execute(args[0] || "", null, true)) break; } }, {
equals(view.$('.sc-inner').css("width"), "100%", 'width should be 100%');
equals(view.$('.sc-inner')[0].style.width, "100%", 'width should be 100%');
test("changing value to over maximum", function() { var view = pane.view('progress basic'); // browsers compute the width after % adjustment differently. just be close var v = (SC.browser.msie || SC.browser.mozilla) ? 63 : 62; equals(view.$('.sc-inner').width(), v, 'precon - pixel width should be fixed'); SC.Ru...
function () { dactyl.open("~"); });
function () { dactyl.open("~/"); });
function () { dactyl.open("~"); });
function (args) { let count = args.count; let arg = args[0]; if (arg || count > 0) { let index; if (arg) { dactyl.assert(/^\d+$/.test(arg), "E488: Trailing characters"); index = arg - 1; } else index = count - 1; if (index < tabs.count) tabs.select(index, true); else dactyl.beep(); } else tabs.select("+1", true);...
function () { tabs.select(0, false); },
function (args) { let count = args.count; let arg = args[0]; if (arg || count > 0) { let index; // count is ignored if an arg is specified, as per Vim if (arg) { dactyl.assert(/^\d+...
$.each(queries[index], function (i, q) {
$.getJSON(me.DATA_DIR + me.encode(prefix) + me.SEPARATOR + me.encode(index) + me.JSON, null, function (data) { Logger.debug("fetched: " + index); if (me._queries !== queries) return; $.each(queries[index], function (i, q) {
$.each(queries[index], function (i, q) { var p = phrase[q.start]; if (!p) { p = phrase[q.start] = []; } // filter results $.each(data[q.ikey.join(" ")] || [],...
var pos = -1; $.each(pending, function (i, e) { if (e == index) { pos = i; return false; } }); if (pos == -1) { Logger.error("index '" + index + "' lost trace in pending lookups."); return; } pending.splice(pos, 1); if (pending.length == 0) { me._queries = null; Logger.debug("lookup successful."); ctx.phrase = phrase; ...
$.each(queries[index], function (i, q) { var p = phrase[q.start]; if (!p) { p = phrase[q.start] = []; } // filter results $.each(data[q.ikey.join(" ")] || [],...
Object.keys(opt.headers).forEach(function(key){ req.setRequestHeader(key, opt.headers[key]); });
return new DeferredHash(ds).addCallback(function(ress){ var errs = []; for(var name in ress){ var success = ress[name][0], res = ress[name][1]; if(!success){ var msg = name + ': ' + (res.message.status ? '\n' + ('HTTP Status Code ' + res.message.status).indent(4) : '\n' + res.message.indent(4)); errs.push(msg); } } if(...
Object.keys(opt.headers).forEach(function(key){ req.setRequestHeader(key, opt.headers[key]); });
console.log("START");
for(var i = 1, len = service.length; i < len; ++i)(function(item, index){ if(item){ var container = ELMS.container.cloneNode(false); var button = ELMS[item].cloneNode(false); var status = item; container.appendChild(button); service[index] = $N('td', null, [container]); ...
console.log("END");
for(var i = 1, len = service.length; i < len; ++i)(function(item, index){ if(item){ var container = ELMS.container.cloneNode(false); var button = ELMS[item].cloneNode(false); var status = item; container.appendChild(button); service[index] = $N('td', null, [container]); ...
$("a.inline-save").live("click", function () { trgt = this; action = $(trgt).attr("rel"); params = $(this).parent().find(":input").serialize(); selector = '[rel="' + action + '"]'; $.post(action, params, function (data) { errors = data['errors']; if (errors) { $(trgt).parent().find(":input").each(function () { if (erro...
$.post(action, $.param({'delete': true}), function (data) { if (data['deleted']) { selector = '[rel="' + action + '"]'; containingList = $(selector).parent().parent(); $(selector).parent().remove(); if (!$(containingList).children().length) { $(containingList).append('<li class="empty">No ' + $(containingList).closest(...
$("a.inline-save").live("click", function () { trgt = this; action = $(trgt).attr("rel"); params = $(this).parent().find(":input").serialize(); selector = '[rel="' + action + '"]'; $.post(action, params, function (data) { errors = data['errors']; if (errors) ...
}); } else { $(trgt).parent().replaceWith(data['new_row']); $(selector).prev().find("li.empty").remove(); } }, "json"); return false; });
} else { $(selector).insertAfter('<span class="fail">An error occurred.</span>'); $("span.fail").delay(1500).fadeOut("fast", function () { $(this).remove(); }); } }, "json");
$("a.inline-save").live("click", function () { trgt = this; action = $(trgt).attr("rel"); params = $(this).parent().find(":input").serialize(); selector = '[rel="' + action + '"]'; $.post(action, params, function (data) { errors = data['errors']; if (errors) ...
fileMap["plugins"] = function () ['text/xml;charset=UTF-8', help];
findHelpFile(file).forEach(function (doc) { addTags(file, doc); });
fileMap["plugins"] = function () ['text/xml;charset=UTF-8', help];
rangefinder._found = false; rangefinder.onSubmit(buffer.getCurrentWord(), true);
rangefinder.find(buffer.getCurrentWord(), true); rangefinder.findAgain();
function () { rangefinder._found = false; rangefinder.onSubmit(buffer.getCurrentWord(), true); });
function (args) { dactyl.assert(args.length <= 1, "E172: Only one file name allowed"); let filename = args[0] || io.getRCFile(null, true).path; let file = io.File(filename); dactyl.assert(!file.exists() || args.bang, "E189: " + filename.quote() + " exists (add ! to override)"); let lines = [cmd.serialize().map(comm...
function () { dactyl.echomsg(io.cwd); },
function (args) { dactyl.assert(args.length <= 1, "E172: Only one file name allowed"); let filename = args[0] || io.getRCFile(null, true).path; let file = io.File(filename); dactyl.assert(!file.exists() || args.bang, "E...
match[4].replace(/\s*([\w.$*]+)(?:\s+as\s+([\w.$]+))?/g, function(_, item, as) {
jsio.addCmd(function(context, request, opts, imports) { var match = request.match(/^\s*(from|external)\s+([\w.$]+)\s+(import|grab)\s+(.*)$/); if(match) { imports.push({ from: match[2], dontAddBase: match[1] == 'external', dontUseExports: match[3] == 'grab' || match[1] == 'external', 'import': {} }); match[4].replace(/...
match[4].replace(/\s*([\w.$*]+)(?:\s+as\s+([\w.$]+))?/g, function(_, item, as) { imports[0]['import'][item] = as || item; });
return true; } });
match[4].replace(/\s*([\w.$*]+)(?:\s+as\s+([\w.$]+))?/g, function(_, item, as) { imports[0]['import'][item] = as || item; });
$(this).click(function(){
this.element.find("[type='radio']").each(function(key,value){ $(this).click(function(){
$(this).click(function(){ var check_id = $(this).val(); if($(this).is(':checked')){ var c_detail = new DcmgrGUI.Detail({ element_id:$('<div></div>'), template_id:params.template_id }); c_detail.element.bind('dcmgrGUI.contentChange',f...
});
$(this).click(function(){ var check_id = $(this).val(); if($(this).is(':checked')){ var c_detail = new DcmgrGUI.Detail({ element_id:$('<div></div>'), template_id:params.template_id }); c_detail.element.bind('dcmgrGUI.contentChange',f...
var container = this.containers.filter(function(el) { return el.visType == visType.type.value; } )[0];
var bindingType = Report.bindingTypes.results.bindings.filter(function(el) { return el.type.value == bindings[i].type.value; } )[0];
var container = this.containers.filter(function(el) { return el.visType == visType.type.value; } )[0];
log.apply(log, [type, this._name].concat(slice.call(arguments, 0)));
return log.apply(log, [type, this._name].concat(slice.call(arguments, 0)));
return function() { if (!production && level >= this._level) { log.apply(log, [type, this._name].concat(slice.call(arguments, 0))); } return arguments[0]; }
jQuery("body").bind("click", function() {
setTimeout(function() { jQuery("body").bind("click", function() {
jQuery("body").bind("click", function() { if (!AtD.suggestShow) jQuery('#suggestmenu').fadeOut(200); });
}, 1);
jQuery("body").bind("click", function() { if (!AtD.suggestShow) jQuery('#suggestmenu').fadeOut(200); });
var bindingType = Report.bindingTypes.filter(function(bindingType) { return bindingType.type.value == binding.type.value; } )[0];
var bindingVariables = this.variables.filter(function(variable) { return variable.binding.value == binding.binding.value; } );
var bindingType = Report.bindingTypes.filter(function(bindingType) { return bindingType.type.value == binding.type.value; } )[0];
.addListener('complete', function () { promise.emitSuccess(body.join('')); });
getRequestBody(request).addCallback(bind(this, function(body) { logger.debug('received request', request.url); try { var uri = nodeUrl.parse(request.url, true), path = uri.pathname, sessionUrl = this._sessionUrl; assertOrRenderError(startswith(path, sessionUrl + '/'), 404, 'Request to invalid session URL'); logger.deb...
.addListener('complete', function () { promise.emitSuccess(body.join('')); });
util.timeout(function () { strut.style.display = bell.style.display = "none"; }, 20);
util.timeout(function () { elems.strut.style.display = elems.bell.style.display = "none"; }, 20);
util.timeout(function () { strut.style.display = bell.style.display = "none"; }, 20);
importContents = importContents.replace(buildUtil.cssUrlRegExp, function(fullMatch, urlMatch){
return fileContents.replace(buildUtil.cssImportRegExp, function(fullMatch, urlStart, importFileName, urlEnd, mediaTypes){ if(mediaTypes && ((mediaTypes.replace(/^\s\s*/, '').replace(/\s\s*$/, '')) != "all")){ return fullMatch; } importFileName = buildUtil.cleanCssUrlQuotes(importFileName); if(cssImportIgnore && css...
importContents = importContents.replace(buildUtil.cssUrlRegExp, function(fullMatch, urlMatch){ var fixedUrlMatch = buildUtil.cleanCssUrlQuotes(urlMatch); fixedUrlMatch = fixedUrlMatch.replace(buildUtil.backSlashRegExp, "/"); //Only do the work for relative URLs. Skip things that start with / or have //a ...