rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
fn.call(context.exports, context);
fn = fn(context); fn.name = moduleDef.path; fn.call(context.exports);
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...
ENV.log("ERROR LOADING", moduleDef.filePath, ENV.name == 'browser' ? e : '');
ENV.log("ERROR LOADING", moduleDef.filePath);
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...
var code = "(function(_){with(_){delete _;return function $$" + moduleDef.path.replace(/\./g, '$') + "(){" + moduleDef.src + "\n}}})"; var fn = ENV.eval(code, moduleDef.filePath);
var code = "(function(_){with(_){delete _;return function $$" + moduleDef.friendlyPath.replace(/[\/.]/g, '_') + "(){" + moduleDef.src + "\n}}})"; var fn = ENV.eval(code, moduleDef.path);
function execModuleDef(context, moduleDef) { var code = "(function(_){with(_){delete _;return function $$" + moduleDef.path.replace(/\./g, '$') + "(){" + moduleDef.src + "\n}}})"; var fn = ENV.eval(code, moduleDef.filePath); try { fn = fn(context); fn.name = moduleDef.path; fn.call(context.exports); } catch(...
fn.name = moduleDef.path;
function execModuleDef(context, moduleDef) { var code = "(function(_){with(_){delete _;return function $$" + moduleDef.path.replace(/\./g, '$') + "(){" + moduleDef.src + "\n}}})"; var fn = ENV.eval(code, moduleDef.filePath); try { fn = fn(context); fn.name = moduleDef.path; fn.call(context.exports); } catch(...
ENV.log("Stack overflow in", moduleDef.filePath, ':', e);
ENV.log("Stack overflow in", moduleDef.friendlyPath, ':', e);
function execModuleDef(context, moduleDef) { var code = "(function(_){with(_){delete _;return function $$" + moduleDef.path.replace(/\./g, '$') + "(){" + moduleDef.src + "\n}}})"; var fn = ENV.eval(code, moduleDef.filePath); try { fn = fn(context); fn.name = moduleDef.path; fn.call(context.exports); } catch(...
ENV.log("ERROR LOADING", moduleDef.filePath);
ENV.log("ERROR LOADING", moduleDef.friendlyPath);
function execModuleDef(context, moduleDef) { var code = "(function(_){with(_){delete _;return function $$" + moduleDef.path.replace(/\./g, '$') + "(){" + moduleDef.src + "\n}}})"; var fn = ENV.eval(code, moduleDef.filePath); try { fn = fn(context); fn.name = moduleDef.path; fn.call(context.exports); } catch(...
var code = "(function(_){with(_){delete _;return function " + moduleDef.path.replace(/\./g, '$') + "(){" + moduleDef.src + "\n}}})";
var code = "(function(_){with(_){delete _;return function $$" + moduleDef.path.replace(/\./g, '$') + "(){" + moduleDef.src + "\n}}})";
function execModuleDef(context, moduleDef) { var code = "(function(_){with(_){delete _;return function " + moduleDef.path.replace(/\./g, '$') + "(){" + moduleDef.src + "\n}}})"; var fn = ENV.eval(code, moduleDef.filePath); try { fn = fn(context); fn.name = moduleDef.path; fn.call(context.exports); } catch(e)...
if (!silent) { dactyl.echoerr("Error detected while processing " + this.sourcing.file); dactyl.echomsg("line\t" + this.sourcing.line + ":");
if (!silent || silent === "loud") { if (silent !== "loud") e.message = this.sourcing.file + ":" + this.sourcing.line + ": " + e.message; else { dactyl.echoerr("Error detected while processing " + this.sourcing.file); dactyl.echomsg("line\t" + this.sourcing.line + ":"); }
execute: function (string, tokens, silent, args, sourcing) { io.withSavedValues(["readHeredoc", "sourcing"], function () { this.sourcing = update({}, sourcing); args = update({ setFrom: this.sourcing.file }, args || {}); if (tokens) string = commands.replaceTok...
args = update({ setFrom: this.file }, args || {});
args = update({ setFrom: this.sourcing.file }, args || {});
execute: function (string, tokens, silent, args, sourcing) { io.withSavedValues(["readHeredoc", "sourcing"], function () { this.sourcing = update({}, sourcing); args = update({ setFrom: this.file }, args || {}); if (tokens) string = commands.replaceTokens(strin...
execute: function (str, modifiers, silent, sourcing) {
execute: function (str, modifiers, silent) {
execute: function (str, modifiers, silent, sourcing) { // skip comments and blank lines if (/^\s*("|$)/.test(str)) return; modifiers = modifiers || {}; for (let [command, args] in commands.parseCommands(str.replace(/^'(.*)'$/, "$1"))) { if (command === null) ...
io.withSavedValues(["sourcing"], function () { io.sourcing = sourcing || io.sourcing; command.execute(args, modifiers); });
command.execute(args, modifiers);
execute: function (str, modifiers, silent, sourcing) { // skip comments and blank lines if (/^\s*("|$)/.test(str)) return; modifiers = modifiers || {}; for (let [command, args] in commands.parseCommands(str.replace(/^'(.*)'$/, "$1"))) { if (command === null) ...
sourcing = sourcing || { file: "[Command Line]", line: 1 };
sourcing = sourcing || this.sourcing || { file: "[Command Line]", line: 1 };
execute: function (string, tokens, silent, args, sourcing) { io.withSavedValues(["readHeredoc", "sourcing"], function () { sourcing = sourcing || { file: "[Command Line]", line: 1 }; this.sourcing = update({}, sourcing); args = update({}, args || {}); if (tokens) ...
if (!silent) commandline.command = str.replace(/^\s*:\s*/, "");
execute: function (str, modifiers, silent) { // skip comments and blank lines if (/^\s*("|$)/.test(str)) return; modifiers = modifiers || {}; for (let [command, args] in commands.parseCommands(str.replace(/^'(.*)'$/, "$1"))) { if (command === null) th...
execute: function() { this.callback(this); },
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(...
execute: function() { this.callback(this); },
if (!controller || !controller.supportsCommand(cmd) || !controller.isCommandEnabled(cmd)) { dactyl.beep(); return false; }
dactyl.assert(controller && controller.supportsCommand(cmd) && controller.isCommandEnabled(cmd));
executeCommand: function (cmd, count) { let controller = Editor.getController(); if (!controller || !controller.supportsCommand(cmd) || !controller.isCommandEnabled(cmd)) { dactyl.beep(); return false; } if (typeof count != "number" || count < 1) count = ...
if (!didCommand) dactyl.beep(); return false;
dactyl.assert(didCommand); break;
executeCommand: function (cmd, count) { let controller = Editor.getController(); if (!controller || !controller.supportsCommand(cmd) || !controller.isCommandEnabled(cmd)) { dactyl.beep(); return false; } if (typeof count != "number" || count < 1) count = ...
return true;
executeCommand: function (cmd, count) { let controller = Editor.getController(); if (!controller || !controller.supportsCommand(cmd) || !controller.isCommandEnabled(cmd)) { dactyl.beep(); return false; } if (typeof count != "number" || count < 1) count = ...
function executeCommand(str) {
function executeCommand(str, prefixArg) {
function executeCommand(str) { let parsed = parseCommand(str, true); if (parsed.cmd) { let left = str.slice(parsed.queryStart); let [args, state] = completer.utils.lex(left); if (parsed.cmd in commands) { ...
whole : str
whole : str, count : prefixArg
function executeCommand(str) { let parsed = parseCommand(str, true); if (parsed.cmd) { let left = str.slice(parsed.queryStart); let [args, state] = completer.utils.lex(left); if (parsed.cmd in commands) { ...
let foundWord = text.substring(0, currStart).replace(RegExp("^(.|\\n)*?\\s*(" + abbreviations._match + ")$", "m"), "$2");
let foundWord = text.substring(0, currStart).replace(/.*\n/gm, '').match(RegExp('(' + abbreviations._match + ')$'), '');
expandAbbreviation: function (mode) { let textbox = Editor.getEditor(); if (!textbox) return false; let text = textbox.value; let currStart = textbox.selectionStart; let currEnd = textbox.selectionEnd; let foundWord = text.substring(0, currStart).replace...
foundWord = foundWord[0];
expandAbbreviation: function (mode) { let textbox = Editor.getEditor(); if (!textbox) return false; let text = textbox.value; let currStart = textbox.selectionStart; let currEnd = textbox.selectionEnd; let foundWord = text.substring(0, currStart).replace...
expandable: function(options) { options = $.extend({ duration: 'normal', interval: 750, within: 1, by: 2, init: false }, options); return this.filter('textarea').each(function() { var $this = $(this).css({ display: 'block', overflow: 'hidden' }), minHeight = $this.height(), interval, heightDiff = this.offsetHeight - mi...
expandable: function(givenOptions) { var options = $.extend({ duration: 'normal', interval: 750, within: 1, by: 2, init: false }, givenOptions); return this.filter('textarea').each(function() { var $this = $(this).css({ display: 'block', overflow: 'hidden' }), minHeight = $this.height(), heightDiff = this.offsetHeight...
expandable: function(options) { options = $.extend({ duration: 'normal', interval: 750, within: 1, by: 2, init: false }, options); return this.filter('textarea').each(function() { var $this = $(this).css({ display: 'block', overflow: 'hidden' }), minHeight = $this.height(), interval, heightDiff = this.offsetHeight...
function check() { var text = $this.val(), newHeight, height, usedHeight, usedRows, availableRows; $div.html( text.replace(/\n/g, '&nbsp;<br>').replace(/<(\/?)scrip/g,'<$1scirp') ); height = $this[0].offsetHeight - heightDiff; usedHeight = $div[0].offsetHeight - heightDiff; usedRows = Math.floor(usedHeight / rowSize); ...
function check() { var text = $this.val(), newHeight, height, usedHeight, usedRows, availableRows; $mirror.html( encodeHTML(text).replace(/\n/g, '&nbsp;<br>') ); height = $this[0].offsetHeight - heightDiff; usedHeight = $mirror[0].offsetHeight - heightDiff; usedRows = Math.floor(usedHeight / rowSize); availableRows...
expandable: function(options) { options = $.extend({ duration: 'normal', interval: 750, within: 1, by: 2, init: false }, options); return this.filter('textarea').each(function() { var $this = $(this).css({ display: 'block', overflow: 'hidden' }), minHeight = $this.height(), interval, heightDiff = this.offsetHeight...
if (srcTable[moduleDef.filePath]) {
if (srcTable[moduleDef.path]) {
exports = function(path, moduleDef, opts) { opts = opts || {}; // prevent double import if (srcTable[moduleDef.filePath]) { moduleDef.src = ''; return; } srcTable[moduleDef.filePath] = true; var self = moduleDef.filePath; logger.info('> compiling', self, 'at path', path); if (opts.path) { if (JS.isArray(opts.path...
srcTable[moduleDef.filePath] = true;
srcTable[moduleDef.path] = true;
exports = function(path, moduleDef, opts) { opts = opts || {}; // prevent double import if (srcTable[moduleDef.filePath]) { moduleDef.src = ''; return; } srcTable[moduleDef.filePath] = true; var self = moduleDef.filePath; logger.info('> compiling', self, 'at path', path); if (opts.path) { if (JS.isArray(opts.path...
var self = moduleDef.filePath;
var self = moduleDef.path;
exports = function(path, moduleDef, opts) { opts = opts || {}; // prevent double import if (srcTable[moduleDef.filePath]) { moduleDef.src = ''; return; } srcTable[moduleDef.filePath] = true; var self = moduleDef.filePath; logger.info('> compiling', self, 'at path', path); if (opts.path) { if (JS.isArray(opts.path...
var match = jsioAddPath.exec(src);
var match = jsioAddPath.exec(moduleDef.src);
exports = function(path, moduleDef, opts) { opts = opts || {}; // prevent double import if (srcTable[moduleDef.filePath]) { moduleDef.src = ''; return; } srcTable[moduleDef.filePath] = true; var self = moduleDef.filePath; logger.info('> compiling', self, 'at path', path); if (opts.path) { if (JS.isArray(opts.path...
run(moduleDef.path, cmd, opts, inlineOpts);
run(moduleDef, cmd, opts, inlineOpts);
exports = function(path, moduleDef, opts) { opts = opts || {}; // prevent double import if (srcTable[moduleDef.filePath]) { moduleDef.src = ''; return; } srcTable[moduleDef.filePath] = true; var self = moduleDef.filePath; logger.info('> compiling', self, 'at path', path); if (opts.path) { if (JS.isArray(opts.path...
run(moduleDef.path, opts.dynamicImports[cmd], opts, inlineOpts);
var dynamicImports = opts.dynamicImports[cmd]; if (!dynamicImports) { logger.info('Dynamic import ' + cmd + ': <nothing>'); continue; } else if (JS.isArray(dynamicImports)) { for (var j = 0, line; line = dynamicImports[j]; ++j) { logger.info('Dynamic import ' + cmd + ': ' + line); run(moduleDef, line, opts, inlineOpts)...
exports = function(path, moduleDef, opts) { opts = opts || {}; // prevent double import if (srcTable[moduleDef.filePath]) { moduleDef.src = ''; return; } srcTable[moduleDef.filePath] = true; var self = moduleDef.filePath; logger.info('> compiling', self, 'at path', path); if (opts.path) { if (JS.isArray(opts.path...
srcTable[moduleDef.filePath] = JS.shallowCopy(moduleDef);
srcTable[moduleDef.path] = JS.shallowCopy(moduleDef);
exports = function(path, moduleDef, opts) { opts = opts || {}; // prevent double import if (srcTable[moduleDef.filePath]) { moduleDef.src = ''; return; } srcTable[moduleDef.filePath] = true; var self = moduleDef.filePath; logger.info('> compiling', self, 'at path', path); if (opts.path) { if (JS.isArray(opts.path...
exports = function(src) { return src.replace(importExpr, '$1jsio("$2");');
exports = function(path, moduleDef, opts) { moduleDef.src = moduleDef.src.replace(importExpr, '$1jsio("$2");');
exports = function(src) { return src.replace(importExpr, '$1jsio("$2");');}
result.prototype.baseThemeClass = this;
result.themes = {}; result.baseTheme = this;
extend: function() { var result = SC.Object.extend.apply(this, arguments); result.prototype.baseThemeClass = this; result.prototype.themeClass = result; // a convenience. result.renderers = result.prototype; // make a renderers object so you don't keep typing .prototype.whatever return result; },
if (value instanceof Function && !value.superclass && (value !== (cur=this[key]))) {
if (value instanceof Function && !value.base && (value !== (cur=this[key]))) {
extend: function(ext) { var ret = SC.mixin(SC.beget(this), ext), key, value, cur; ret.superclass = this; for(key in ret) { value = ret[key]; if (value instanceof Function && !value.superclass && (value !== (cur=this[key]))) { value.base = cur; } } return ret; },
if (last && last.theme) {
if (last && !SC.none(last.theme)) {
extend: function() { var last = arguments[arguments.length - 1]; if (last && last.theme) { last.themeName = last.theme; delete last.theme; } return SC.Object.extend.apply(this, arguments); },
c(null)},push:ea,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,i,j,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b<d;b++)if((e=arguments[b])!=...
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"&...
c(null)},push:ea,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,i,j,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b<d;b++)if((e=arguments[b])!=...
Object.extend = function(destination, source) { for (var property in source) destination[property] = source[property]; return destination; };
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(...
Object.extend = function(destination, source) { for (var property in source) destination[property] = source[property]; return destination;};
function extended() options.extendedhinttags;
function extended() options["extendedhinttags"];
function extended() options.extendedhinttags;
context.keys = { text: "name", description: "description", icon: "icon" }, context.completions = liberator.extensions;
context.keys = { text: "name", description: "description", icon: "iconURL" }, context.incomplete = true; AddonManager.getAddonsByTypes(["extension"], function (addons) { context.incomplete = false; context.completions = addons; });
completion.extension = function extension(context) { context.title = ["Extension"]; context.anchored = false; context.keys = { text: "name", description: "description", icon: "icon" }, context.completions = liberator.extensions; };
return this.getForm(endpoint).addCallback(function(form){
return this.getForm(ctx, endpoint).addCallback(function(form){
extractByEndpoint : function(ctx, endpoint){ var self = this; return this.getForm(endpoint).addCallback(function(form){ return update({ type : form['post[type]'], item : ctx.title, itemUrl : ctx.href, favorite : { name : 'Tumblr', ...
return this.extractByEndpoint(ctx, unescapeHTML(this.getFrameUrl(doc)).replace(/.+&pid=(.*)&rk=(.*)/, this.TUMBLR_URL+'reblog/$1/$2'));
var m = unescapeHTML(this.getFrameUrl(doc)).match(/.+&pid=([^&]*)&rk=([^&]*)/); return this.extractByEndpoint(ctx, this.TUMBLR_URL + 'reblog/' + m[1] + '/' + m[2]);
extractByPage : function(ctx, doc){ return this.extractByEndpoint(ctx, unescapeHTML(this.getFrameUrl(doc)).replace(/.+&pid=(.*)&rk=(.*)/, this.TUMBLR_URL+'reblog/$1/$2')); },
extractScripts: function() { var matchAll = new RegExp(Prototype.ScriptFragment, 'img'); var matchOne = new RegExp(Prototype.ScriptFragment, 'im'); return (this.match(matchAll) || []).map(function(scriptTag) { return (scriptTag.match(matchOne) || ['', ''])[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(...
extractScripts: function() { var matchAll = new RegExp(Prototype.ScriptFragment, 'img'); var matchOne = new RegExp(Prototype.ScriptFragment, 'im'); return (this.match(matchAll) || []).map(function(scriptTag) { return (scriptTag.match(matchOne) || ['', ''])[1]; }); },
equals(g2, 'ARG2', 'arg2') ;
equals(g2, 'ARG2', 'arg2') ; equals(target, o, 'target') ;
var f = function f() { if (!fired && --tries >= 0) { setTimeout(f, 100) ; return ; } equals(YES, fired, 'did not fire') ; equals(g1, 'ARG1', 'arg1') ; equals(g2, 'ARG2', 'arg2') ; window.start() ; // starts the test runner } ;
null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(i){return e.step(i)}this.startTime=K();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;var e=thi...
c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseF...
null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(i){return e.step(i)}this.startTime=K();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;var e=thi...
var that = this, func = f ; f = function() { return func.apply(that, args.slice(1)); } ;
var func = f ; f = function() { return func.apply(this, args.slice(1)); } ;
var f = this; if (arguments.length > 2) { var args = SC.$A(arguments).slice(2,arguments.length); args.unshift(target); // f = f.bind.apply(f, args) ; var that = this, func = f ; f = function() { return func.apply(that, args.slice(1)); } ;
cb=/,/;R=Array.prototype.slice;var Fa=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,i){return!!b.call(e,i,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Pa.test(b))return c.filter(b,f,!d);else ...
if(!c.support.changeBubbles){var da=/textarea|input|select/i,ea,Fa=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;r...
cb=/,/;R=Array.prototype.slice;var Fa=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,i){return!!b.call(e,i,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Pa.test(b))return c.filter(b,f,!d);else ...
c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var f=d?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(L("toggle",3),a,b);return this},fadeTo:function(a,b,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d)},animate:function(...
"olddisplay",c.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var f=d?a:c(this).is(":hidden");...
c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var f=d?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(L("toggle",3),a,b);return this},fadeTo:function(a,b,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d)},animate:function(...
let wasFeeding = this.feedingKeys; this.feedingKeys = true; this.duringFeed = this.duringFeed || []; let wasQuiet = commandline.quiet; if (quiet) commandline.quiet = quiet;
var wasQuiet = commandline.quiet; if (quiet) commandline.quiet = quiet;
feedkeys: function (keys, noremap, quiet, mode) { let wasFeeding = this.feedingKeys; this.feedingKeys = true; this.duringFeed = this.duringFeed || []; let wasQuiet = commandline.quiet; if (quiet) commandline.quiet = quiet; try { util.threadYield(1, tru...
try {
feedkeys: function (keys, noremap, quiet, mode) { let wasFeeding = this.feedingKeys; this.feedingKeys = true; this.duringFeed = this.duringFeed || []; let wasQuiet = commandline.quiet; if (quiet) commandline.quiet = quiet; try { util.threadYield(1, tru...
evt.target.dispatchEvent(evt);
events.dispatch(evt.target, evt);
feedkeys: function (keys, noremap, quiet) { let doc = window.document; let view = window.document.defaultView; let wasFeeding = this.feedingKeys; this.feedingKeys = true; this.duringFeed = this.duringFeed || []; let wasQuiet = commandline.quiet; if (quiet) ...
delete evt_obj.type;
feedkeys: function (keys, noremap, quiet) { let doc = window.document; let view = window.document.defaultView; let wasFeeding = this.feedingKeys; this.feedingKeys = true; this.duringFeed = this.duringFeed || []; let wasQuiet = commandline.quiet; if (quiet) ...
let evt = events.create(doc, type, evt_obj);
let evt = this.feedingEvent = update({}, evt_obj, { type: type });
feedkeys: function (keys, noremap, quiet) { let doc = window.document; let view = window.document.defaultView; let wasFeeding = this.feedingKeys; this.feedingKeys = true; this.duringFeed = this.duringFeed || []; let wasQuiet = commandline.quiet; if (quiet) ...
elem.dispatchEvent(evt); else {
window.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIDOMWindowUtils) .sendKeyEvent(type, evt.keyCode, evt.charCode, evt.modifiers); else {
feedkeys: function (keys, noremap, quiet) { let doc = window.document; let view = window.document.defaultView; let wasFeeding = this.feedingKeys; this.feedingKeys = true; this.duringFeed = this.duringFeed || []; let wasQuiet = commandline.quiet; if (quiet) ...
this.feedingEvent = null;
feedkeys: function (keys, noremap, quiet) { let doc = window.document; let view = window.document.defaultView; let wasFeeding = this.feedingKeys; this.feedingKeys = true; this.duringFeed = this.duringFeed || []; let wasQuiet = commandline.quiet; if (quiet) ...
events.dispatch(dactyl.focus || buffer.focusedFrame, event);
events.dispatch(dactyl.focusedElement || buffer.focusedFrame, event);
feedkeys: function (keys, noremap, quiet) { let wasFeeding = this.feedingKeys; this.feedingKeys = true; this.duringFeed = this.duringFeed || []; let wasQuiet = commandline.quiet; if (quiet) commandline.quiet = quiet; try { util.threadYield(1, true); ...
try { return fs.readFileSync(path); } catch(e) {}
try { return fs.readFileSync(path, 'utf8'); } catch(e) {}
this.fetch = function(path) { try { return fs.readFileSync(path); } catch(e) {} return false; }
this.fetch = function(filePath) { try { return fs.readFileSync(filePath); } catch(e) {}
this.fetch = function(path) { try { return fs.readFileSync(path); } catch(e) {}
this.fetch = function(filePath) { try { return fs.readFileSync(filePath); } catch(e) {} return false; }
log(ext.name); try{ maybeDeferred(ext.extract(TBRL.ctx)) .addCallback(function(ps){ TBRL.openQuickPostForm(ps); }).addErrback(function(e){ console.log(e); }); }catch(e){}
var ctx = TBRL.ctx; TBRL.field_delete(); return TBRL.share(ctx, ext, true); } else { TBRL.field_delete(); return succeed();
field_clicked: function(ev){ var button = $X('./ancestor-or-self::button[@class="taberareloo_button"]', ev.target)[0]; if(button){ var index = TBRL.buttons.indexOf(button); var ext = TBRL.exts[index]; log(ext.name); try{ maybeDeferred(ext.extract(TBRL.ctx)) .addCallback(functio...
TBRL.field_delete();
field_clicked: function(ev){ var button = $X('./ancestor-or-self::button[@class="taberareloo_button"]', ev.target)[0]; if(button){ var index = TBRL.buttons.indexOf(button); var ext = TBRL.exts[index]; log(ext.name); try{ maybeDeferred(ext.extract(TBRL.ctx)) .addCallback(functio...
completion.file = function file(context, full, dir) {
completion.file = function file(context, args, full, dir) {
completion.file = function file(context, full, dir) { // dir == "" is expanded inside readDirectory to the current dir [dir] = (dir || context.filter).match(/^(?:.*[\/\\])?/); if (!full) context.advance(dir.length); context.title = [full ? "Path" : "Fil...
context.match = function (str) { let filter = this.filter; if (!filter) return true; if (this.ignoreCase) { filter = filter.toLowerCase(); str = str.toLowerCase(); } return str.substr(0, filter.length) === filter; };
completion.file = function file(context, full) { // dir == "" is expanded inside readDirectory to the current dir let [dir] = context.filter.match(/^(?:.*[\/\\])?/); if (!full) context.advance(dir.length); context.title = [full ? "Path" : "Filename", "T...
console.log(fieldname);
function fileClick(e) { try { var image = e.target; if (!$(image).is('img')) { if (!$(image).is('a')) { image = $(image).parent(); } image = $(image).find('img'); } var fieldname = $('body').attr('widget_field_id'); fieldname = fieldname.replace('_link', ''); ...
console.log(fieldname);
function fileClick(e) {//console.log('file clicked'); try { var image = e.target; if (!$(image).is('img')) { if (!$(image).is('a')) { image = $(image).parent(); } image = $(image).find('img'); }//console.log('image : ' + image); var fieldname = $('body').attr('widg...
filter: function ({ item: e }) e.enabled
filter: function ({ item: e }) !e.userDisabled
filter: function ({ item: e }) e.enabled }
for(var q=0,v=n.order.length;q<v;q++){var u=n.order[q];if(r=n.leftMatch[u].exec(g)){var y=r[1];r.splice(1,1);if(y.substr(y.length-1)!=="\\"){r[1]=(r[1]||"").replace(/\\/g,"");m=n.find[u](r,h,k);if(m!=null){g=g.replace(n.match[u],"");break}}}}m||(m=h.getElementsByTagName("*"));return{set:m,expr:g}};p.filter=function(g,h...
for(var p=0,v=n.order.length;p<v;p++){var t=n.order[p];if(q=n.leftMatch[t].exec(g)){var y=q[1];q.splice(1,1);if(y.substr(y.length-1)!=="\\"){q[1]=(q[1]||"").replace(/\\/g,"");m=n.find[t](q,h,l);if(m!=null){g=g.replace(n.match[t],"");break}}}}m||(m=h.getElementsByTagName("*"));return{set:m,expr:g}};k.filter=function(g,h...
for(var q=0,v=n.order.length;q<v;q++){var u=n.order[q];if(r=n.leftMatch[u].exec(g)){var y=r[1];r.splice(1,1);if(y.substr(y.length-1)!=="\\"){r[1]=(r[1]||"").replace(/\\/g,"");m=n.find[u](r,h,k);if(m!=null){g=g.replace(n.match[u],"");break}}}}m||(m=h.getElementsByTagName("*"));return{set:m,expr:g}};p.filter=function(g,h...
let str = this.bootstrap(pattern);
let str = this.bootstrap(pattern, backwards);
find: function (pattern, backwards) { let str = this.bootstrap(pattern); if (!this.rangeFind.search(str)) this.timeout(function () { dactyl.echoerr("E486: Pattern not found: " + pattern); }, 0); return this.rangeFind.found; },
(E||g);if(i.call(y)==="[object Array]")if(I)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&F(h,y[g])))k.push(u[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&k.push(u[g]);else k.push.apply(k,y);else B(y,k);if(S){p(S,r,k,m);p.uniqueSort(k)}return k};p.uniqueSort=function...
g);if(j.call(y)==="[object Array]")if(H)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&E(h,y[g])))l.push(t[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&l.push(t[g]);else l.push.apply(l,y);else z(y,l);if(S){k(S,q,l,m);k.uniqueSort(l)}return l};k.uniqueSort=function(g){...
(E||g);if(i.call(y)==="[object Array]")if(I)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&F(h,y[g])))k.push(u[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&k.push(u[g]);else k.push.apply(k,y);else B(y,k);if(S){p(S,r,k,m);p.uniqueSort(k)}return k};p.uniqueSort=function...
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);
jQuery.fn.find = function(selector) { // if we are not currently buffering, don't bother with this crap. if (jQuery._isBuffering <= 0) return jQuery.fn._jqb_originalFind.call(this, selector); var ret = jQuery.buffer(), length = 0; for ( var i = 0, l = this.length; i < l; i++ ) { length = ret.length; jQuery.find( ...
else if (this.rangeFind.wrapped) {
else if (this.rangeFind.wrapped)
findAgain: function (reverse) { if (!this.rangeFind) this.find(this.lastSearchPattern); else if (!this.rangeFind.search(null, reverse)) dactyl.echoerr("E486: Pattern not found: " + this.lastSearchPattern); else if (this.rangeFind.wrapped) { // hack needed, becau...
commandline.echo(msg, commandline.HL_WARNINGMSG, commandline.APPEND_TO_MESSAGES);
commandline.echo(msg, commandline.HL_WARNINGMSG, commandline.APPEND_TO_MESSAGES | commandline.FORCE_SINGLELINE);
findAgain: function (reverse) { if (!this.rangeFind) this.find(this.lastSearchPattern); else if (!this.rangeFind.search(null, reverse)) dactyl.echoerr("E486: Pattern not found: " + this.lastSearchPattern); else if (this.rangeFind.wrapped) { // hack needed, becau...
}
findAgain: function (reverse) { if (!this.rangeFind) this.find(this.lastSearchPattern); else if (!this.rangeFind.search(null, reverse)) dactyl.echoerr("E486: Pattern not found: " + this.lastSearchPattern); else if (this.rangeFind.wrapped) { // hack needed, becau...
findChildElements: function(element, expressions) { expressions = Selector.split(expressions.join(',')); var results = [], h = Selector.handlers; for (var i = 0, l = expressions.length, selector; i < l; i++) { selector = new Selector(expressions[i].strip()); h.concat(results, selector.findElements(element)); } return (...
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(...
findChildElements: function(element, expressions) { expressions = Selector.split(expressions.join(',')); var results = [], h = Selector.handlers; for (var i = 0, l = expressions.length, selector; i < l; i++) { selector = new Selector(expressions[i].strip()); h.concat(results, selector.findElements(...
switch(SC.typeOf(value)) {
switch(type) {
function findClassNames() { if (SC._object_foundObjectClassNames) return ; SC._object_foundObjectClassNames = true ; var seen = [] ; var detectedSC = false; var searchObject = function(root, object, levels) { levels-- ; // not the fastest, but safe if (seen.indexOf(object) >= 0) return ; seen.push(obje...
findElement: function(event, expression) { var element = Event.element(event); if (!expression) return element; var elements = [element].concat(element.ancestors()); return Selector.findElement(elements, expression, 0); },
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(...
findElement: function(event, expression) { var element = Event.element(event); if (!expression) return element; var elements = [element].concat(element.ancestors()); return Selector.findElement(elements, expression, 0); },
findElements: function(root) { root = root || document; var e = this.expression, results; switch (this.mode) { case 'selectorsAPI': if (root !== document) { var oldId = root.id, id = $(root).identify(); e = "#" + id + " " + e; } results = $A(root.querySelectorAll(e)).map(Element.extend); root.id = oldId; return r...
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(...
findElements: function(root) { root = root || document; var e = this.expression, results; switch (this.mode) { case 'selectorsAPI': // querySelectorAll queries document-wide, then filters to descendants // of the context element. That's not what we want. // Add an explicit context t...
findFirstElement: function(form) { var elements = $(form).getElements().findAll(function(element) { return 'hidden' != element.type && !element.disabled; }); var firstByIndex = elements.findAll(function(element) { return element.hasAttribute('tabIndex') && element.tabIndex >= 0; }).sortBy(function(element) { return ele...
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(...
findFirstElement: function(form) { var elements = $(form).getElements().findAll(function(element) { return 'hidden' != element.type && !element.disabled; }); var firstByIndex = elements.findAll(function(element) { return element.hasAttribute('tabIndex') && element.tabIndex >= 0; }).sortBy(functi...
if (topic in services.get("dactyl:").FILE_MAP)
if (!unchunked && topic in services.get("dactyl:").FILE_MAP)
findHelp: function (topic, unchunked) { if (topic in services.get("dactyl:").FILE_MAP) return topic; unchunked = !!unchunked; let items = completion._runCompleter("help", topic, null, unchunked).items; let partialMatch = null; function format(item) item.description + "#...
if (typeof name == "number")
if (isinstance(name, Number))
function findMode(name) { if (typeof name == "number") return name; for (let mode in modes.mainModes) if (name == mode.char || name == mode.name.toLowerCase()) return mode.mask; return null; ...
function findModule(possibilities) {
function findModule(possibilities, opts) {
function findModule(possibilities) { var src; for (var i = 0, possible; possible = possibilities[i]; ++i) { var path = possible.filePath, cachedVersion = sourceCache[path]; if (cachedVersion) { return cachedVersion; } /*if (/^\.\//.test(path)) { // remove one path segment for each dot from the cwd ...
var path = possible.filePath,
var path = possible.path,
function findModule(possibilities) { var src; for (var i = 0, possible; possible = possibilities[i]; ++i) { var path = possible.filePath, cachedVersion = sourceCache[path]; if (cachedVersion) { return cachedVersion; } /*if (/^\.\//.test(path)) { // remove one path segment for each dot from the cwd ...
if (cachedVersion) { return cachedVersion; }
if (cachedVersion && !opts.reload) { return cachedVersion; }
function findModule(possibilities) { var src; for (var i = 0, possible; possible = possibilities[i]; ++i) { var path = possible.filePath, cachedVersion = sourceCache[path]; if (cachedVersion) { return cachedVersion; } /*if (/^\.\//.test(path)) { // remove one path segment for each dot from the cwd ...
if (cachedVersion && !opts.reload) { return cachedVersion; }
if (cachedVersion) { possible.src = cachedVersion.src; return possible; }
function findModule(possibilities, opts) { var src; for (var i = 0, possible; possible = possibilities[i]; ++i) { var path = possible.path, cachedVersion = sourceCache[path]; if (cachedVersion && !opts.reload) { return cachedVersion; } /*if (/^\.\//.test(path)) { // remove one path segment for each...
src = ENV.fetch(possible.filePath);
var path = possible.filePath, cachedVersion = sourceCache[path]; if (cachedVersion) { return cachedVersion; } src = ENV.fetch(path);
function findModule(possibilities) { var src; for (var i = 0, possible; possible = possibilities[i]; ++i) { src = ENV.fetch(possible.filePath); if (src !== false) { possible.src = src; return possible; } } return false; }
if (pattern.hostnameExact)
if (pattern.hostnameExact || (url.hostname.length == 0))
findPatternForUrl : function(url) { for(var i = 0 ;i < this.urlPatterns.length ; i++ ) { var hostMatch = false; var pattern = this.urlPatterns[i]; if (pattern.hostnameExact) { if (url.hostname == pattern.hostname) hostMat...
if (url.hostname == pattern.hostname)
if (pattern.hostname == url.hostname) {
findPatternForUrl : function(url) { for(var i = 0 ;i < this.urlPatterns.length ; i++ ) { var hostMatch = false; var pattern = this.urlPatterns[i]; if (pattern.hostnameExact) { if (url.hostname == pattern.hostname) hostMat...
(pattern.pathnamePrefix && url.pathname == pattern.pathname) || (url.pathname.indexOf(pattern.pathname) == 0))
((pattern.pathnamePrefix && (url.pathname == pattern.pathname)) || (url.pathname.indexOf(pattern.pathname) == 0)))
findPatternForUrl : function(url) { for(var i = 0 ;i < this.urlPatterns.length ; i++ ) { var hostMatch = false; var pattern = this.urlPatterns[i]; if (pattern.hostnameExact) { if (url.hostname == pattern.hostname) hostMat...
r.window == win && r.range.compareBoundaryPoints(Range.START_TO_END, range) >= 0 && r.range.compareBoundaryPoints(Range.END_TO_START, range) <= 0);
r.window == win && RangeFind.contains(r.range, range));
findRange: function (range) { let doc = range.startContainer.ownerDocument; let win = doc.defaultView; let ranges = this.ranges.filter(function (r) r.window == win && r.range.compareBoundaryPoints(Range.START_TO_END, range) >= 0 && r.range.compareBoundaryPoints(...
let r = doc.createRange(); r.selectNode(elem); if (range.compareBoundaryPoints(Range.START_TO_END, r) >= 0 && range.compareBoundaryPoints(Range.END_TO_START, r) <= 0)
let r = RangeFind.nodeRange(elem); if (RangeFind.contains(range, r))
findSubRanges: function (range) { let doc = range.startContainer.ownerDocument; for (let elem in util.evaluateXPath(this.elementPath, doc)) { let r = doc.createRange(); r.selectNode(elem); if (range.compareBoundaryPoints(Range.START_TO_END, r) >= 0 && ra...
if (doctest._AbortCalled) { logWarn('Abort() called'); return; }
var finishThisRun = function () { self.finishRun(example); self.runParsed(parsed, index+1, finishedCallback); };
stop(ev); var item = this.getCurrentItem(); if(!item) return null; var sel = createFlavoredString(window.getSelection()); var ctx = update({ document : document, window : window, selection : (!!sel.raw)? sel : null, target : item.target, event : {}, title : null, mouse : null, menu : null }, win...
if(!('selectionStart' in ev.target && ev.target.disabled !== true)){ var item = this.getCurrentItem(); if(!item) return null; stop(ev); var sel = createFlavoredString(window.getSelection()); var ctx = update({ document : document, window : window, selection : (!!sel.raw)? sel : null, target : item.target, event ...
fire : function(ev){ var key = keyString(ev); if(key !== this.key) return null; stop(ev); var item = this.getCurrentItem(); if(!item) return null; var sel = createFlavoredString(window.getSelection()); var ctx = update({ document : document, window : window, ...
addElementClass(item.parent, 'TBRL_posted'); var ext = Extractors.check(ctx)[0]; return TBRL.share(ctx, ext, ext.name.match(/^Link /));
fire : function(ev){ var key = keyString(ev); if(key !== this.key) return null; stop(ev); var item = this.getCurrentItem(); if(!item) return null; var sel = createFlavoredString(window.getSelection()); var ctx = update({ document : document, window : window, ...
selection : createFlavoredString(window.getSelection()),
selection : (!!sel.raw) sel : null,
fire : function(ev){ var key = keyString(ev); if(key !== this.key) return null; stop(ev); var item = this.getCurrentItem(); if(!item) return null; var ctx = update({ document : document, window : window, selection : createFlavoredString(window.getSelection()),...
selection : window.getSelection(),
selection : createFlavoredString(window.getSelection()),
fire : function(ev){ var key = keyString(ev); if(key !== this.key) return null; stop(ev); var item = this.getCurrentItem(); if(!item) return null; var ctx = update({ document : document, window : window, selection : window.getSelection(), target : it...
var selector = ''; $.each(AjaxHooks.updatedDomIds, function() { selector += '#' + this + ','; });
var selector = AjaxHooks.updatedDomIds.join(',');
firePostAjax: function() { if (AjaxHooks.updatedDomIds.length) { // Select the updated elements by ID. var selector = ''; $.each(AjaxHooks.updatedDomIds, function() { selector += '#' + this + ','; }); // Invoke the callbacks passing the elements. var updatedDomElements = $(selector); $.each(AjaxHooks...
first: function() { return this[0]; },
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 ...
first: function() { return this[0]; },
firstDescendant: function(element) { element = $(element).firstChild; while (element && element.nodeType != 1) element = element.nextSibling; 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(...
firstDescendant: function(element) { element = $(element).firstChild; while (element && element.nodeType != 1) element = element.nextSibling; return $(element); },
if(this.get('canSelectGroups')) return objects.get('firstObject');
firstSelectableObject: function() { var objects = this.get('arrangedObjects'), indexes, len, idx = 0; if (!objects) return null; // fast track indexes = objects.contentGroupIndexes(null, objects); len = objects.get('length'); while(indexes.contains(idx) && (idx<len)) idx++; re...
this._hideOverflow();
fitPositionToScreen: function(preferredPosition, picker, anchor) { // get window rect. //if(this._prefPosX && this._prefPosY) var wsize = SC.RootResponder.responder.computeWindowSize(), wret = { x: 0, y: 0, width: wsize.width, height: wsize.height } ; picker.x = preferredPosition.x ; pi...
props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement...
fix:function(a){if(a[G])return a;var b=a;a=c.Event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcElement||s;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX...
props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement...
flowPositionView: function(idx, item, x, y) { var spacing = item._scfl_cachedFlowSpacing, size = item._scfl_cachedCalculatedFlowSize; var last = this._scfl_itemLayouts[SC.guidFor(item)];
flowPositionView: function(idx, item, x, y, width, height) { var last = this._scfl_itemLayouts[SC.guidFor(item)], spacing = item._scfl_cachedSpacing;
flowPositionView: function(idx, item, x, y) { var spacing = item._scfl_cachedFlowSpacing, size = item._scfl_cachedCalculatedFlowSize; var last = this._scfl_itemLayouts[SC.guidFor(item)]; var l = { left: x + spacing.left, top: y + spacing.top, width: size.width, height: size.hei...
top: y + spacing.top, width: size.width, height: size.height
top: y + spacing.top
flowPositionView: function(idx, item, x, y) { var spacing = item._scfl_cachedFlowSpacing, size = item._scfl_cachedCalculatedFlowSize; var last = this._scfl_itemLayouts[SC.guidFor(item)]; var l = { left: x + spacing.left, top: y + spacing.top, width: size.width, height: size.hei...