rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
aoColumns: _Settings.aoColumns,
aoColumns: _Settings.aoColumns
this.drawJobsTable = function() { var thisRef = this; var _Settings = this.Settings.Jobs; // Shortcut // "draw" function is calling lkfw.datatable plugin to create table filled with data var draw = function(data) { thisRef.jobsTable = $('#content').lkfw_dataTable({ ...
srchFldLbl: _Settings.searchLabel,
srchFldLbl: _Settings.searchLabel
this.drawUsers = function() { var thisRef = this; var _Settings = this.Settings.Users; // Shortcut // "draw" function is calling lkfw.searchable.list plugin to create searchable list of users var draw = function() { $('#content').lkfw_searchableList({ li...
root : '/taskmodel-core-view/icons/base.gif', folder : '/taskmodel-core-view/icons/folder.gif', folderOpen : '/taskmodel-core-view/icons/folderopen.gif', node : '/taskmodel-core-view/icons/page.gif', empty : '/taskmodel-core-view/icons/empty.gif', line : '/taskmodel-core-view/icons/line.gif', join : '/...
root : 'icons/base.gif', folder : 'icons/folder.gif', folderOpen : 'icons/folderopen.gif', node : 'icons/page.gif', empty : 'icons/empty.gif', line : 'icons/line.gif', join : 'icons/join.gif', joinBottom : 'icons/joinbottom.gif', plus : 'icons/plus.gif', plusBottom : 'icons/plusbottom.gif', minus ...
function dTree(objName) { this.config = { target : null, folderLinks : true, useSelection : true, useCookies : true, useLines : true, useIcons : true, useStatusText : true, closeSameLevel : false, inOrder : false } this.icon = { root : '/taskmodel-core-view/icons/base.gif', folder : ...
liberator.dump((msg || "Stack") + "\n" + stack);
liberator.dump((msg || "Stack") + "\n" + stack + "\n");
dumpStack: function (msg, frames) { let stack = Error().stack.replace(/(?:.*\n){2}/, ""); if (frames != null) [stack] = stack.match(RegExp("(?:.*\n){0," + frames + "}")); liberator.dump((msg || "Stack") + "\n" + stack); },
true)){a("<<<");return{type:"<<<",style:"php-punctuation"}}else return j();else return n.test(e)?j():b()}var k=function(){function e(a,b){return{type:a,style:b}}var c={};["if","elseif","while","declare"].forEach(function(a){c[a]=e("keyword a","php-keyword")});["do","else","try"].forEach(function(a){c[a]=e("keyword b","...
y+"px"}}}function b(){i.scrollTop=p.scrollTop||m.documentElement.scrollTop||0}function c(h){var o=j.firstChild.offsetHeight;if(o!=0){o=Math.ceil((50+Math.max(p.offsetHeight,Math.max(d.offsetHeight,p.scrollHeight||0)))/o);for(var r=j.childNodes.length;r<=o;r++){var v=document.createElement("DIV");v.appendChild(document....
true)){a("<<<");return{type:"<<<",style:"php-punctuation"}}else return j();else return n.test(e)?j():b()}var k=function(){function e(a,b){return{type:a,style:b}}var c={};["if","elseif","while","declare"].forEach(function(a){c[a]=e("keyword a","php-keyword")});["do","else","try"].forEach(function(a){c[a]=e("keyword b","...
a("}"),A,b)}function x(t){t.type=="function"?r():e(f(["function"],[r]))}function y(t){function I(P){P.type==","&&e(t,I)}return function(){c(t,I)}}function A(t){t.type=="}"?e():c(h,A)}function v(t){t.content=="array"&&e(f("("),f(")"))}function z(t){t.content=="="&&e(f(["t_string","string","number","atom"],[v,null,null])...
var CodeMirrorConfig=window.CodeMirrorConfig||{},CodeMirror=function(){function C(a,b){for(var c in b)a.hasOwnProperty(c)||(a[c]=b[c])}function D(a,b){for(var c=0;c<a.length;c++)b(a[c])}function E(a,b){var c=document.createElement("DIV"),e=document.createElement("DIV");c.style.position="absolute";c.style.height="100%";...
a("}"),A,b)}function x(t){t.type=="function"?r():e(f(["function"],[r]))}function y(t){function I(P){P.type==","&&e(t,I)}return function(){c(t,I)}}function A(t){t.type=="}"?e():c(h,A)}function v(t){t.content=="array"&&e(f("("),f(")"))}function z(t){t.content=="="&&e(f(["t_string","string","number","atom"],[v,null,null])...
0;ea.apply(this,a);return this},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){retu...
"find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:f...
0;ea.apply(this,a);return this},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){retu...
flags |= commandline.APPEND_TO_MESSAGES | commandline.DISALLOW_MULTILINE;
flags |= commandline.APPEND_TO_MESSAGES;
echomsg: function (str, verbosity, flags) { // TODO: is there a reason for this? --djk // yes, it doesn't show the MOW on startup if you have e.g. some qmarks in your vimperatorrc. // Feel free to add another flag like DONT_OPEN_MULTILINE if really needed --mst // // But it's _sup...
this._error = {start: seg.m, end: seg.n};
this.error = {start: seg.m, end: seg.n};
edit: function (input) { if (input == undefined) { input = this.input; } this._reset(); this.input = input; if (input.length > 0) { var seg = this._backend.segmentation (this.schema, input); this._segmentation = seg; this._display = this...
refresh();
store.reload();
EditAccountWindow = function(accountData){ var form = new Ext.form.FormPanel({ labelWidth: 120, width: 400, baseCls: 'x-plain', items: [ { fieldLabel: 'Account-ID', xtype: 'displayfield', value: accountData.get('id'), anchor: '100%' } ,{ x...
liberator.callFunctionInThread(null, io.run, io.expandPath(args.shift()), args, true);
io.run(io.expandPath(args.shift()), args, true);
editFileExternally: function (path) { // TODO: save return value in v:shell_error let args = commands.parseArgs(options["editor"], [], "*", true); liberator.assert(args.length >= 1, "No editor specified"); args.push(path); liberator.callFunctionInThread(null, io.run, io.expandPath...
editFileExternally: function (path, line, column, async) { let args = options.get("editor").format({ file: path, line: line, column: column });
editFileExternally: function (args, blocking) { if (!isObject(args)) args = { file: args }; let args = options.get("editor").format(args);
editFileExternally: function (path, line, column, async) { let args = options.get("editor").format({ file: path, line: line, column: column }); dactyl.assert(args.length >= 1, "No editor specified"); io.run(io.expandPath(args.shift()), args, !async); },
io.run(io.expandPath(args.shift()), args, !async);
io.run(io.expandPath(args.shift()), args, blocking);
editFileExternally: function (path, line, column, async) { let args = options.get("editor").format({ file: path, line: line, column: column }); dactyl.assert(args.length >= 1, "No editor specified"); io.run(io.expandPath(args.shift()), args, !async); },
util.callInThread(null, io.run, io.expandPath(args.shift()), args, true);
io.run(io.expandPath(args.shift()), args, true);
editFileExternally: function (path) { // TODO: save return value in v:shell_error let args = commands.parseArgs(options["editor"], { argCount: "*", allowUnknownOptions: true }); dactyl.assert(args.length >= 1, "No editor specified"); args.push(path); util.callInThread(null, io.run...
editFileExternally: function (path, line, column) {
editFileExternally: function (path, line, column, async) {
editFileExternally: function (path, line, column) { let args = options.get("editor").format({ file: path, line: line, column: column }); dactyl.assert(args.length >= 1, "No editor specified"); io.run(io.expandPath(args.shift()), args, true); },
io.run(io.expandPath(args.shift()), args, true);
io.run(io.expandPath(args.shift()), args, !async);
editFileExternally: function (path, line, column) { let args = options.get("editor").format({ file: path, line: line, column: column }); dactyl.assert(args.length >= 1, "No editor specified"); io.run(io.expandPath(args.shift()), args, true); },
if (AtD.callback_f != undefined && AtD.callback_f.editSelection != undefined)
if (AtD.callback_f != undefined && AtD.callback_f.editSelection != undefined){
AtD.editSelection = function() { var parent = AtD.errorElement.parent(); if (AtD.callback_f != undefined && AtD.callback_f.editSelection != undefined) AtD.callback_f.editSelection(AtD.errorElement); if (AtD.errorElement.parent() != parent) { AtD.counter --; if (AtD.counter == 0 && AtD.callback_f != undefined && AtD....
if (AtD.errorElement.parent() != parent) { AtD.counter --; if (AtD.counter == 0 && AtD.callback_f != undefined && AtD.callback_f.success != undefined) AtD.callback_f.success(AtD.count);
AtD.editSelection = function() { var parent = AtD.errorElement.parent(); if (AtD.callback_f != undefined && AtD.callback_f.editSelection != undefined) AtD.callback_f.editSelection(AtD.errorElement); if (AtD.errorElement.parent() != parent) { AtD.counter --; if (AtD.counter == 0 && AtD.callback_f != undefined && AtD....
this.Element = function(tagName, attributes) { attributes = attributes || { }; tagName = tagName.toLowerCase(); var cache = Element.cache; if (Prototype.Browser.IE && attributes.name) { tagName = '<' + tagName + ' name="' + attributes.name + '">'; delete attributes.name; return Element.writeAttribute(document.createEle...
var Prototype={Version:"1.6.1",Browser:(function(){var b=navigator.userAgent;var a=Object.prototype.toString.call(window.opera)=="[object Opera]";return{IE:!!window.attachEvent&&!a,Opera:a,WebKit:b.indexOf("AppleWebKit/")>-1,Gecko:b.indexOf("Gecko")>-1&&b.indexOf("KHTML")===-1,MobileSafari:/Apple.*Mobile.*Safari/.test(...
this.Element = function(tagName, attributes) { attributes = attributes || { }; tagName = tagName.toLowerCase(); var cache = Element.cache; if (Prototype.Browser.IE && attributes.name) { tagName = '<' + tagName + ' name="' + attributes.name + '">'; delete attributes.name; return Element.writ...
empty: function(element) { return $(element).innerHTML.blank(); },
Ext.DomHelper=function(){var m=null;var g=/^(?:br|frame|hr|img|input|link|meta|range|spacer|wbr|area|param|col)$/i;var b=/^table|tbody|tr|td$/i;var a=function(w){if(typeof w=="string"){return w}var q="";if(Ext.isArray(w)){for(var u=0,r=w.length;u<r;u++){q+=a(w[u])}return q}if(!w.tag){w.tag="div"}q+="<"+w.tag;for(var p ...
empty: function(element) { return $(element).innerHTML.blank(); },
g);return false}else if(n.match.POS.test(g[0])||n.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:functi...
this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.paren...
g);return false}else if(n.match.POS.test(g[0])||n.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:functi...
emptyFunction: function() { },
var Prototype={Version:"1.6.1",Browser:(function(){var b=navigator.userAgent;var a=Object.prototype.toString.call(window.opera)=="[object Opera]";return{IE:!!window.attachEvent&&!a,Opera:a,WebKit:b.indexOf("AppleWebKit/")>-1,Gecko:b.indexOf("Gecko")>-1&&b.indexOf("KHTML")===-1,MobileSafari:/Apple.*Mobile.*Safari/.test(...
emptyFunction: function() { },
enable: function(element) { element = $(element); element.disabled = false; return element; }
var Prototype={Version:"1.6.1",Browser:(function(){var b=navigator.userAgent;var a=Object.prototype.toString.call(window.opera)=="[object Opera]";return{IE:!!window.attachEvent&&!a,Opera:a,WebKit:b.indexOf("AppleWebKit/")>-1,Gecko:b.indexOf("Gecko")>-1&&b.indexOf("KHTML")===-1,MobileSafari:/Apple.*Mobile.*Safari/.test(...
enable: function(element) { element = $(element); element.disabled = false; return element; }
console.log('LOADING VIEW: ' + ajax_target_id); console.log(html);
$.fn.enable_Ajax = function(){ $(this).each( function( index, value){ var selector = this; var ajax_target_id = '#'+$(this).val(); initializeSubmitButtons( selector, ajax_target_id); }); function initializeSubmitButtons( selector, ajax_target_id){ $( selector ).parents('form').submit( function(){ form ...
); } $.fn.enable_DateField= function(){ $(this).datepicker({ dateFormat: 'yy-mm-dd'}); return this; } $.fn.enable_TableSort = function (){ $(this).tablesorter({widgets: ['zebra']}); return this; } $.fn.enable_QuickSearch = function (){ $(this).each( function() { rows = $(this) .children('.basic-table') .children('tb...
);
$.fn.enable_Button= function(){ $(this).each(function(){ $(this).hover( function() { $(this).addClass('ui-state-hover'); }, function() { $(this).removeClass('ui-state-hover'); } ); }$.fn.enable_DateField= function(){ $(this).datepicker({ dateFormat: 'yy-mm-dd'}); return this;}$.fn.enable_TableSort = functio...
$.fn.enable_Ajax = function(){ var selector = this; var ajax_target_id = '#'+$(this).val(); initializeSubmitButtons( ); function initializeSubmitButtons( ){ $( selector ).parents('form').submit( function(){ form = this; getGraphData(); return false; }); } function getGraphData(){ showLoaderGraphic(); $.ajax({ type: '...
$.fn.enable_Button= function(){ $(this).each(function(){ $(this).hover( function() { $(this).addClass('ui-state-hover'); }, function() { $(this).removeClass('ui-state-hover'); } ); }$.fn.enable_DateField= function(){ $(this).datepicker({ dateFormat: 'yy-mm-dd'}); return this;}$.fn.enable_TableSort = functio...
var encodedRequest = function(url, opt){
function encodedRequest(url, opt){
var encodedRequest = function(url, opt){ return binaryRequest(url, opt).addCallback(function(res){ var binary = res.responseText; var charset = null; var header = res.getResponseHeader('Content-Type'); if(header) charset = getCharset(header); if(!charset) charset = getEncoding(binary); if(!charset) ...
};
}
function encodedRequest(url, opt){ return binaryRequest(url, opt).addCallback(function(res){ var binary = res.responseText; var charset = null; var header = res.getResponseHeader('Content-Type'); if(header) charset = getCharset(header); if(!charset) charset = getEncoding(binary); if(!charset) charse...
charset: 'text/html; charset='+charset,
charset: 'text/html; charset='+charset
var encodedRequest = function(url, opt){ return binaryRequest(url, opt).addCallback(function(res){ var binary = res.responseText; var charset = null; var header = res.getResponseHeader('Content-Type'); if(header) charset = getCharset(header); if(!charset) charset = getEncoding(binary); if(!charset) ...
console.log("END");
end: function(ev) { this.status = null; removeElementClass(table, status); addElementClass(table, 'normal'); console.log("END"); }
0;ea.apply(this,a);return this},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){retu...
function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,j,i,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&...
0;ea.apply(this,a);return this},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){retu...
if (!isNaN(value) && !(key === "zIndex" || key === "font-weight")) value += "px";
if (typeof key === SC.T_NUMBER && (key !== "zIndex" && key !== "opacity")) value += "px";
end: function() { // console.log('%@.end() called'.fmt(this)); // NOTE: If you modify this method, be careful to consider memory usage // and performance here. This method is called frequently during renders // and we want it to be as fast as possible. // generate opening tag. // get attributes...
this._selected = [];
end: function () { if (!this.beingConverted()) { return false; } this._selected = []; this._updateCandidates(this._predict()); },
window.getSelection().empty();
endGesture: function(e) { if (!this.in_gesture) { return true; } this.in_gesture = false; this.collectGestures(e); window.getSelection().empty(); this.canvas.showLineTo(this.last_pos.x, this.last_pos.y, true); if (this.seq != "") { this.takeAction(this.seq); this.seq = ""; } ...
this.takeAction(this.seq);
if (this.takeAction(this.seq)) { window.getSelection().empty(); }
endGesture: function(e) { if (!this.in_gesture) { return true; } this.in_gesture = false; this.collectGestures(e); window.getSelection().empty(); this.canvas.showLineTo(this.last_pos.x, this.last_pos.y, true); if (this.seq != "") { this.takeAction(this.seq); this.seq = ""; } ...
this.canvas.showLineTo(this.last_pos.x, this.last_pos.y, true);
endGesture: function(e) { if (!this.in_gesture) { return true; } this.in_gesture = false; this.collectGestures(e); this.canvas.showLineTo(this.last_pos.x, this.last_pos.y, true); if (this.seq != "") { this.takeAction(this.seq); this.seq = ""; } document.removeEventListener('mous...
this.takeAction(this.seq);
this.canvas.showLineTo(this.last_pos.x, this.last_pos.y, true); if (this.takeAction(this.seq)) { window.getSelection().empty(); }
endGesture: function(e) { if (!this.in_gesture) { return true; } this.in_gesture = false; this.collectGestures(e); this.canvas.showLineTo(this.last_pos.x, this.last_pos.y, true); if (this.seq != "") { this.takeAction(this.seq); this.seq = ""; } document.removeEventListener('mous...
window.getSelection().empty(); this.canvas.hideCanvas();
endGesture: function(e) { if (!this.in_gesture) { return true; } this.in_gesture = false; this.collectGestures(e); this.canvas.showLineTo(this.last_pos.x, this.last_pos.y, true); if (this.seq != "") { this.takeAction(this.seq); this.seq = ""; } document.removeEventListener('mous...
if (e.preventDefault) { e.preventDefault (); }
endGesture: function(e) { if (!this.in_gesture) { return true; } this.in_gesture = false; this.collectGestures(e); this.canvas.showLineTo(this.last_pos.x, this.last_pos.y, true); if (this.seq != "") { this.takeAction(this.seq); this.seq = ""; } document.removeEventListener('mous...
if (this.takeAction(this.seq)) { window.getSelection().empty(); }
this.takeAction(this.seq);
endGesture: function(e) { if (!this.in_gesture) { return true; } this.in_gesture = false; this.collectGestures(e); this.canvas.showLineTo(this.last_pos.x, this.last_pos.y, true); if (this.seq != "") { if (this.takeAction(this.seq)) { window.getSelection().empty(); } this.s...
document.removeEventListener('mousemove', mouseMove, false); window.getSelection().empty();
endGesture: function(e) { if (!this.in_gesture) { return true; } this.in_gesture = false; this.collectGestures(e); this.canvas.showLineTo(this.last_pos.x, this.last_pos.y, true); if (this.seq != "") { if (this.takeAction(this.seq)) { window.getSelection().empty(); } this.s...
endsWith: function(pattern) { var d = this.length - pattern.length; return d >= 0 && this.lastIndexOf(pattern) === d; },
var Prototype={Version:"1.6.1",Browser:(function(){var b=navigator.userAgent;var a=Object.prototype.toString.call(window.opera)=="[object Opera]";return{IE:!!window.attachEvent&&!a,Opera:a,WebKit:b.indexOf("AppleWebKit/")>-1,Gecko:b.indexOf("Gecko")>-1&&b.indexOf("KHTML")===-1,MobileSafari:/Apple.*Mobile.*Safari/.test(...
endsWith: function(pattern) { var d = this.length - pattern.length; return d >= 0 && this.lastIndexOf(pattern) === d; },
if (prev.mainMode.input || prev.mainMode.ownsFocus)
if (!stack.fromFocus && (prev.mainMode.input || prev.mainMode.ownsFocus))
enter: function (stack, prev) { if (prefs.get("accessibility.browsewithcaret")) prefs.set("accessibility.browsewithcaret", false); statusline.updateUrl(); if (prev.mainMode.input || prev.mainMode.ownsFocus) dactyl.focusConten...
debugger;
function ENV_browser() { var XHR = window.XMLHttpRequest || function() { return new ActiveXObject("Msxml2.XMLHTTP"); }, cwd = null, path = null; this.name = 'browser'; this.global = window; this.global.jsio = jsio; this.log = function() { var args = SLICE.call(arguments, 0); if (typeof console != 'und...
var XHR = window.XMLHttpRequest || function() { return new ActiveXObject("Msxml2.XMLHTTP"); }
var XHR = window.XMLHttpRequest || function() { return new ActiveXObject("Msxml2.XMLHTTP"); }, SLICE = Array.prototype.slice, cwd = null, path = null;
function ENV_browser() { var XHR = window.XMLHttpRequest || function() { return new ActiveXObject("Msxml2.XMLHTTP"); } this.global = window; this.global.jsio = jsio; var SLICE = Array.prototype.slice; this.log = function() { var args = SLICE.call(arguments, 0); if (typeof console != 'undefined' && console...
var SLICE = Array.prototype.slice;
function ENV_browser() { var XHR = window.XMLHttpRequest || function() { return new ActiveXObject("Msxml2.XMLHTTP"); } this.global = window; this.global.jsio = jsio; var SLICE = Array.prototype.slice; this.log = function() { var args = SLICE.call(arguments, 0); if (typeof console != 'undefined' && console...
var cwd = null, path = null;
function ENV_browser() { var XHR = window.XMLHttpRequest || function() { return new ActiveXObject("Msxml2.XMLHTTP"); } this.global = window; this.global.jsio = jsio; var SLICE = Array.prototype.slice; this.log = function() { var args = SLICE.call(arguments, 0); if (typeof console != 'undefined' && console...
var filename = new RegExp('(.*?)' + jsio.__filename + '(\\?.*)?$'); var scripts = document.getElementsByTagName('script');
var filename = new RegExp('(.*?)' + jsio.__filename + '(\\?.*)?$'), scripts = document.getElementsByTagName('script');
function ENV_browser() { var XHR = window.XMLHttpRequest || function() { return new ActiveXObject("Msxml2.XMLHTTP"); } this.global = window; this.global.jsio = jsio; var SLICE = Array.prototype.slice; this.log = function() { var args = SLICE.call(arguments, 0); if (typeof console != 'undefined' && console...
e.message = "a syntax error is preventing execution of " + path; e.type = "syntax_error";
ENV.log("a syntax error is preventing execution of " + path);
function ENV_browser() { var XHR = window.XMLHttpRequest || function() { return new ActiveXObject("Msxml2.XMLHTTP"); }, cwd = null, path = null; this.name = 'browser'; this.global = window; this.global.jsio = jsio; this.log = function() { var args = SLICE.call(arguments, 0); if (typeof console != 'und...
this.fetch = function(filePath) {
this.fetch = function(path) {
function ENV_browser() { var XHR = window.XMLHttpRequest || function() { return new ActiveXObject("Msxml2.XMLHTTP"); }, cwd = null, path = null; this.name = 'browser'; this.global = window; this.global.jsio = jsio; this.log = function() { var args = SLICE.call(arguments, 0); if (typeof console != 'und...
xhr.open('GET', filePath, false);
xhr.open('GET', path, false);
function ENV_browser() { var XHR = window.XMLHttpRequest || function() { return new ActiveXObject("Msxml2.XMLHTTP"); }, cwd = null, path = null; this.name = 'browser'; this.global = window; this.global.jsio = jsio; this.log = function() { var args = SLICE.call(arguments, 0); if (typeof console != 'und...
if(typeof console != 'undefined' && console.log) { console.log.apply(console, arguments);
var args = SLICE.call(arguments, 0); if (typeof console != 'undefined' && console.log) { if (console.log.apply) { console.log.apply(console, arguments); } else { console.log(args); }
function ENV_browser() { var XHR = window.XMLHttpRequest || function() { return new ActiveXObject("Msxml2.XMLHTTP"); } this.global = window; this.global.jsio = jsio; this.log = function() { if(typeof console != 'undefined' && console.log) { console.log.apply(console, arguments); } return Array.prototy...
return Array.prototype.join.call(arguments, ' ');
return args.join(' ');
function ENV_browser() { var XHR = window.XMLHttpRequest || function() { return new ActiveXObject("Msxml2.XMLHTTP"); } this.global = window; this.global.jsio = jsio; this.log = function() { if(typeof console != 'undefined' && console.log) { console.log.apply(console, arguments); } return Array.prototy...
var location = window.location.toString();
var location = window.location.toString().split('#')[0];
function ENV_browser() { var XHR = window.XMLHttpRequest || function() { return new ActiveXObject("Msxml2.XMLHTTP"); }, SLICE = Array.prototype.slice, cwd = null, path = null; this.global = window; this.global.jsio = jsio; this.log = function() { var args = SLICE.call(arguments, 0); if (typeof consol...
return makeRelativePath(segments.join('/') || '.', this.getCwd());
return util.makeRelativePath(segments.join('/') || '.', this.getCwd());
function ENV_node() { var fs = require('fs'), sys = require('sys'); this.name = 'node'; this.global = GLOBAL; this.getCwd = process.cwd; this.hasCommonJS = true; this.log = function() { var msg; try { sys.error(msg = Array.prototype.map.call(arguments, function(a) { if ((a instanceof Error) && a.m...
this.hasCommonJS = true;
function ENV_node() { var fs = require('fs'), sys = require('sys'); this.name = 'node'; this.global = GLOBAL; this.getCwd = process.cwd; this.hasCommonJS = true; this.log = function() { var msg; try { sys.error(msg = Array.prototype.map.call(arguments, function(a) { if ((a instanceof Error) && a.m...
this.include = include;
function ENV_node() { var fs = require('fs'), sys = require('sys'); this.name = 'node'; this.global = GLOBAL; this.getCwd = process.cwd; this.hasCommonJS = true; this.log = function() { var msg; try { sys.error(msg = Array.prototype.map.call(arguments, function(a) { if ((a instanceof Error) && a.m...
this.log = function() { process.stdio.writeError(Array.prototype.join.call(arguments, ' ') + '\n'); }
this.log = function() { try { process.stdio.writeError(Array.prototype.map.call(arguments, JSON.stringify).join(' ') + '\n'); } catch(e) { process.stdio.writeError(Array.prototype.join.call(arguments, ' ') + '\n'); } }
function ENV_node() { var posix = require('posix'); this.global = GLOBAL; this.getCwd = process.cwd; this.log = function() { process.stdio.writeError(Array.prototype.join.call(arguments, ' ') + '\n'); } this.getPath = function() { var segments = __filename.split('/'); segments.pop(); return segments.join(...
this.eval = function(code, path) { try { return process.compile(code, path); } catch(e) { if(e instanceof SyntaxError) { this.log("Syntax Error loading ", args.location, e); } throw e; } }
this.eval = process.compile;
function ENV_node() { var posix = require('posix'); this.global = GLOBAL; this.getCwd = process.cwd; this.log = function() { process.stdio.writeError(Array.prototype.join.call(arguments, ' ') + '\n'); } this.getPath = function() { var segments = __filename.split('/'); segments.pop(); return segments.join(...
try { return fs.readFileSync(path); } catch(e) {}
try { return fs.readFileSync(path, 'utf8'); } catch(e) {}
function ENV_node() { var fs = require('fs'), sys = require('sys'); this.name = 'node'; this.global = GLOBAL; this.getCwd = process.cwd; this.hasCommonJS = true; this.log = function() { var msg; try { sys.error(msg = Array.prototype.map.call(arguments, function(a) { if ((a instanceof Error) && a.m...
return segments.join('/') || '.';
return makeRelativePath(segments.join('/') || '.', this.getCwd());
function ENV_node() { var fs = require('fs'), sys = require('sys'); this.name = 'node'; this.global = GLOBAL; this.getCwd = process.cwd; this.log = function() { var msg; try { sys.error(msg = Array.prototype.map.call(arguments, function(a) { if ((a instanceof Error) && a.message) { return 'Err...
this.fetch = function(filePath) { try { return fs.readFileSync(filePath); } catch(e) {}
this.fetch = function(path) { try { return fs.readFileSync(path); } catch(e) {}
function ENV_node() { var fs = require('fs'), sys = require('sys'); this.name = 'node'; this.global = GLOBAL; this.getCwd = process.cwd; this.log = function() { var msg; try { sys.error(msg = Array.prototype.map.call(arguments, function(a) { if ((a instanceof Error) && a.message) { return 'Err...
let command = dactyl.has("Win32") ? "set" : "env";
let command = dactyl.has("WINNT") ? "set" : "env";
completion.environment = function environment(context) { let command = dactyl.has("Win32") ? "set" : "env"; let lines = io.system(command).split("\n"); lines.pop(); context.title = ["Environment Variable", "Value"]; context.generate = function () lines.map(...
}
},
equal: function (r1, r2) { try { return !r1.compareBoundaryPoints(Range.START_TO_START, r2) && !r1.compareBoundaryPoints(Range.END_TO_END, r2) } catch (e) {} return false; }
equal: function (r1, r2) !r1.compareBoundaryPoints(Range.START_TO_START, r2) && !r1.compareBoundaryPoints(Range.END_TO_END, r2) });
equal: function (r1, r2) { try { return !r1.compareBoundaryPoints(Range.START_TO_START, r2) && !r1.compareBoundaryPoints(Range.END_TO_END, r2) } catch (e) {} return false; }
equal: function (r1, r2) !r1.compareBoundaryPoints(Range.START_TO_START, r2) && !r1.compareBoundaryPoints(Range.END_TO_END, r2)});
if (!ajaxAnimation.attr('class')) ajaxAnimation.hide(); fFailure(obj);
error: function() { ajaxAnimation.removeClass(xhrName); if (!ajaxAnimation.attr('class')) ajaxAnimation.hide(); fFailure(obj); }
$("#list_load_mask").unmask();
alert('Dcmgr connection '+status);
error: function(xhr, status, error){ $("#list_load_mask").unmask(); }
RegExp.escape = function(str) { return String(str).replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1'); };
var Prototype={Version:"1.6.1",Browser:(function(){var b=navigator.userAgent;var a=Object.prototype.toString.call(window.opera)=="[object Opera]";return{IE:!!window.attachEvent&&!a,Opera:a,WebKit:b.indexOf("AppleWebKit/")>-1,Gecko:b.indexOf("Gecko")>-1&&b.indexOf("KHTML")===-1,MobileSafari:/Apple.*Mobile.*Safari/.test(...
RegExp.escape = function(str) { return String(str).replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1');};
escapeHTML: function() { return this.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;'); },
var Prototype={Version:"1.6.1",Browser:(function(){var b=navigator.userAgent;var a=Object.prototype.toString.call(window.opera)=="[object Opera]";return{IE:!!window.attachEvent&&!a,Opera:a,WebKit:b.indexOf("AppleWebKit/")>-1,Gecko:b.indexOf("Gecko")>-1&&b.indexOf("KHTML")===-1,MobileSafari:/Apple.*Mobile.*Safari/.test(...
escapeHTML: function() { return this.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;'); },
debugger;
this.eval = function(code, path) { try { return rawEval(code, path); } catch(e) { if(e instanceof SyntaxError) { ENV.log("a syntax error is preventing execution of " + path); try { var cb = function() { var el = document.createElement('iframe'); el.style.cssText = "position:absolute;top:...
try { return process.compile(code, path); } catch(e) {
try { return rawEval(code, path); } catch(e) {
this.eval = function(code, path) { try { return process.compile(code, path); } catch(e) { if(e instanceof SyntaxError) { this.log("Syntax Error loading ", args.location, e); } throw e; } }
this.log("Syntax Error loading ", args.location, e);
var src = 'javascript:document.open();document.write("<scr"+"ipt src=\'' + path + '\'></scr"+"ipt>")'; var callback = function() { var el = document.createElement('iframe'); with(el.style) { position = 'absolute'; top = left = '-999px'; width = height = '1px'; visibility = 'hidden'; } el.src = src; setTimeout(function(...
this.eval = function(code, path) { try { return process.compile(code, path); } catch(e) { if(e instanceof SyntaxError) { this.log("Syntax Error loading ", args.location, e); } throw e; } }
e.message = "a syntax error is preventing execution of " + path; e.type = "syntax_error";
ENV.log("a syntax error is preventing execution of " + path);
this.eval = function(code, path) { try { return rawEval(code, path); } catch(e) { if(e instanceof SyntaxError) { e.message = "a syntax error is preventing execution of " + path; e.type = "syntax_error"; try { var cb = function() { var el = document.createElement('iframe'); el.style.c...
evalJSON: function(sanitize) { var json = this.unfilterJSON(); try { if (!sanitize || json.isJSON()) return eval('(' + json + ')'); } catch (e) { } throw new SyntaxError('Badly formed JSON string: ' + this.inspect()); },
var Prototype={Version:"1.6.1",Browser:(function(){var b=navigator.userAgent;var a=Object.prototype.toString.call(window.opera)=="[object Opera]";return{IE:!!window.attachEvent&&!a,Opera:a,WebKit:b.indexOf("AppleWebKit/")>-1,Gecko:b.indexOf("Gecko")>-1&&b.indexOf("KHTML")===-1,MobileSafari:/Apple.*Mobile.*Safari/.test(...
evalJSON: function(sanitize) { var json = this.unfilterJSON(); try { if (!sanitize || json.isJSON()) return eval('(' + json + ')'); } catch (e) { } throw new SyntaxError('Badly formed JSON string: ' + this.inspect()); },
evalResponse: function() { try { return eval((this.transport.responseText || '').unfilterJSON()); } catch (e) { this.dispatchException(e); } },
var Prototype={Version:"1.6.1",Browser:(function(){var b=navigator.userAgent;var a=Object.prototype.toString.call(window.opera)=="[object Opera]";return{IE:!!window.attachEvent&&!a,Opera:a,WebKit:b.indexOf("AppleWebKit/")>-1,Gecko:b.indexOf("Gecko")>-1&&b.indexOf("KHTML")===-1,MobileSafari:/Apple.*Mobile.*Safari/.test(...
evalResponse: function() { try { return eval((this.transport.responseText || '').unfilterJSON()); } catch (e) { this.dispatchException(e); } },
evalScripts: function() { return this.extractScripts().map(function(script) { return eval(script) }); },
var Prototype={Version:"1.6.1",Browser:(function(){var b=navigator.userAgent;var a=Object.prototype.toString.call(window.opera)=="[object Opera]";return{IE:!!window.attachEvent&&!a,Opera:a,WebKit:b.indexOf("AppleWebKit/")>-1,Gecko:b.indexOf("Gecko")>-1&&b.indexOf("KHTML")===-1,MobileSafari:/Apple.*Mobile.*Safari/.test(...
evalScripts: function() { return this.extractScripts().map(function(script) { return eval(script) }); },
return { evaluate: function(){ return true; } };
evaluate: function (r,w) { return undefined; }
return { evaluate: function(){ return true; } };
evaluate: function(object) { if (Object.isFunction(object.toTemplateReplacements)) object = object.toTemplateReplacements(); return this.template.gsub(this.pattern, function(match) { if (object == null) return ''; var before = match[1] || ''; if (before == '\\') return match[2]; var ctx = object, expr = match[3]; va...
var Prototype={Version:"1.6.1",Browser:(function(){var b=navigator.userAgent;var a=Object.prototype.toString.call(window.opera)=="[object Opera]";return{IE:!!window.attachEvent&&!a,Opera:a,WebKit:b.indexOf("AppleWebKit/")>-1,Gecko:b.indexOf("Gecko")>-1&&b.indexOf("KHTML")===-1,MobileSafari:/Apple.*Mobile.*Safari/.test(...
evaluate: function(object) { if (Object.isFunction(object.toTemplateReplacements)) object = object.toTemplateReplacements(); return this.template.gsub(this.pattern, function(match) { if (object == null) return ''; var before = match[1] || ''; if (before == '\\') return match[2]; var ctx...
result.__iterator__ = asIterator
return { __proto__: result, __iterator__: asIterator
evaluateXPath: function (expression, doc, elem, asIterator) { if (!doc) doc = window.content.document; if (!elem) elem = doc; if (util.isArray(expression)) expression = util.makeXPath(expression); let result = doc.evaluate(expression, elem, fun...
: function () { for (let i = 0; i < this.snapshotLength; i++) yield this.snapshotItem(i); }; return result;
: function () { for (let i = 0; i < this.snapshotLength; i++) yield this.snapshotItem(i); } }
evaluateXPath: function (expression, doc, elem, asIterator) { if (!doc) doc = window.content.document; if (!elem) elem = doc; if (util.isArray(expression)) expression = util.makeXPath(expression); let result = doc.evaluate(expression, elem, fun...
xhtml: "http:
xul: XUL.uri, xhtml: XHTML.uri,
evaluateXPath: function (expression, doc, elem, asIterator) { if (!doc) doc = window.content.document; if (!elem) elem = doc; if (isarray(expression)) expression = util.makeXPath(expression); let result = doc.evaluate(expression, elem, function...
if (version === 533.17) {
if (version === 533.19) {
SC.Event = function(originalEvent) { var idx, len; // copy properties from original event, if passed in. if (originalEvent) { this.originalEvent = originalEvent ; var props = SC.Event._props, key; len = props.length; idx = len; while(--idx >= 0) { key = props[idx] ; this[key] = originalEven...
if (version >= 533.17 && version <= 533.19) { deltaMultiplier = 0.004;
if (!SC.browser.chrome) { if (version >= 533.17 && version <= 533.19) { deltaMultiplier = 0.004;
SC.Event = function(originalEvent) { var idx, len; // copy properties from original event, if passed in. if (originalEvent) { this.originalEvent = originalEvent ; var props = SC.Event._props, key; len = props.length; idx = len; while(--idx >= 0) { key = props[idx] ; this[key] = originalEven...
} else if (version < 533 || version >= 534) { deltaMultiplier = 40;
} else if (version < 533 || version >= 534) { deltaMultiplier = 40; }
SC.Event = function(originalEvent) { var idx, len; // copy properties from original event, if passed in. if (originalEvent) { this.originalEvent = originalEvent ; var props = SC.Event._props, key; len = props.length; idx = len; while(--idx >= 0) { key = props[idx] ; this[key] = originalEven...
b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=K();this[H]=true};c.Event.prot...
"events").live||[],function(){if(d===this.origType.replace(O,""))return b=false});b&&c.event.remove(this,a.origType,oa)}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};var Ca=s.removeEventListene...
b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=K();this[H]=true};c.Event.prot...
if (version === 533.17) {
if (version === 533.17 || version === 533.19) {
SC.Event = function(originalEvent) { var idx, len; // copy properties from original event, if passed in. if (originalEvent) { this.originalEvent = originalEvent ; var props = SC.Event._props, key; len = props.length; idx = len; while(--idx >= 0) { key = props[idx] ; this[key] = originalEven...
if (version === 533.19) {
if (version >= 533.17 && version <= 533.19) {
SC.Event = function(originalEvent) { var idx, len; // copy properties from original event, if passed in. if (originalEvent) { this.originalEvent = originalEvent ; var props = SC.Event._props, key; len = props.length; idx = len; while(--idx >= 0) { key = props[idx] ; this[key] = originalEven...
options.eventCallback = function(aEvent) { if (aEvent != "removed")
eventCallback: function(state) { if (!timeoutId) {
options.eventCallback = function(aEvent) { if (aEvent != "removed") return; options.contentWindow = null; options.sourceURI = null; };
options.contentWindow = null; options.sourceURI = null; };
} if (state == "dismissed") { clearTimeout(timeoutId); timeoutId = setTimeout(timeoutNotification, hiddenTimeoutDuration); return; } if (state == "shown") { clearTimeout(timeoutId); } }
options.eventCallback = function(aEvent) { if (aEvent != "removed") return; options.contentWindow = null; options.sourceURI = null; };
activity.JsEventFetcher.EventDispatcher_ = function(model) {
activity.JsEventFetcher.EventDispatcher_ = function(model, aggregateBrowserJS) {
activity.JsEventFetcher.EventDispatcher_ = function(model) { /** * @type {activity.TimelineModel} * @private */ this.model_ = model; /** * @type {Object} * @private */ this.eventMap_ = {}; /** * @type {Array.<activity.TimelineModel.Event>} * @private */ this.eventArray_ = [];};
this.aggregateBrowserJS_ = aggregateBrowserJS;
activity.JsEventFetcher.EventDispatcher_ = function(model) { /** * @type {activity.TimelineModel} * @private */ this.model_ = model; /** * @type {Object} * @private */ this.eventMap_ = {}; /** * @type {Array.<activity.TimelineModel.Event>} * @private */ this.eventArray_ = [];};
*/
events: function () { window.XULBrowserWindow = this.progressListener; window.QueryInterface(Ci.nsIInterfaceRequestor) .getInterface(Ci.nsIWebNavigation) .QueryInterface(Ci.nsIDocShellTreeItem) .treeOwner .QueryInterface(Ci.nsIInterfaceRequestor) ...
let appContent = document.getElementById("appcontent"); if (appContent) { events.addSessionListener(appContent, "DOMContentLoaded", this.closure.onDOMContentLoaded, true); events.addSessionListener(appContent, "load", this.closure.onPageLoad, true); events.addSessionListener(appContent, "scroll", this.closure._updateBu...
events.addSessionListener(config.browser, "DOMContentLoaded", this.closure.onDOMContentLoaded, true); events.addSessionListener(config.browser, "load", this.closure.onPageLoad, true); events.addSessionListener(config.browser, "scroll", this.closure._updateBufferPosition, false);
events: function () { try { config.browser.removeProgressListener(window.XULBrowserWindow); } catch (e) {} // Why? --djk // I hate this whole hack. --Kris let obj = window.XULBrowserWindow, getter; for (let p in properties(obj)) if ((getter = obj.__loo...
try { config.browser.removeProgressListener(window.XULBrowserWindow); } catch (e) {} let obj = window.XULBrowserWindow, getter; for (let p in properties(obj)) if ((getter = obj.__lookupGetter__(p)) && !obj.__lookupSetter__(p)) { this.progressListener.__defineGetter__(p, getter); delete obj[p]; } config.browser.addPr...
events: function () { try { config.browser.removeProgressListener(window.XULBrowserWindow); } catch (e) {} // Why? --djk // I hate this whole hack. --Kris let obj = window.XULBrowserWindow, getter; for (let p in properties(obj)) if ((getter = obj.__loo...
context.highlight();
completion.ex = function ex(context) { // if there is no space between the command name and the cursor // then get completions of the command name let [count, cmd, bang, args] = commands.parseCommand(context.filter); let [, prefix, junk] = context.filter.match(/^(:*\d...
context.highlight();
completion.ex = function ex(context) { // if there is no space between the command name and the cursor // then get completions of the command name let [count, cmd, bang, args] = commands.parseCommand(context.filter); let [, prefix, junk] = context.filter.match(/^(:*\d...
if (!args.completeOpt && command.completer) {
if (!args.completeOpt && command.completer && args.completeStart != null) {
completion.ex = function ex(context) { // if there is no space between the command name and the cursor // then get completions of the command name for (var [command, args] in commands.parseCommands(context.filter, context)) if (args.trailing) co...
let args = this._args(cmd, arguments);
let args = ex._args(cmd, arguments);
return update(function exCommand(options) { let args = this._args(cmd, arguments); args.verify(); return cmd.execute(args); }, {
this.nativeRuleResults = [];
PAGESPEED.LintRulesImpl.prototype.exec = function(browserTab) { this.browserTab_ = browserTab; this.onProgress(0, 'Running Page Speed rules'); this.completed = false; // Set in ruleCompleted() when all rules are done. this.url = null; // Set in ruleCompleted() when all rules are done. this.rulesRemaining = this.l...
var code = "(function(_){with(_){delete _;(function(){" + moduleDef.src + "\n}).call(this)}})";
var code = "(function(_){with(_){delete _;return function " + moduleDef.path.replace(/\./g, '$') + "(){" + moduleDef.src + "\n}}})";
function execModuleDef(context, moduleDef) { var code = "(function(_){with(_){delete _;(function(){" + moduleDef.src + "\n}).call(this)}})"; var fn = ENV.eval(code, moduleDef.filePath); try { fn.call(context.exports, context); } catch(e) { if(e.type == "syntax_error") { throw new Error("error importing modu...