rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
"number")e=this.nthLine(e);this.selectLines(e,0);this.win.focus()},currentLine:function(){return this.lineNumber(this.cursorLine())},cursorLine:function(){return this.cursorPosition().line},cursorCoords:function(e){return this.editor.cursorCoords(e)},activateLineNumbers:function(){function e(){if(f.offsetWidth!=0){for(...
"number")a=this.nthLine(a);this.selectLines(a,0);this.win.focus()},currentLine:function(){return this.lineNumber(this.cursorLine())},cursorLine:function(){return this.cursorPosition().line},cursorCoords:function(a){return this.editor.cursorCoords(a)},activateLineNumbers:function(){function a(){if(d.offsetWidth!=0){for(...
"number")e=this.nthLine(e);this.selectLines(e,0);this.win.focus()},currentLine:function(){return this.lineNumber(this.cursorLine())},cursorLine:function(){return this.cursorPosition().line},cursorCoords:function(e){return this.editor.cursorCoords(e)},activateLineNumbers:function(){function e(){if(f.offsetWidth!=0){for(...
offset:0},{node:b,offset:0})},cursorActivity:function(a){if(this.unloaded){window.document.designMode="off";window.document.designMode="on";this.unloaded=false}if(internetExplorer){this.container.createTextRange().execCommand("unlink");this.selectionSnapshot=select.getBookmark(this.container)}var b=this.options.cursorA...
d}else if(d)j=p*d;if(j)b.wrapping.style.height=Math.max(m+j,b.options.minHeight)+"px"}var b=this,c=b.options.cursorActivity,e=b.win,g=e.document.body,d=null,f=null,m=2*b.frame.offsetTop;g.style.overflowY="hidden";e.document.documentElement.style.overflowY="hidden";this.frame.scrolling="no";setTimeout(a,300);b.options.c...
offset:0},{node:b,offset:0})},cursorActivity:function(a){if(this.unloaded){window.document.designMode="off";window.document.designMode="on";this.unloaded=false}if(internetExplorer){this.container.createTextRange().execCommand("unlink");this.selectionSnapshot=select.getBookmark(this.container)}var b=this.options.cursorA...
d);webkitLastLineHack(this.container)}},cursorCoords:function(a){function b(j,l){var m=-(document.body.scrollTop||document.documentElement.scrollTop||0),r=-(document.body.scrollLeft||document.documentElement.scrollLeft||0)+l;forEach([j,window.frameElement],function(u){for(;u;){r+=u.offsetLeft;m+=u.offsetTop;u=u.offsetP...
"number")a=this.nthLine(a);this.selectLines(a,0);this.win.focus()},currentLine:function(){return this.lineNumber(this.cursorLine())},cursorLine:function(){return this.cursorPosition().line},cursorCoords:function(a){return this.editor.cursorCoords(a)},activateLineNumbers:function(){function a(){if(d.offsetWidth!=0){for(...
d);webkitLastLineHack(this.container)}},cursorCoords:function(a){function b(j,l){var m=-(document.body.scrollTop||document.documentElement.scrollTop||0),r=-(document.body.scrollLeft||document.documentElement.scrollLeft||0)+l;forEach([j,window.frameElement],function(u){for(;u;){r+=u.offsetLeft;m+=u.offsetTop;u=u.offsetP...
},cursorPosition:function(a){if(a==null)a=true;return(a=select.cursorPos(this.container,a))?{line:a.node,character:a.offset}:{line:null,character:0}},firstLine:function(){return null},lastLine:function(){return this.container.lastChild?n(this.container.lastChild):null},nextLine:function(a){this.checkLine(a);return o(a,...
!this.lineNumbers){this.lineNumbers=E(this.wrapping,this.options.firstLineNumber);this.activateLineNumbers()}else if(!a&&this.lineNumbers){this.wrapping.removeChild(this.lineNumbers);this.wrapping.style.paddingLeft="";this.lineNumbers=null}},cursorPosition:function(a){this.focusIfIE();return this.editor.cursorPosition(...
},cursorPosition:function(a){if(a==null)a=true;return(a=select.cursorPos(this.container,a))?{line:a.node,character:a.offset}:{line:null,character:0}},firstLine:function(){return null},lastLine:function(){return this.container.lastChild?n(this.container.lastChild):null},nextLine:function(a){this.checkLine(a);return o(a,...
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...
k){y=m[u.sizset];break}if(u.nodeType===1&&!q){u.sizcache=k;u.sizset=r}if(u.nodeName.toLowerCase()===h){y=u;break}u=u[g]}m[r]=y}}}function d(g,h,k,m,r,q){r=0;for(var v=m.length;r<v;r++){var u=m[r];if(u){u=u[g];for(var y=false;u;){if(u.sizcache===k){y=m[u.sizset];break}if(u.nodeType===1){if(!q){u.sizcache=k;u.sizset=r}if...
if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1&&!p){t.sizcache=l;t.sizset=q}if(t.nodeName.toLowerCase()===h){y=t;break}t=t[g]}m[q]=y}}}function d(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(...
k){y=m[u.sizset];break}if(u.nodeType===1&&!q){u.sizcache=k;u.sizset=r}if(u.nodeName.toLowerCase()===h){y=u;break}u=u[g]}m[r]=y}}}function d(g,h,k,m,r,q){r=0;for(var v=m.length;r<v;r++){var u=m[r];if(u){u=u[g];for(var y=false;u;){if(u.sizcache===k){y=m[u.sizset];break}if(u.nodeType===1){if(!q){u.sizcache=k;u.sizset=r}if...
c(O):a(N)}function O(s,C){C=="in"?c(u):c(w,N)}function N(s,C){if(s==";")c(B);else C=="in"?c(u):c(u,j(";"),B)}function B(s){s==")"?a():c(u)}function D(s,C){if(s=="variable"){f(C);c(D)}else s=="("&&c(b,v(G,")"),r,d)}function G(s,C){if(s=="variable"){f(C);c()}}var F=tokenizeJavaScript(o),M=[n?m:l],J=null,K=new i((q||0)-in...
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%";...
c(O):a(N)}function O(s,C){C=="in"?c(u):c(w,N)}function N(s,C){if(s==";")c(B);else C=="in"?c(u):c(u,j(";"),B)}function B(s){s==")"?a():c(u)}function D(s,C){if(s=="variable"){f(C);c(D)}else s=="("&&c(b,v(G,")"),r,d)}function G(s,C){if(s=="variable"){f(C);c()}}var F=tokenizeJavaScript(o),M=[n?m:l],J=null,K=new i((q||0)-in...
d.guid,function(f){var e=f.target,i=e.type;if((i==="text"||i==="password")&&c(e).closest("form").length&&f.keyCode===13)return pa("submit",this,arguments)})}else return false},remove:function(a,b){c.event.remove(this,"click.specialSubmit"+(b?"."+b.guid:""));c.event.remove(this,"keypress.specialSubmit"+(b?"."+b.guid:"")...
isImmediatePropagationStopped:Y};var Da=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}}catch(d){}},Ea=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,...
d.guid,function(f){var e=f.target,i=e.type;if((i==="text"||i==="password")&&c(e).closest("form").length&&f.keyCode===13)return pa("submit",this,arguments)})}else return false},remove:function(a,b){c.event.remove(this,"click.specialSubmit"+(b?"."+b.guid:""));c.event.remove(this,"keypress.specialSubmit"+(b?"."+b.guid:"")...
this.addonID = this.name + "@dactyl.googlecode.com";
function Dactyl() { this.wrappedJSObject = this; this.HELP_TAGS = {}; this.FILE_MAP = {}; this.OVERLAY_MAP = {};}
Dactyl.prototype.__proto__ = Cc["@dactyl.googlecode.com/base/dactyl"].getService().wrappedJSObject;
function Dactyl() { this.wrappedJSObject = this; this.HELP_TAGS = {}; this.FILE_MAP = {}; this.OVERLAY_MAP = {}; this.addonID = this.name + "@dactyl.googlecode.com";}
require(global, "util");
function Dactyl() { this.wrappedJSObject = this; this.HELP_TAGS = {}; this.FILE_MAP = {}; this.OVERLAY_MAP = {}; this.pages = {}; Cu.import("resource://dactyl/base.jsm"); require(global, "prefs"); ["appName", "fileExt", "host", "hostbin", "idName", "name", "version"].forEach(function (pref) ...
this.addonID = this.name + "@dactyl.googlecode.com";
function Dactyl() { this.wrappedJSObject = this; this.HELP_TAGS = {}; this.FILE_MAP = {}; this.OVERLAY_MAP = {}; this.addonID = this.name + "@dactyl.googlecode.com"; this.pages = {}; for each (let pref in ["appName", "fileExt", "host", "hostbin", "idName", "name"]) this[pref] = prefs.getComp...
this.addonID = this.name + "@dactyl.googlecode.com";
function Dactyl() { this.wrappedJSObject = this; this.HELP_TAGS = {}; this.FILE_MAP = {}; this.OVERLAY_MAP = {}; this.addonID = this.name + "@dactyl.googlecode.com"; this.pages = {}; for each (let pref in ["appName", "fileExt", "host", "hostbin", "idName", "name"]) this[pref] = prefs.getComp...
for each (let pref in ["appName", "fileExt", "host", "hostbin", "idName", "name"]) this[pref] = prefs.getComplexValue(pref, Ci.nsISupportsString).data;
function Dactyl() { this.wrappedJSObject = this; this.HELP_TAGS = {}; this.FILE_MAP = {}; this.OVERLAY_MAP = {}; this.addonID = this.name + "@dactyl.googlecode.com"; this.pages = {};}
Dactyl.prototype.__proto__ = Cc["@dactyl.googlecode.com/base/dactyl"].getService().wrappedJSObject;
function Dactyl() { Dactyl.prototype.__proto__ = Cc["@dactyl.googlecode.com/base/dactyl"].getService().wrappedJSObject; this.wrappedJSObject = this; this.HELP_TAGS = {}; this.FILE_MAP = {}; this.OVERLAY_MAP = {}; this.addonID = this.name + "@dactyl.googlecode.com";}
dasherize: function() { return this.gsub(/_/,'-'); },
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(...
dasherize: function() { return this.gsub(/_/,'-'); },
this.invokeLater(this.set, 100, "delayedShow", this.get("show"));
this.invokeLater(this.set, 100, "nowShowing", this.get("show") || "welcome");
delayShow: function() { // wait a moment before loading to let things finish... this.invokeLater(this.set, 100, "delayedShow", this.get("show")); this.hideMasterPicker(); }.observes("show"),
return path.split('~').last(); }
return( path.split( '~' ).last() ); }
function DePath(path) { // Returns the last element in a tilda-separated path as produced by StaticSync for the various tree levels. return path.split('~').last(); }
function deprecated(reason, fn)
function deprecated(reason, fn) update(
function deprecated(reason, fn) function deprecatedMethod() { let frame = Components.stack.caller; if (!set.add(deprecated.seen, frame.filename)) dactyl.echoerr(frame.filename + ":" + frame.lineNumber + ": " + (this.className || this.constructor.className) + "." + fn.name + ...
if (!set.add(deprecated.seen, frame.filename))
if (!set.add(deprecatedMethod.seen, frame.filename))
function deprecated(reason, fn) function deprecatedMethod() { let frame = Components.stack.caller; if (!set.add(deprecated.seen, frame.filename)) dactyl.echoerr(frame.filename + ":" + frame.lineNumber + ": " + (this.className || this.constructor.className) + "." + fn.name + ...
} const Dactyl = Module("dactyl", {
}, { seen: { "chrome:
function deprecated(reason, fn) function deprecatedMethod() { let frame = Components.stack.caller; if (!set.add(deprecated.seen, frame.filename)) dactyl.echoerr(frame.filename + ":" + frame.lineNumber + ": " + (this.className || this.constructor.className) + "." + fn.name + ...
if (!set.add(deprecated.seen, frame.filename))
if (!set.add(deprecatedMethod.seen, frame.filename))
function deprecatedMethod() { let frame = Components.stack.caller; if (!set.add(deprecated.seen, frame.filename)) dactyl.echoerr(frame.filename + ":" + frame.lineNumber + ": " + (this.className || this.constructor.className) + "." + fn.name + " is deprecated: "...
}
},
function deprecatedMethod() { let frame = Components.stack.caller; if (!set.add(deprecated.seen, frame.filename)) dactyl.echoerr(frame.filename + ":" + frame.lineNumber + ": " + (this.className || this.constructor.className) + "." + fn.name + " is deprecated: "...
descendantOf: function(element, ancestor) { element = $(element), ancestor = $(ancestor); if (element.compareDocumentPosition) return (element.compareDocumentPosition(ancestor) & 8) === 8; if (ancestor.contains) return ancestor.contains(element) && ancestor !== element; while (element = element.parentNode) if (eleme...
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(...
descendantOf: function(element, ancestor) { element = $(element), ancestor = $(ancestor); if (element.compareDocumentPosition) return (element.compareDocumentPosition(ancestor) & 8) === 8; if (ancestor.contains) return ancestor.contains(element) && ancestor !== element; while (element = element....
descendants: function(element) { return $(element).select("*"); },
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(...
descendants: function(element) { return $(element).select("*"); },
var path=DePath(TreeNames[field][node]); var p=TreeParents[field][node]; while (p>-1) { path=DePath(TreeNames[field][p]) + " / " + path; var p=TreeParents[field][p]; } return path;
var path = DePath( TreeNames[field][node] ); var p = TreeParents[field][node]; while( p > -1 ) { path = DePath( TreeNames[field][p] ) + " / " + path; var p = TreeParents[field][p];
function DescribeNode(field,node) { // Returns a string containing the node's 'path' var path=DePath(TreeNames[field][node]); var p=TreeParents[field][node]; while (p>-1) { path=DePath(TreeNames[field][p]) + " / " + path; var p=TreeParents[field][p]; } return path; }
return( path ); }
function DescribeNode(field,node) { // Returns a string containing the node's 'path' var path=DePath(TreeNames[field][node]); var p=TreeParents[field][node]; while (p>-1) { path=DePath(TreeNames[field][p]) + " / " + path; var p=TreeParents[field][p]; } return path; }
description: function (item) self.getKey(obj, item),
description: function (item) self.getKey(args.obj, item),
description: function (item) self.getKey(obj, item),
function DeselectAll(field) { var i=0; for (i=0;i<TreeParents[field].length;i++) { TreeChecked[field][i]=0; } DrawTree(field); UpdateStatusBox(field); UpdateHiddenField(field);
function DeselectAll( field ) { for( var i = 0; i < TreeParents[field].length; i++ ) { TreeChecked[field][i] = 0;
function DeselectAll(field) { var i=0; for (i=0;i<TreeParents[field].length;i++) { TreeChecked[field][i]=0; } DrawTree(field); UpdateStatusBox(field); UpdateHiddenField(field); }
DrawTree( field ); UpdateStatusBox( field ); UpdateHiddenField( field ); }
function DeselectAll(field) { var i=0; for (i=0;i<TreeParents[field].length;i++) { TreeChecked[field][i]=0; } DrawTree(field); UpdateStatusBox(field); UpdateHiddenField(field); }
autocommands.trigger(config.name + "LeavePre", {});
autocommands.trigger("LeavePre", {});
destroy: function () { autocommands.trigger(config.name + "LeavePre", {}); storage.saveAll(); dactyl.triggerObserver("shutdown", null); dactyl.dump("All dactyl modules destroyed\n"); autocommands.trigger(config.name + "Leave", {}); },
autocommands.trigger(config.name + "Leave", {});
autocommands.trigger("Leave", {});
destroy: function () { autocommands.trigger(config.name + "LeavePre", {}); storage.saveAll(); dactyl.triggerObserver("shutdown", null); dactyl.dump("All dactyl modules destroyed\n"); autocommands.trigger(config.name + "Leave", {}); },
destroy: function () { },
destroy: function() { if (this.docShell) this.docShell.destroy(); },
destroy: function () { },
try { config.browser.removeProgressListener(this.progressListener); } catch (e) {}
destroy: function () { try { config.browser.removeProgressListener(this.progressListener); } catch (e) {} // Why? --djk },
var isObserving = this._scfl_isObserving || SC.CoreSet.create(); for (var idx in isObserving) { this._scfl_unobserveChild(isObserving[idx]);
var isObserving = this._scfl_isObserving; if (!isObserving) return; var len = isObserving.length, idx; for (idx = 0; idx < len; idx++) { this.unobserveChildLayout(isObserving[idx]);
destroyMixin: function() { var isObserving = this._scfl_isObserving || SC.CoreSet.create(); for (var idx in isObserving) { this._scfl_unobserveChild(isObserving[idx]); } }
this[0].parentNode){c.isFunction(a)||(a=c(a).detach());return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){fun...
this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),f=d.html();d.replaceWith(a.call(this,b,f))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isF...
this[0].parentNode){c.isFunction(a)||(a=c(a).detach());return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){fun...
context.completions = config.dialogs;
context.completions = [[k, v[0]] for ([k, v] in Iterator(config.dialogs))];
completion.dialog = function dialog(context) { context.title = ["Dialog"]; context.completions = config.dialogs; };
var len = arguments.len, idx;
var len = arguments.length, idx;
didChangeFor: function(context) { var len = arguments.len, idx; for (idx = 1; idx < len; idx++) { var property = arguments[idx], displayProperty = 'display' + property.capitalize(); if (this._displayPropertiesLookup[displayProperty]) { if (this.view.didChangeFor(context, displayPr...
} else { throw "RenderDelegate expected property '" + property + "', but the view " + "does not have this property as a displayProperty.";
didChangeFor: function(context) { var len = arguments.len, idx; for (idx = 1; idx < len; idx++) { var property = arguments[idx], displayProperty = 'display' + property.capitalize(); if (this._displayPropertiesLookup[displayProperty]) { if (this.view.didChangeFor(context, displayPr...
didCreateLayerMixin: function() { mixinCount++; }
didCreateLayerMixin: function() { mixinCount++; },
didCreateLayerMixin: function() { mixinCount++; }
a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);ab.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||cb.test(f))&&bb.test(a))e=e.reverse();return this.pushStack(e,a,R.call(arguments)...
a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);eb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||gb.test(f))&&fb.test(a))e=e.reverse();return this.pushStack(e,a,R.call(arguments)...
a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);ab.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||cb.test(f))&&bb.test(a))e=e.reverse();return this.pushStack(e,a,R.call(arguments)...
completion.directory = function directory(context, full) { this.file(context, full);
completion.directory = function directory(context, args, full) { this.file(context, args, full);
completion.directory = function directory(context, full) { this.file(context, full); context.filters.push(function ({ item }) item.isDirectory()); };
disable: function(element) { element = $(element); element.disabled = true; 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(...
disable: function(element) { element = $(element); element.disabled = true; return element; },
equals(view.$('.sc-disclosure-view').size(), 0, "should not have disclosure");
ok(!cq.hasClass('has-disclosure'), "should not have has-disclosure class"); equals(disclosureCQ.size(), 0, "should not have disclosure");
function disclosure(view, state) { if (state === null) { equals(view.$('.sc-disclosure-view').size(), 0, "should not have disclosure"); } else { var cq = view.$('.sc-disclosure-view'); equals(cq.size(), 1, "should have disclosure element"); equals(cq.hasClass('sel'), state === true, "disclosure expects se...
var cq = view.$('.sc-disclosure-view'); equals(cq.size(), 1, "should have disclosure element"); equals(cq.hasClass('sel'), state === true, "disclosure expects sel class");
ok(cq.hasClass('has-disclosure'), "should have has-disclosure class"); equals(disclosureCQ.size(), 1, "should have disclosure element"); equals(disclosureCQ.hasClass('sel'), state === true, "disclosure expects sel class");
function disclosure(view, state) { if (state === null) { equals(view.$('.sc-disclosure-view').size(), 0, "should not have disclosure"); } else { var cq = view.$('.sc-disclosure-view'); equals(cq.size(), 1, "should have disclosure element"); equals(cq.hasClass('sel'), state === true, "disclosure expects se...
dispatch: function(callback, request, transport, json) { this.each(function(responder) { if (Object.isFunction(responder[callback])) { try { responder[callback].apply(responder, [request, transport, json]); } catch (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(...
dispatch: function(callback, request, transport, json) { this.each(function(responder) { if (Object.isFunction(responder[callback])) { try { responder[callback].apply(responder, [request, transport, json]); } catch (e) { } } }); }
dispatchException: function(exception) { (this.options.onException || Prototype.emptyFunction)(this, exception); Ajax.Responders.dispatch('onException', this, exception); }
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(...
dispatchException: function(exception) { (this.options.onException || Prototype.emptyFunction)(this, exception); Ajax.Responders.dispatch('onException', this, exception); }
? (modes.getStack(2).main.display() || modes.getStack(2).mainMode.name) + " (next)"
? (modes.getStack(2).main.display() || modes.getStack(2).main.name) + " (next)"
display: function () modes.getStack(1).main == modes.PASS_THROUGH ? (modes.getStack(2).main.display() || modes.getStack(2).mainMode.name) + " (next)" : "PASS THROUGH (next)" }, {
display: function () modes.getStack(1).main == modes.PASS_THROUGH ? (modes.getStack(2).main.display() || modes.getStack(2).mainMode.name) + " (next)" : "PASS THROUGH (next)" }, {
display: function () this.disp,
display: function () modes.getStack(1).main == modes.PASS_THROUGH ? (modes.getStack(2).main.display() || modes.getStack(2).mainMode.name) + " (next)" : "PASS THROUGH (next)" }, {
return this.displayItemIndexForPosition(evt.pageX, evt.pageY);
if (this.renderer) return this.renderer.indexForEvent(evt);
displayItemIndexForEvent: function(evt) { return this.displayItemIndexForPosition(evt.pageX, evt.pageY); },
r = segment.getBoundingClientRect();
if (segment.getBoundingClientRect) { r = segment.getBoundingClientRect(); }else{ r = {}; var ret = SC.viewportOffset(segment); var cq = SC.$(segment); r.top = ret.y; r.left = ret.x; r.bottom = ret.y + cq.outerHeight(); r.right = ret.x + cq.outerWidth(); }
displayItemIndexForPosition: function(pageX, pageY) { // find the segments var segments = this.$('.sc-segment'), len = segments.length, idx, segment, r; // loop through them (yes, this comment is mostly because it looks nice in TextMate) for (idx = 0; idx < len; idx++) { // get the segment s...
cur = [item.humanize().titleize(), item, YES, null, null, null, idx] ;
cur = { title: item.humanize().titleize(), value: item, isEnabled: YES, icon: null, width: null, toolTip: null, index: idx };
displayItems: function() { var items = this.get('items'), loc = this.get('localize'), keys=null, itemType, cur, ret = [], max = items.get('length'), idx, item, fetchKeys = SC._segmented_fetchKeys, fetchItem = SC._segmented_fetchItem; // loop through items and collect data for(idx=0;idx<max;idx...
cur[cur.length] = idx;
cur = { title: cur[0], value: cur[1], isEnabled: cur[2], icon: cur[3], width: cur[4], toolTip: cur[5], index: idx };
displayItems: function() { var items = this.get('items'), loc = this.get('localize'), keys=null, itemType, cur, ret = [], max = items.get('length'), idx, item, fetchKeys = SC._segmented_fetchKeys, fetchItem = SC._segmented_fetchItem; // loop through items and collect data for(idx=0;idx<max;idx...
if (!keys[0] && item.toString) cur[0] = item.toString();
if (!keys[0] && item.toString) cur.title = item.toString();
displayItems: function() { var items = this.get('items'), loc = this.get('localize'), keys=null, itemType, cur, ret = [], max = items.get('length'), idx, item, fetchKeys = SC._segmented_fetchKeys, fetchItem = SC._segmented_fetchItem; // loop through items and collect data for(idx=0;idx<max;idx...
if (!keys[1]) cur[1] = item;
if (!keys[1]) cur.value = item;
displayItems: function() { var items = this.get('items'), loc = this.get('localize'), keys=null, itemType, cur, ret = [], max = items.get('length'), idx, item, fetchKeys = SC._segmented_fetchKeys, fetchItem = SC._segmented_fetchItem; // loop through items and collect data for(idx=0;idx<max;idx...
if (!keys[2]) cur[2] = YES ;
if (!keys[2]) cur.isEnabled = YES ;
displayItems: function() { var items = this.get('items'), loc = this.get('localize'), keys=null, itemType, cur, ret = [], max = items.get('length'), idx, item, fetchKeys = SC._segmented_fetchKeys, fetchItem = SC._segmented_fetchItem; // loop through items and collect data for(idx=0;idx<max;idx...
if (loc && cur[0]) cur[0] = cur[0].loc();
if (loc && cur.title) cur.title = cur.title.loc();
displayItems: function() { var items = this.get('items'), loc = this.get('localize'), keys=null, itemType, cur, ret = [], max = items.get('length'), idx, item, fetchKeys = SC._segmented_fetchKeys, fetchItem = SC._segmented_fetchItem; // loop through items and collect data for(idx=0;idx<max;idx...
if (loc && cur[5] && SC.typeOf(cur[5]) === SC.T_STRING) cur[5] = cur[5].loc();
if (loc && cur.toolTip && SC.typeOf(cur.toolTip) === SC.T_STRING) cur.toolTip = cur.toolTip.loc();
displayItems: function() { var items = this.get('items'), loc = this.get('localize'), keys=null, itemType, cur, ret = [], max = items.get('length'), idx, item, fetchKeys = SC._segmented_fetchKeys, fetchItem = SC._segmented_fetchItem; // loop through items and collect data for(idx=0;idx<max;idx...
item, fetchKeys = SC._segmented_fetchKeys, fetchItem = SC._segmented_fetchItem;
item, fetchKeys = SC._segmented_fetchKeys, fetchItem = SC._segmented_fetchItem, overflowItems;
displayItems: function() { var items = this.get('items'), loc = this.get('localize'), keys=null, itemType, cur, ret = [], max = items.get('length'), idx, item, fetchKeys = SC._segmented_fetchKeys, fetchItem = SC._segmented_fetchItem; // loop through items and collect data for(idx=0;idx<max;idx...
ret[ret.length] = cur;
if (this.overflowIndex <= idx) { if (overflowItems.length === 0) { ret[ret.length] = {width: null, isOverflowSegment: YES}; } overflowItems[overflowItems.length] = cur; } else { ret[ret.length] = cur; }
displayItems: function() { var items = this.get('items'), loc = this.get('localize'), keys=null, itemType, cur, ret = [], max = items.get('length'), idx, item, fetchKeys = SC._segmented_fetchKeys, fetchItem = SC._segmented_fetchItem; // loop through items and collect data for(idx=0;idx<max;idx...
if (!this.overflowSegmentWidth) { ret[ret.length] = {width: null, isOverflowSegment: YES}; }
displayItems: function() { var items = this.get('items'), loc = this.get('localize'), keys=null, itemType, cur, ret = [], max = items.get('length'), idx, item, fetchKeys = SC._segmented_fetchKeys, fetchItem = SC._segmented_fetchItem; // loop through items and collect data for(idx=0;idx<max;idx...
}.property('items', 'itemTitleKey', 'itemValueKey', 'itemIsEnabledKey', 'localize', 'itemIconKey', 'itemWidthKey', 'itemToolTipKey'),
}.property('items', 'itemTitleKey', 'itemValueKey', 'itemIsEnabledKey', 'localize', 'itemIconKey', 'itemWidthKey', 'itemToolTipKey').cacheable(),
displayItems: function() { var items = this.get('items'), loc = this.get('localize'), keys=null, itemType, cur, ret = [], max = items.get('length'), idx, item, fetchKeys = SC._segmented_fetchKeys, fetchItem = SC._segmented_fetchItem; // loop through items and collect data for(idx=0;idx<max;idx...
document.title = $(stanza).attr('from').split("/")[0];
if ($(stanza).attr('from')) { document.title = $(stanza).attr('from').split("/")[0]; }
displayMessage: function(user,srcurl,stanza,current_user) { var stamp = null; //search for an existing time stamp in the message $(stanza).find("x").each(function () { if($(this).attr('stamp')) { stamp = $(this).attr('stamp'); } }); var time = ""; var year = ""; var month = ""; var day = ""; var hour =...
if (aColorCode == PAGESPEED.Utils.SCORE_CODE_RED) { if (a.experimental != b.experimental) { return a.experimental ? 1 : -1; } }
PAGESPEED.PageSpeedContext.prototype.displayPerformance = function( panel, browserTab) { // The rules array holds the rule objects used to fill the domplate. var rules = []; var totalScore = 0; var totalWeight = 0; var lintRules = PAGESPEED.LintRules.lintRules.concat( PAGESPEED.LintRules.nativeRuleResults); ...
displaySelectedItem: function() { var menuView, currSel, itemViews, title, val, itemIdx = 0, button, object, len, found = null, objTmp; menuView = this.parentMenu() ; currSel = menuView.get('currentSelectedMenuItem') ; itemViews = menuView.menuItemViews ; if (currSel && itemViews) { itemIdx = itemViews.indexOf(cu...
displaySelectedItem: function(menuView) { var currentItem = menuView.get("selectedItem"); this.set("value", currentItem.get("value")); this.set("title", currentItem.get("title")); this.set("_itemIdx", currentItem.get("contentIndex"));
displaySelectedItem: function() { var menuView, currSel, itemViews, title, val, itemIdx = 0, button, object, len, found = null, objTmp; //Get MenuPane, currentSelectedMenuItem & menuItemView // Get the main parent view to show the menus menuView = this.parentMenu() ; currSel = menuView.g...
}.property('value').cacheable()
}.property('value', 'maximum', 'minimum').cacheable()
displayValue: function(){ var minimum = this.get('minimum') || 0.0, maximum = this.get('maximum') || 1.0, value = this.get('value') || 0.0; value = (value - minimum) / (maximum - minimum); if (value > 1.0) value = 1.0; if(isNaN(value)) value = 0.0; // cannot be smaller then minimum if(...
if (this.get('escapeHTML')) value = SC.RenderContext.escapeHTML(value);
displayValue: function() { var value, formatter; value = this.get('value') ; // 1. apply the formatter formatter = this.getDelegateProperty('formatter', this.displayDelegate) ; if (formatter) { var formattedValue = (SC.typeOf(formatter) === SC.T_FUNCTION) ? formatter(value, this)...
}.property('value', 'localize', 'formatter', 'escapeHTML').cacheable(),
}.property('value', 'localize', 'formatter').cacheable(),
displayValue: function() { var value, formatter; value = this.get('value') ; // 1. apply the formatter formatter = this.getDelegateProperty('formatter', this.displayDelegate) ; if (formatter) { var formattedValue = (SC.typeOf(formatter) === SC.T_FUNCTION) ? formatter(value, this)...
} var elements = doctest.getElementsByTagAndClassName('pre', ['doctest', 'setup']); for (var i=0; i<testEls.length; i++) { elements.push(testEls[i]);
var elements = doctest.getElementsByTagAndClassName('pre', ['doctest', 'setup']); for (var i=0; i<testEls.length; i++) { elements.push(testEls[i]); }
var docTestOnLoad = function () { var auto = false; if (/\bautodoctest\b/.exec(document.body.className)) { doctest.autoSetup(); auto = true; } else { logDebug('No autodoctest class on <body>'); } var loc = window.location.search.substring(1); if (auto || (/doctestRun/).exec(loc)) { var elements = null...
elements = doctest.getElementsByTagAndClassName('pre', 'doctest', el);
testEls = doctest.getElementsByTagAndClassName('pre', 'doctest', el); } var elements = doctest.getElementsByTagAndClassName('pre', ['doctest', 'setup']); for (var i=0; i<testEls.length; i++) { elements.push(testEls[i]);
var docTestOnLoad = function () { var auto = false; if (/\bautodoctest\b/.exec(document.body.className)) { doctest.autoSetup(); auto = true; } else { logDebug('No autodoctest class on <body>'); } var loc = window.location.search.substring(1); if (auto || (/doctestRun/).exec(loc)) { var elements = null...
else if ( oldShippSelIndex != 'undefined' )
else if ( oldShippSelIndex )
var doit = function(data) { if ( Y.Node.get( '#shippingtype' ).get( 'tagName' ) == 'INPUT' ) { return false; } // If shippingtype is selected: get the old value for checking it later if ( Y.Node.get( '#shippingtype' ).get( 'selectedIndex' ) > 0 ) { var oldShippSelIndex = Y.Node.get( '#shippingtype...
ez18nAlert("The shipping method '%old%' is not available for your country of destination and was changed to '%new%'.", replace);
if ( oldname ) { ez18nAlert("The shipping method '%old%' is not available for your country of destination and was changed to '%new%'.", replace); }
var doit = function(data) { if ( Y.Node.get( '#shippingtype' ).get( 'tagName' ) == 'INPUT' ) { return false; } // If shippingtype is selected: get the old value for checking it later if ( Y.Node.get( '#shippingtype' ).get( 'selectedIndex' ) > 0 ) { var oldShippSelIndex = Y.Node.get( '#shippingtype...
this[0].parentNode){c.isFunction(a)||(a=c(a).detach());return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){fun...
this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),f=d.html();d.replaceWith(a.call(this,b,f))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isF...
this[0].parentNode){c.isFunction(a)||(a=c(a).detach());return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){fun...
if (!pool) pool = pools[guid] = SC._DoublyLinkedList.create();
if (!pool) pool = pools[guid] = SC.CollectionFastPath._DoublyLinkedList.create();
domPoolForExampleView: function(exampleView) { var pools = this._domPools || (this._domPools = {}), guid = SC.guidFor(exampleView), pool = pools[guid]; if(!exampleView) "no exampleView to create from"; if (!pool) pool = pools[guid] = SC._DoublyLinkedList.create(); return pool; },
if(!exampleView) debugger;
if(!exampleView) "no exampleView to create from";
domPoolForExampleView: function(exampleView) { var pools = this._domPools || (this._domPools = {}), guid = SC.guidFor(exampleView), pool = pools[guid]; if(!exampleView) debugger; if (!pool) pool = pools[guid] = SC._DoublyLinkedList.create(); return pool; },
this.throwIfDisposed();
activity.TimelineModel.prototype.doneAddingEvents = function(endTimeUsec) { this.throwIfDisposed(); this.addingEventDepth_--; if (this.addingEventDepth_ < 0) { throw new Error('addingEventDepth_ went negative'); } if (this.addingEventDepth_ != 0) { // Wait til all event generators have completed. return; ...
var url = virtroot + '/search.cgi?tree=' + treename;
sep = virtroot[virtroot.length - 1] === '/' ? '' : '/'; var url = virtroot + sep + 'search.cgi?tree=' + treename;
function doSearch(id) { var f = document.getElementById(id); var treename = 'mozilla-central'; var args = f.string.value.split(/ +/); var string = ""; var url = virtroot + '/search.cgi?tree=' + treename; for (var i = 0; i < args.length; i++) { var arg = args[i]; if (/^path:.+/(arg)) url += "&path=" + e...
else {
else if (/^warnings:.*/(arg)) { var warnings = /^warnings:(.*)/.exec(arg).slice(1,2); if (warnings == '') warnings = '*'; url += "&warnings=" + encodeURIComponent(warnings); } else {
function doSearch(id) { var f = document.getElementById(id); var treename = 'mozilla-central'; var args = f.string.value.split(/ +/); var string = ""; var url = virtroot + '/search.cgi?tree=' + treename; for (var i = 0; i < args.length; i++) { var arg = args[i]; if (/^path:.+/(arg)) url += "&path=" + e...
var treename = this.tree || document.getElementById('trees').value;
var treename = 'mozilla-central';
function doSearch(id) { var f = document.getElementById(id); var treename = this.tree || document.getElementById('trees').value; var args = f.string.value.split(/ +/); var string = ""; var url = virtroot + '/search.cgi?tree=' + treename; for (var i = 0; i < args.length; i++) { var arg = args[i]; if (/^path:...
down: function(element, expression, index) { element = $(element); if (arguments.length == 1) return element.firstDescendant(); return Object.isNumber(expression) ? element.descendants()[expression] : Element.select(element, expression)[index || 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(...
down: function(element, expression, index) { element = $(element); if (arguments.length == 1) return element.firstDescendant(); return Object.isNumber(expression) ? element.descendants()[expression] : Element.select(element, expression)[index || 0]; },
new Request.JSON({'url' : 'php/vg_proxy.php?track=' + url, onSuccess: this.setTrack.bind(this)}, method: 'get').send();
new Request.JSON({ 'url' : 'php/vg_proxy.php?track=' + url, onSuccess: this.setTrack.bind(this), method: 'get'} ).send();
downloadTrack : function(url) { new Request.JSON({'url' : 'php/vg_proxy.php?track=' + url, onSuccess: this.setTrack.bind(this)}, method: 'get').send(); }, /* Property: toggleAnim (INTERNAL) Toggle (start/stop) the animation */ _toggleAnim : function(e) { ...
_toggleAnim : function(e) { if (e.rightClick) { this.animPos = 0; $clear(this.animTimer); this.animTimer = null; var playGif = $('vgps-anim').getStyle('background-image').replace(/pause/, 'play'); $('vgps-anim').setStyle('background-image', playGif); this._animate(); } else { if (this.animTimer === null) { this.animTim...
downloadTrack : function(url) { new Request.JSON({'url' : 'php/vg_proxy.php?track=' + url, onSuccess: this.setTrack.bind(this)}, method: 'get').send(); }, /* Property: toggleAnim (INTERNAL) Toggle (start/stop) the animation */ _toggleAnim : function(e) { ...
if (e.srcElement.parentNode.nodeName == "A") { data = e.srcElement.parentNode.href; } else { data = e.dataTransfer.getData('Text'); if (!data) { data = window.getSelection().toString(); } }
var data = getDragSelection(e);
function dragEnd(e) { if (start_x == -1 || start_y == -1) { // The drop event is from external, keep original action. return true; } document.body.style.cursor = mouse_style; mouse_style = "default"; var x_dir = 1; if (e.preventDefault) { e.preventDefault (); } if (e.screenX < start_x) { x_dir = -1;...
e.dataTransfer.effectAllowed = "copy"; e.dataTransfer.dropEffect = "copy";
dragOver: function(e) { if (!this.in_drag) { return true; } if (e.preventDefault) { e.preventDefault (); } return false; },
this.drag_selection.text = link;
this.drag_selection.data = link;
dragStart: function(e) { if (this.local_options["alt_key"] == "true" && e.altKey || this.local_options["ctrl_key"] == "true" && e.ctrlKey) { return true; } this.in_drag = true; this.start_x = e.pageX; this.start_y = e.pageY; this.drag_selection = this.getDragSelection(e); if (this.dra...
var visColumns = variablesToColumns(bindings, variables);
var visVariables = objectsByVisType(visType, variables); var visColumns = variablesToColumns(bindings, visVariables);
function draw(container, visType, bindings, variables, options){ var visColumns = variablesToColumns(bindings, variables);//alert(visType + " " + visColumns.toSource());//alert(visType + " " + bindings.toSource() + " " + variables.toSource()); var view = new google.visualization.DataView(data); if (visType.ind...
var visOptions = optionsByVisType(visType, options);
var visOptions = objectsByVisType(visType, options);
function draw(container, visType, bindings, variables, options){ var visColumns = variablesToColumns(bindings, variables);//alert(visType + " " + visColumns.toSource());//alert(visType + " " + bindings.toSource() + " " + variables.toSource()); var view = new google.visualization.DataView(data); if (visType.ind...
srchFldLbl: _Settings.searchLabel,
srchFldLbl: _Settings.searchLabel
var draw = function() { $('#content').lkfw_searchableList({ listId: 'users', items: thisRef.Data.mem.users, srchFldLbl: _Settings.searchLabel, }); $('#users_0 li').unbind('click').click( function() { thisRef.userListItem_C...
var orderColumns = new Array(); var restColumns = new Array(); for (var i = 0; i < variables.length; i++) { var bindingType = bindingTypeByVariable(bindingTypes, variables[i]); if ("order" in bindingType) orderColumns[bindingType.order] = variables[i].variable; else restColumns = restColumns.concat(variables[i].variabl...
var visColumns = variablesToColumns(bindingTypes, variables);
function draw(container, visType, bindingTypes, variables, options){ //alert(container.toSource()); //alert(visualizations); var orderColumns = new Array(); var restColumns = new Array(); for (var i = 0; i < variables.length; i++) { var bindingType = bindingTypeByVariable(bindi...
optArray['height'] = 450;
function draw(container, visType, bindingTypes, variables, options){ //alert(container.toSource()); //alert(visualizations); var orderColumns = new Array(); var restColumns = new Array(); for (var i = 0; i < variables.length; i++) { var bindingType = bindingTypeByVariable(bindi...
thisRef.Data.ajax_getData_charts('chartData_'+i, _charts[i].dataURL, _charts[i].dataURL_params(thisRef.Data), function(data, chart){ getData(data, chart); }, function(){},_charts[i]);
this.Data.ajax_getData_sync('chartData_'+i, _charts[i].dataURL, _charts[i].dataURL_params(this.Data), getData, function(){},_charts[i]);
this.drawCharts = function(_charts) { var thisRef = this; var cnt = 1; var draw = function(gData) { var query = gData.join('&'); thisRef.charts_load(query, cnt);cnt++; }; var getData = function(data, chart) { var translatedData = chart.trans...
var gData = [ 'chtt='+chart.gChart.chtt, 'cht='+chart.gChart.cht, 'chs='+chart.gChart.chs, 'chd='+translatedData.chd, 'chl='+translatedData.chl ];
var gData = []; for (key in chart.gChart) { gData.push(key+'='+chart.gChart[key]); } for (key in translatedData) { gData.push(key+'='+translatedData[key]); } draw(gData); };
this.drawCharts = function(_charts) { var thisRef = this; var draw = function(gData) { var query = gData.join('&'); $('#chartContent').append( $('<img></img>').attr('src','http://chart.apis.google.com/chart?'+query) ); }; var getData...
if (translatedData.chco) gData.push('chco='+translatedData.chco); draw(gData); };
this.drawCharts = function(_charts) { var thisRef = this; var draw = function(gData) { var query = gData.join('&'); $('#chartContent').append( $('<img></img>').attr('src','http://chart.apis.google.com/chart?'+query) ); }; var getData...
if (_charts[i].ajax) thisRef.Data.ajax_getData_charts(_charts[i].dataURL, _charts[i].dataURL_params(thisRef.Data), function(data, chart){getData(data, chart);}, function(){},_charts[i]);}
if (_charts[i].dataURL) { thisRef.Data.ajax_getData_charts(_charts[i].dataURL, _charts[i].dataURL_params(thisRef.Data), function(data, chart){ getData(data, chart); }, function(){},_charts[i]); } else { getData(this.Data.mem.tasks.data, _charts[i]); } }
this.drawCharts = function(_charts) { var thisRef = this; var draw = function(gData) { var query = gData.join('&'); $('#chartContent').append( $('<img></img>').attr('src','http://chart.apis.google.com/chart?'+query) ); }; var getData...
function DrawFromNode(field,node,inner) { var result=""; var i=0; var width=10; if (node==-1) {width=0;} var c=0;
function DrawFromNode( field, node, inner ) { var result = ""; var width = 10; var numChildren = 0;
function DrawFromNode(field,node,inner) { var result=""; var i=0; var width=10; if (node==-1) {width=0;} var c=0; if (!inner) {result+="<table border=0 cellpadding=0 cellspacing=1><td width=" + width + ">&nbsp;</td><td class='treetext' id='" + field + "_node" + node + "'>";} //loop through all nodes with ...
if (!inner) {result+="<table border=0 cellpadding=0 cellspacing=1><td width=" + width + ">&nbsp;</td><td class='treetext' id='" + field + "_node" + node + "'>";}
if( node == -1 ) { width = 0; } if( !inner ) { result += "<table border=0 cellpadding=0 cellspacing=1><td width=" + width + ">&nbsp;</td><td class='treetext' id='" + field + "_node" + node + "'>"; }
function DrawFromNode(field,node,inner) { var result=""; var i=0; var width=10; if (node==-1) {width=0;} var c=0; if (!inner) {result+="<table border=0 cellpadding=0 cellspacing=1><td width=" + width + ">&nbsp;</td><td class='treetext' id='" + field + "_node" + node + "'>";} //loop through all nodes with ...
for (i=0;i<TreeParents[field].length;i++) { if (TreeParents[field][i]==node) { if (TreeExpand[field][i]) {icon="<img xalign=middle width=11 height=11 hspace=3 src=admin/gfx/node_ex.gif";} else {icon="<img xalign=middle hspace=3 width=11 height=11 src=admin/gfx/node_unex.gif";}
for( var i = 0; i < TreeParents[field].length; i++ ) { if( TreeParents[field][i] == node ) { if( HasTickedDescendants( field, i ) ) { if( !TreeDrawn ) { TreeExpand[field][i] = true; } TreeChecked[field][i] = 1; } if( TreeExpand[field][i] ) { icon = "<img xalign=middle width=11 height=11 hspace=3 src=admin/gfx/node_e...
function DrawFromNode(field,node,inner) { var result=""; var i=0; var width=10; if (node==-1) {width=0;} var c=0; if (!inner) {result+="<table border=0 cellpadding=0 cellspacing=1><td width=" + width + ">&nbsp;</td><td class='treetext' id='" + field + "_node" + node + "'>";} //loop through all nodes with ...
c=CountChildren(field,i); if (c==0) {icon="<img xalign=top src=admin/gfx/sp.gif width=11 height=11 hspace=3>";} else {icon+=" onClick=\"ToggleNode('" + field + "'," + i + ");\">";} icon2=""; result+=icon + icon2; checked="";if (TreeChecked[field][i]==1) {checked="checked";} if (TreeClickable[field][i]) {result+="<input...
numChildren = CountChildren( field, i ); if( numChildren == 0 ) { icon = "<img xalign=top src=admin/gfx/sp.gif width=11 height=11 hspace=3>"; } else { icon += " onClick=\"ToggleNode('" + field + "'," + i + ");\">"; } result += icon; checked = ""; if( TreeChecked[field][i] == 1 ) { checked = "checked"; } if( TreeCli...
function DrawFromNode(field,node,inner) { var result=""; var i=0; var width=10; if (node==-1) {width=0;} var c=0; if (!inner) {result+="<table border=0 cellpadding=0 cellspacing=1><td width=" + width + ">&nbsp;</td><td class='treetext' id='" + field + "_node" + node + "'>";} //loop through all nodes with ...
if (!inner) {result+="</td></tr></table>";}
} if( !inner ) { result += "</td></tr></table>"; } if( node == -1 ) { TreeDrawn = true; }
function DrawFromNode(field,node,inner) { var result=""; var i=0; var width=10; if (node==-1) {width=0;} var c=0; if (!inner) {result+="<table border=0 cellpadding=0 cellspacing=1><td width=" + width + ">&nbsp;</td><td class='treetext' id='" + field + "_node" + node + "'>";} //loop through all nodes with ...
return result; }
return( result ); }
function DrawFromNode(field,node,inner) { var result=""; var i=0; var width=10; if (node==-1) {width=0;} var c=0; if (!inner) {result+="<table border=0 cellpadding=0 cellspacing=1><td width=" + width + ">&nbsp;</td><td class='treetext' id='" + field + "_node" + node + "'>";} //loop through all nodes with ...