rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
var args = this.resultStack.splice(-func.args.args.length);
var args = func.args.args.length ? this.resultStack.splice(-func.args.args.length) : [];
visitFunctionCallNode: function(func) { func.args.accept(this); var args = this.resultStack.splice(-func.args.args.length); this.resultStack.push(this.context.call(func['name'], args)); },
args = this.resultStack.splice(-numArgs);
if (numArgs) args = this.resultStack.splice(-numArgs);
visitNodeTestNode: function(nodeTest) { var parts = nodeTest.name.split(":"), localName = parts.length > 1 ? parts[1] : parts[0], namespaceURI = parts.length > 1 ? parts[0] : null, args = []; if (nodeTest.args) { nodeTest.args.accept(this); ...
for (var i in this.bindings)
for (var i = 0; i < this.bindings.length; i++)
function Visualization(report, bindings, variables, options, container){ var visualization = this;//alert(visualization.type.value); this.report = report;//alert(Report.visualizationTypes.toSource()); //this.type = Report.visualizationTypes.filter(function(visType) { return visType.type.value == visualization....
for (var i in this.bindingTypes)
for (var i = 0; i < this.bindingTypes.length; i++)
function VisualizationType(bindingTypes, dataTypes, optionTypes){ this.bindingTypes = bindingTypes; this.dataTypes = dataTypes; this.optionTypes = optionTypes;//alert(this.bindingTypes.toSource()); for (var i in this.bindingTypes) { var bindingType = this.bindingTypes[i]; var bindDataTypes = this.dataTyp...
detail_path:'/volumes/list/'
detail_path:'/volumes/show/'
DcmgrGUI.prototype.volumePanel = function(){ var maxrow = 10; var page = 1; var list_request = { "url" : DcmgrGUI.Util.getPagePath('/volumes/list/',page), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "uuid":'', "size":''...
url:DcmgrGUI.Util.getPagePath('/volumes/list/',check_id)
url:DcmgrGUI.Util.getPagePath('/volumes/show/',check_id)
DcmgrGUI.prototype.volumePanel = function(){ var maxrow = 10; var page = 1; var list_request = { "url" : DcmgrGUI.Util.getPagePath('/volumes/list/',page), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "uuid":'', "size":''...
}); c_list.element.bind('dcmgrGUI.contentChange',function(event,params){ c_list.setData(params.data); c_list.multiCheckList(c_list.detail_template);
DcmgrGUI.prototype.volumePanel = function(){ var list_request = { "url":DcmgrGUI.Util.getPagePath('/volumes/show/',1) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "wmi_id":'', "source":'', "owner":'', "visibility":'', "state":'' }] } DcmgrGUI.Detai...
"id":'', "wmi_id":'', "source":'', "owner":'', "visibility":'',
"uuid":'', "size":'', "snapshot_id":'', "created_at":'',
DcmgrGUI.prototype.volumePanel = function(){ var list_request = { "url":DcmgrGUI.Util.getPagePath('/volumes/show/',1) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "wmi_id":'', "source":'', "owner":'', "visibility":'', "state":'' }] } DcmgrGUI.Detai...
"volume_id" : "-", "capacity" : "-", "snapshot" : "-", "created" : "-", "zone" : "-", "status" : "", "attachment_information" : "-"
"uuid" : "-", "size" : "-", "snapshot_id" : "-", "created_at" : "-", "updated_at" : "-", "state" : "",
DcmgrGUI.prototype.volumePanel = function(){ var list_request = { "url":DcmgrGUI.Util.getPagePath('/volumes/show/',1) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "id":'', "wmi_id":'', "source":'', "owner":'', "visibility":'', "state":'' }] } DcmgrGUI.Detai...
c_list.element.bind('dcmgrGUI.beforeUpdate',function(){ $("#list_load_mask").mask("Loading..."); });
DcmgrGUI.prototype.volumePanel = function(){ var total = 0; var maxrow = 10; var page = 1; var list_request = { "url" : DcmgrGUI.Util.getPagePath('/volumes/list/',page), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "uuid":''...
$("#list_load_mask").unmask();
DcmgrGUI.prototype.volumePanel = function(){ var total = 0; var maxrow = 10; var page = 1; var list_request = { "url" : DcmgrGUI.Util.getPagePath('/volumes/list/',page), "data" : DcmgrGUI.Util.getPagenateData(page,maxrow) }; DcmgrGUI.List.prototype.getEmptyData = function(){ return [{ "uuid":''...
G==">"&&k.autoSelfClosers.hasOwnProperty(H))c();else if(G==">"){f(H,B);c()}else{b();c(arguments.callee)}}}function u(B){if(B=="xml-name"){A.style="xml-attname";c(w,u)}else a()}function w(B,D){if(D=="=")c(x);else D==">"||D=="/>"?a(r):a()}function x(B){B=="xml-attribute"?c(x):a()}var y=o(q),A,v=[h],z=0,L=0,H=null,E=null,...
l.nextSibling)for(var z=l.offsetTop+l.offsetHeight;j.offsetHeight&&z-3>A;)h("&nbsp;");if(l)l=l.nextSibling;if((new Date).getTime()>n){o();u=setTimeout(r,k.options.lineNumberDelay);return}}for(;q;)h(B++);o();b()}}function v(n){b();c(n);l=p.firstChild;q=j.firstChild;A=0;B=k.options.firstLineNumber;r()}function w(){u&&cle...
G==">"&&k.autoSelfClosers.hasOwnProperty(H))c();else if(G==">"){f(H,B);c()}else{b();c(arguments.callee)}}}function u(B){if(B=="xml-name"){A.style="xml-attname";c(w,u)}else a()}function w(B,D){if(D=="=")c(x);else D==">"||D=="/>"?a(r):a()}function x(B){B=="xml-attribute"?c(x):a()}var y=o(q),A,v=[h],z=0,L=0,H=null,E=null,...
function wait(conditionOrTime) { if (typeof conditionOrTime == 'undefined' || conditionOrTime === null) { conditionOrTime = 0; } doctest._waitCond = conditionOrTime;
doctest.Spy.prototype.wait = function (timeout) { var self = this; var func = function () { return self.called; }; func.repr = function () { return 'called:'+repr(self); }; doctest.wait(func, timeout);
function wait(conditionOrTime) { if (typeof conditionOrTime == 'undefined' || conditionOrTime === null) { // same as wait-some-small-amount-of-time conditionOrTime = 0; } doctest._waitCond = conditionOrTime;};
if (callResult.returnValue === true) {
if (callResult.returnValue === true && typeof callQueue[callId] !== 'undefined') {
function waitAndSendRequest(callId) { var callObj = callQueue[callId]; if (typeof callObj === "undefined") { return; } else if (callObj.retries <= -1) { processJSONRpcResponse( createJSONRpcResponseObject( createJSONRpcErrorObject( -4, "Application error.", "Destinati...
modes.show();
commandline.clear();
waitForPageLoad: function () { //dactyl.dump("start waiting in loaded state: " + buffer.loaded); util.threadYield(true); // clear queue if (buffer.loaded == 1) return true; const maxWaitTime = 25; let start = Date.now(); let end = start + (maxWaitTime * 1000); //...
if(view.contentIndex === undefined) { view._SCCFP_dirty = YES; } else if(this._indexMap[view.contentIndex] === view) {
if(this._indexMap[view.contentIndex] === view) {
wantsUpdate: function(view) { if(this._ignore) return; //console.log("wantsUpdate", view.contentIndex); if(view.contentIndex === undefined) { view._SCCFP_dirty = YES; // make sure the view is currently being rendered } else if(this._indexMap[view.contentIndex] === view) { ...
if(this._ignore) { return; }
if(this._ignore) return;
wantsUpdate: function(view) { if(this._ignore) { return; } // if we can't handle it just update it now if(view.contentIndex === undefined) { view.update(); // make sure the view is currently being rendered } else if(this._indexMap[view.contentIndex] === view) { //conso...
if(this._indexMap[view.contentIndex] === view) {
} else if(this._indexMap[view.contentIndex] === view) {
wantsUpdate: function(view) { // make sure the view is currently being rendered if(this._indexMap[view.contentIndex] === view) { console.log(view.contentIndex, " wants update"); this.reload(view.contentIndex); // if the view was hidden due to changing type, mark it dirty so if it's used a...
console.log(view.contentIndex, " wants update");
wantsUpdate: function(view) { // make sure the view is currently being rendered if(this._indexMap[view.contentIndex] === view) { console.log(view.contentIndex, " wants update"); this.reload(view.contentIndex); // if the view was hidden due to changing type, mark it dirty so if it's used a...
var bindingXsdTypes = xsdTypesByBindingType(binding, xsdTypes);
var bindingXsdTypes = objectsByBindingType(xsdTypes, binding.type);
function wireTypesByBinding(binding, xsdTypes){ var wireTypes = new Array(); var bindingXsdTypes = xsdTypesByBindingType(binding, xsdTypes);//alert(bindingXsdTypes.toSource()); for (var k = 0; k < bindingXsdTypes.length; k++) { var wireType = xsdTypeToWireType(bindingXsdTypes[k]); if (wireType...
var bindingTypeResults = Report.dataTypes.results.bindings.filter(function(el) { return el.bindingType == bindingType; } )
var bindingTypeDataTypes = Report.dataTypes.results.bindings.filter(function(el) { return el.bindingType.value == bindingType.type.value; } )
Report.wireTypesByBindingType = function(bindingType){ var wireTypes = new Array(); //var bindingTypeResults = filterResults(Report.dataTypes.results.bindings, 'bindingType', bindingType); var bindingTypeResults = Report.dataTypes.results.bindings.filter(function(el) { return el.bindingType == bindingType; } )...
for (var i in bindingTypeResults)
for (var i in bindingTypeDataTypes)
Report.wireTypesByBindingType = function(bindingType){ var wireTypes = new Array(); //var bindingTypeResults = filterResults(Report.dataTypes.results.bindings, 'bindingType', bindingType); var bindingTypeResults = Report.dataTypes.results.bindings.filter(function(el) { return el.bindingType == bindingType; } )...
var wireType = Report.xsdTypeToWireType(bindingTypeResults[i].type.value);
var wireType = Report.xsdTypeToWireType(bindingTypeDataTypes[i].type.value);
Report.wireTypesByBindingType = function(bindingType){ var wireTypes = new Array(); //var bindingTypeResults = filterResults(Report.dataTypes.results.bindings, 'bindingType', bindingType); var bindingTypeResults = Report.dataTypes.results.bindings.filter(function(el) { return el.bindingType == bindingType; } )...
var bindingXsdTypes = xsdTypesByBindingType(bindingType, xsdTypes);
var bindingXsdTypes = objectsByBindingType(xsdTypes, bindingType);
function wireTypesByBindingType(bindingType, xsdTypes){ var wireTypes = new Array(); var bindingXsdTypes = xsdTypesByBindingType(bindingType, xsdTypes);//alert(bindingXsdTypes.toSource()); for (var k = 0; k < bindingXsdTypes.length; k++) { var wireType = xsdTypeToWireType(bindingXsdTypes[k]); ...
for (var k = 0; k < bindingXsdTypes.length; k++)
for (var i in bindingXsdTypes)
function wireTypesByBindingType(bindingType, xsdTypes){ var wireTypes = new Array(); var bindingXsdTypes = xsdTypesByBindingType(bindingType, xsdTypes);//alert(bindingXsdTypes.toSource()); for (var k = 0; k < bindingXsdTypes.length; k++) { var wireType = xsdTypeToWireType(bindingXsdTypes[k]); ...
var wireType = xsdTypeToWireType(bindingXsdTypes[k]);
var wireType = xsdTypeToWireType(bindingXsdTypes[i]);
function wireTypesByBindingType(bindingType, xsdTypes){ var wireTypes = new Array(); var bindingXsdTypes = xsdTypesByBindingType(bindingType, xsdTypes);//alert(bindingXsdTypes.toSource()); for (var k = 0; k < bindingXsdTypes.length; k++) { var wireType = xsdTypeToWireType(bindingXsdTypes[k]); ...
within: function(element, x, y) { if (this.includeScrollOffsets) return this.withinIncludingScrolloffsets(element, x, y); this.xcomp = x; this.ycomp = y; this.offset = Element.cumulativeOffset(element); return (y >= this.offset[1] && y < this.offset[1] + element.offsetHeight && x >= this.offset[0] && x < this.offset...
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(...
within: function(element, x, y) { if (this.includeScrollOffsets) return this.withinIncludingScrolloffsets(element, x, y); this.xcomp = x; this.ycomp = y; this.offset = Element.cumulativeOffset(element); return (y >= this.offset[1] && y < this.offset[1] + element.offsetHeight && ...
withinIncludingScrolloffsets: function(element, x, y) { var offsetcache = Element.cumulativeScrollOffset(element); this.xcomp = x + offsetcache[0] - this.deltaX; this.ycomp = y + offsetcache[1] - this.deltaY; this.offset = Element.cumulativeOffset(element); return (this.ycomp >= this.offset[1] && this.ycomp < this.o...
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(...
withinIncludingScrolloffsets: function(element, x, y) { var offsetcache = Element.cumulativeScrollOffset(element); this.xcomp = x + offsetcache[0] - this.deltaX; this.ycomp = y + offsetcache[1] - this.deltaY; this.offset = Element.cumulativeOffset(element); return (this.ycomp >= this.offset[1] && ...
withTempFiles: function (func, self) {
withTempFiles: function (func, self, checked) {
withTempFiles: function (func, self) { let args = util.map(util.range(0, func.length), this.createTempFile); try { if (!args.every(util.identity)) return false; return func.apply(self || this, args); } finally { args.forEach(function (f) f ...
return func.apply(self || this, args);
var res = func.apply(self || this, args);
withTempFiles: function (func, self) { let args = util.map(util.range(0, func.length), this.createTempFile); try { if (!args.every(util.identity)) return false; return func.apply(self || this, args); } finally { args.forEach(function (f) f ...
args.forEach(function (f) f && f.remove(false));
if (!checked || res !== true) args.forEach(function (f) f && f.remove(false));
withTempFiles: function (func, self) { let args = util.map(util.range(0, func.length), this.createTempFile); try { if (!args.every(util.identity)) return false; return func.apply(self || this, args); } finally { args.forEach(function (f) f ...
return res;
withTempFiles: function (func, self) { let args = util.map(util.range(0, func.length), this.createTempFile); try { if (!args.every(util.identity)) return false; return func.apply(self || this, args); } finally { args.forEach(function (f) f ...
wrap: function(element, wrapper, attributes) { element = $(element); if (Object.isElement(wrapper)) $(wrapper).writeAttribute(attributes || { }); else if (Object.isString(wrapper)) wrapper = new Element(wrapper, attributes); else wrapper = new Element('div', wrapper); if (element.parentNode) element.parentNode.replaceC...
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(...
wrap: function(element, wrapper, attributes) { element = $(element); if (Object.isElement(wrapper)) $(wrapper).writeAttribute(attributes || { }); else if (Object.isString(wrapper)) wrapper = new Element(wrapper, attributes); else wrapper = new Element('div', wrapper); if (element.parentNode) ...
return d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.getText(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocume...
c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument...
return d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.getText(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocume...
writeAttribute: function(element, name, value) { element = $(element); var attributes = { }, t = Element._attributeTranslations.write; if (typeof name == 'object') attributes = name; else attributes[name] = Object.isUndefined(value) ? true : value; for (var attr in attributes) { name = t.names[attr] || attr; value = ...
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(...
writeAttribute: function(element, name, value) { element = $(element); var attributes = { }, t = Element._attributeTranslations.write; if (typeof name == 'object') attributes = name; else attributes[name] = Object.isUndefined(value) ? true : value; for (var attr in attributes) { name = t.names[att...
h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ia=function(g,h){var k=[],m="",r;for(h=h.nodeType?[h]:h;r=n.match.PSEUDO.exec(g);){m+=r[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;r=0;for(var q=h.length;r<q;r++)p...
function(g,h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ga=function(g,h){var l=[],m="",q;for(h=h.nodeType?[h]:h;q=n.match.PSEUDO.exec(g);){m+=q[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;q=0;for(var p=h.lengt...
h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ia=function(g,h){var k=[],m="",r;for(h=h.nodeType?[h]:h;r=n.match.PSEUDO.exec(g);){m+=r[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;r=0;for(var q=h.length;r<q;r++)p...
G==">"&&k.autoSelfClosers.hasOwnProperty(H))c();else if(G==">"){f(H,B);c()}else{b();c(arguments.callee)}}}function u(B){if(B=="xml-name"){A.style="xml-attname";c(w,u)}else a()}function w(B,D){if(D=="=")c(x);else D==">"||D=="/>"?a(r):a()}function x(B){B=="xml-attribute"?c(x):a()}var y=o(q),A,v=[h],z=0,L=0,H=null,E=null,...
true),K=f.addEventHandler(f,"resize",w,true);x=function(){u&&clearTimeout(u);if(k.updateNumbers==w)k.updateNumbers=null;J();K()}}var d=this.frame,f=d.contentWindow,m=f.document,p=m.body,i=this.lineNumbers,j=i.firstChild,k=this,y=null,x=function(){};a();var I=setInterval(a,500);(this.options.textWrapping||this.options.s...
G==">"&&k.autoSelfClosers.hasOwnProperty(H))c();else if(G==">"){f(H,B);c()}else{b();c(arguments.callee)}}}function u(B){if(B=="xml-name"){A.style="xml-attname";c(w,u)}else a()}function w(B,D){if(D=="=")c(x);else D==">"||D=="/>"?a(r):a()}function x(B){B=="xml-attribute"?c(x):a()}var y=o(q),A,v=[h],z=0,L=0,H=null,E=null,...
this._progressWindow = window.openDialog("chrome: "chrome,resizable=no,close=no,centerscreen");
this._progressWindow = Components.classes["@mozilla.org/embedcomp/window-watcher;1"] .getService(Components.interfaces.nsIWindowWatcher) .openWindow(null, "chrome: "chrome,resizable=no,close=no,centerscreen", null);
"_addonInfoAvailable":function() { this._version = this._addons[0].version; if(!this._checkVersions()) return; try { this._addon.verifyNotCorrupt(this); } catch(e) { return; } if(this.force || ( ( this.prefBranch.getCharPref("version") != this._version || (!Zotero.isStandalone && !this.prefBra...
this.error(err);
this.error(err, true);
"_checkVersions":function() { for(var i=0; i<this._addon.REQUIRED_ADDONS.length; i++) { var checkAddon = this._addon.REQUIRED_ADDONS[i]; // check versions try { var comp = Components.classes["@mozilla.org/xpcom/version-comparator;1"] .getService(Components.interfaces.nsIVersionComparator) .compare...
callback.call(null, opts.staticData || tree.container.children("ul:eq(0)").html());
callback.call(null, opts.static || tree.container.children("ul:eq(0)").html());
"html" : function () { return { get : function(obj, tree, opts) { return obj && $(obj).size() ? $('<div>').append(tree.get_node(obj).clone()).html() : tree.container.children("ul:eq(0)").html(); }, parse : function(data, tree, opts, callback) { if(callback) callback.call(null, data); return da...
while(!this._version) Zotero.mainThread.processNextEvent(true);
"isInstalled":function() { return this.prefBranch.getCharPref("version") == this._version && this.prefBranch.getBoolPref("installed"); },
if(obj.hasClass("open")) json.state = "open"; if(obj.hasClass("closed")) json.state = "closed";
if(obj.hasClass("open")) json.data.state = "open"; if(obj.hasClass("closed")) json.data.state = "closed";
"json" : function () { return { get : function(obj, tree, opts) { var _this = this; if(!obj || $(obj).size() == 0) obj = tree.container.children("ul").children("li"); else obj = $(obj); if(!opts) opts = {}; if(!opts.outer_attrib) opts.outer_attrib = [ "id", "rel", "class" ]; if(!opts.in...
if(opts.staticData) { callback.call(null, opts.staticData);
if(opts.static) { callback.call(null, opts.static);
"json" : function () { return { get : function(obj, tree, opts) { var _this = this; if(!obj || $(obj).size() == 0) obj = tree.container.children("ul").children("li"); else obj = $(obj); if(!opts) opts = {}; if(!opts.outer_attrib) opts.outer_attrib = [ "id", "rel", "class" ]; if(!opts.in...
}else{v=w.startContainer;v=v.getChild(w.startOffset);if(v){if(x(v)===false)v=null;}else v=x(w.startContainer,true)===false?null:w.startContainer.getNextSourceNode(true,z,x);}while(v&&!this._.end){this.current=v;if(!this.evaluator||this.evaluator(v)!==false){if(!u)return v;}else if(u&&this.evaluator)return false;v=v[A](...
return l.length?l.join(';')+';':false;};},elementMigrateFilter:function(h,i){return function(j){var k=i?new CKEDITOR.style(h,i)._.definition:h;j.name=k.element;CKEDITOR.tools.extend(j.attributes,CKEDITOR.tools.clone(k.attributes));j.addStyle(CKEDITOR.style.getStyleText(k));};},styleMigrateFilter:function(h,i){var j=thi...
}else{v=w.startContainer;v=v.getChild(w.startOffset);if(v){if(x(v)===false)v=null;}else v=x(w.startContainer,true)===false?null:w.startContainer.getNextSourceNode(true,z,x);}while(v&&!this._.end){this.current=v;if(!this.evaluator||this.evaluator(v)!==false){if(!u)return v;}else if(u&&this.evaluator)return false;v=v[A](...
h(a[0],b):null}function Z(){return(new Date).getTime()}function $(a,b){var e=0;b.each(function(){if(this.nodeName===(a[e]&&a[e].nodeName)){var g=d.data(a[e++]),h=d.data(this,g);if(g=g&&g.events){delete h.handle;h.events={};for(var k in g)for(var l in g[k])d.event.add(this,k,g[k][l],g[k][l].data)}}})}function aa(a,b,e){...
h(a[0],b):null}function Z(){return(new Date).getTime()}function $(a,b){var e=0;b.each(function(){if(this.nodeName===(a[e]&&a[e].nodeName)){var f=c.data(a[e++]),h=c.data(this,f);if(f=f&&f.events){delete h.handle;h.events={};for(var k in f)for(var l in f[k])c.event.add(this,k,f[k][l],f[k][l].data)}}})}function aa(a,b,e){...
h(a[0],b):null}function Z(){return(new Date).getTime()}function $(a,b){var e=0;b.each(function(){if(this.nodeName===(a[e]&&a[e].nodeName)){var g=d.data(a[e++]),h=d.data(this,g);if(g=g&&g.events){delete h.handle;h.events={};for(var k in g)for(var l in g[k])d.event.add(this,k,g[k][l],g[k][l].data)}}})}function aa(a,b,e){...
"<table border=\"1\" cellspacing=\"1\" width=\"100%\" bgcolor=\"#EAF0F8\">";
'<table border="1" cellspacing="1" width="100%" bgcolor="#EAF0F8">';
'addDataTab' : function(values, tabI, label) { //Parse records and build html string var sHtml = ""; if(values.length > 1) { sHtml += '<div style="padding-bottom:10px;" >' + 'Available data sets:' + '</div>' + '<div>' + 'Note: Browsers may not be able to display the following data due to the '+ ...
'No DataSets available.' + '</div>'
'No DataSets available.' + '</div>';
'addDataTab' : function(values, tabI, label) { //Parse records and build html string var sHtml = ""; if(values.length > 1) { sHtml += '<div style="padding-bottom:10px;" >' + 'Available data sets:' + '</div>' + '<div>' + 'Note: Browsers may not be able to display the following data due to the '+ ...
R in P&&delete P[Q[S]];}}return O;},embed:function(O){var P=O.parent;if(P&&P.name=='object'){var Q=P.attributes.width,R=P.attributes.height;Q&&(O.attributes.width=Q);R&&(O.attributes.height=R);}},param:function(O){O.children=[];O.isEmpty=true;return O;},a:function(O){if(!(O.children.length||O.attributes.name||O.attribu...
delete R.attributes.contenteditable;},style:function(R){var S=R.children[0];S&&S.value&&(S.value=e.trim(S.value));if(!R.attributes.type)R.attributes.type='text/css';},title:function(R){var S=R.children[0];S&&(S.value=R.attributes._cke_title||'');}},attributes:{'class':function(R,S){return e.ltrim(R.replace(/(?:^|\s+)ck...
R in P&&delete P[Q[S]];}}return O;},embed:function(O){var P=O.parent;if(P&&P.name=='object'){var Q=P.attributes.width,R=P.attributes.height;Q&&(O.attributes.width=Q);R&&(O.attributes.height=R);}},param:function(O){O.children=[];O.isEmpty=true;return O;},a:function(O){if(!(O.children.length||O.attributes.name||O.attribu...
this.deck.getCard().setCorrect();
if(card) {
'correct':function() { // Set the card correct flag this.deck.getCard().setCorrect(); // Change style of correct button this.resetButtons(); // Advance to next card this.next(); },
this.resetButtons();
card.setCorrect();
'correct':function() { // Set the card correct flag this.deck.getCard().setCorrect(); // Change style of correct button this.resetButtons(); // Advance to next card this.next(); },
this.next();
this.resetButtons(); this.next(); }
'correct':function() { // Set the card correct flag this.deck.getCard().setCorrect(); // Change style of correct button this.resetButtons(); // Advance to next card this.next(); },
this.deck.getCard().setIncorrect(); this.resetButtons();
if(card) {
'incorrect':function() { // Set the card incorrect flag this.deck.getCard().setIncorrect(); // Change style of incorrect button this.resetButtons(); // Advance to next card this.next(); },
this.next();
card.setIncorrect(); this.resetButtons(); this.next(); }
'incorrect':function() { // Set the card incorrect flag this.deck.getCard().setIncorrect(); // Change style of incorrect button this.resetButtons(); // Advance to next card this.next(); },
$(document).unbind('keydown', 'space', function(){ DeckViewerUI.showAnswer(); return false; });
'next':function() { // Get the next card var success = this.deck.getNextCard(); // Reset the display and show the card if(success) { this.resetButtons(); this.showCard(this.deck.getCard()); } // End of deck, show special div else { ...
$(document).bind('keydown', 'space', function(){ DeckViewerUI.showAnswer(); return false; });
'previous':function() { // Get the previous card this.deck.getPreviousCard(); // If the 'end of deck' div is showing, reset var bodyHidden = ($("div#row_body").css('display') == 'none'); if(bodyHidden) { $("div#row_body").show(); $("div#row_body_mask").hide()...
this.Marker.openInfoWindowTabs(this.tabsArray); this.retrieveDatasets();
var me = this; this.Marker.openInfoWindowTabs(this.tabsArray, { onOpenFn:function(){ me.retrieveDatasets(); } });
'show': function() { //Open our window with the basic info displayed this.tabsArray[0] = new GInfoWindowTab(this.TAB_1, this.summaryHtml); this.Marker.openInfoWindowTabs(this.tabsArray); //And update it with the downloaded data as it arrives this.retrieveDatasets(); },
var sHtml = "<div style=\"padding-bottom:30px;white-space:pre-wrap;white-space:-moz-pre-wrap;" + "white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;" + "width:99%;max-height:300px;overflow:auto;\">" + "<table border=\"1\" cellspacing=\"1\" width=\"100%\" bgcolor=\"#EAF0F8\">" + "<tr><td>" + this.cswRec...
var sHtml = '<div style="padding-bottom:30px;white-space:pre-wrap;white-space:-moz-pre-wrap;' + 'white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;' + 'width:99%;max-height:300px;overflow:auto;">' + '<table border="1" cellspacing="1" width="100%" bgcolor="#EAF0F8">' + '<tr><td>' + this.cswRecord.getSer...
'show': function() { var sHtml = "<div style=\"padding-bottom:30px;white-space:pre-wrap;white-space:-moz-pre-wrap;" + "white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;" + "width:99%;max-height:300px;overflow:auto;\">" + "<table border=\"1\" cellspacing=\"1\" width=\"100%\" bgcolor=\"#EAF0F8\...
var linkName = wwwLinks[i].name != null && wwwLinks[i].name != "" ? wwwLinks[i].name : wwwLinks[i].url; sHtml += "<tr><td>" + "<a href='" + wwwLinks[i].url + "' target='_blank'>" + linkName + "</a>" + "</td></tr>";
var linkName = wwwLinks[i].name !== null && wwwLinks[i].name !== "" ? wwwLinks[i].name : wwwLinks[i].url; sHtml += "<tr><td>" + "<a href='" + wwwLinks[i].url + "' target='_blank'>" + linkName + "</a>" + "</td></tr>";
'show': function() { var sHtml = "<div style=\"padding-bottom:30px;white-space:pre-wrap;white-space:-moz-pre-wrap;" + "white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;" + "width:99%;max-height:300px;overflow:auto;\">" + "<table border=\"1\" cellspacing=\"1\" width=\"100%\" bgcolor=\"#EAF0F8\...
sHtml += "</table>" + "</div>";
sHtml += "</table></div>";
'show': function() { var sHtml = "<div style=\"padding-bottom:30px;white-space:pre-wrap;white-space:-moz-pre-wrap;" + "white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;" + "width:99%;max-height:300px;overflow:auto;\">" + "<table border=\"1\" cellspacing=\"1\" width=\"100%\" bgcolor=\"#EAF0F8\...
"overflow:auto;\">"
"width:99%;overflow:auto;\">"
'show': function() { //Open our window with the basic info displayed this.tabsArray[0] = new GInfoWindowTab(this.TAB_1, "<table border=\"1\" cellspacing=\"1\" width=\"100%\" bgcolor=\"#EAF0F8\">" +"<tr><td><pre style=\"white-space:pre-wrap;white-space:-moz-pre-wrap;" + "white-space:-pre-wrap;white-space...
+"</table>");
+"</table>" + "</div>");
'show': function() { //Open our window with the basic info displayed this.tabsArray[0] = new GInfoWindowTab(this.TAB_1, "<table border=\"1\" cellspacing=\"1\" width=\"100%\" bgcolor=\"#EAF0F8\">" +"<tr><td><pre style=\"white-space:pre-wrap;white-space:-moz-pre-wrap;" + "white-space:-pre-wrap;white-space...
{maxWidth:800, maxHeight:500, autoScroll:true}); this.retrieveDatasets();
{maxWidth:800, maxHeight:300, autoScroll:true, onOpenFn:function(){ me.retrieveDatasets(); }});
'show': function() { //Open our window with the basic info displayed this.tabsArray[0] = new GInfoWindowTab(this.TAB_1, "<table border=\"1\" cellspacing=\"1\" width=\"100%\" bgcolor=\"#EAF0F8\">" +"<tr><td><pre style=\"white-space:pre-wrap;white-space:-moz-pre-wrap;" + "white-space:-pre-wrap;white-space...
if($("input#show_ans_chk").is(':checked')) {
var chkbox = $("input#show_ans_chk"); if(chkbox.is(':checked')) {
'showAnswerToggle':function() { if($("input#show_ans_chk").is(':checked')) { this.isShowingAnswer = 1; this.showAnswer(); } else { this.isShowingAnswer = 0; this.hideAnswer(); } }
} else { this.showAnswer();
'showCard':function(card) { if(!card) { //alert("Null card in DeckViewerUI.showCard"); return; } // Hide answer field if showAnswer bit set false if(!this.isShowingAnswer) { this.hideAnswer(); } // Set rating field if(this.rts) { ...
var newRating = (this.deck.getCard().rating + 1)%RATING_MAP.length;
var rating = this.deck.getCard().rating; var newRating = rating+1; if(newRating > 3) { newRating = 1; }
'toggleRating':function() { // Get new rating var newRating = (this.deck.getCard().rating + 1)%RATING_MAP.length; this.deck.getCard().setRating(newRating); // Display new rating var ratingStr = RATING_MAP[this.deck.getCard().rating]; $("#card_rating").text(ratingStr...
var ratingStr = RATING_MAP[this.deck.getCard().rating];
var ratingStr = RATING_MAP[tmp];
'toggleRating':function() { // Get new rating var newRating = (this.deck.getCard().rating + 1)%RATING_MAP.length; this.deck.getCard().setRating(newRating); // Display new rating var ratingStr = RATING_MAP[this.deck.getCard().rating]; $("#card_rating").text(ratingStr...
}
self.seekTo(0, 0); }
(function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.scrollable = { conf: { activeClass: 'active', circular: false, clonedClass: 'cloned', disabledClass: 'disabled', easing: 'swing', initialIndex: 0, item: null, items: '.items', keyboard: true, mousewheel: fa...
function Slideshow(root, conf, len) {
function Slideshow(root, conf) {
(function($) { var tool; tool = $.tools.tabs.slideshow = { conf: { next: '.forward', prev: '.backward', disabledClass: 'disabled', autoplay: false, autopause: true, interval: 3000, clickable: true, api: false } }; function Slideshow(root, conf, len) { var self = this, fire = root.add(this)...
return len == 1 ? $(query) : root.parent().find(query);
var el = $(query); return el.length < 2 ? el : root.parent().find(query);
(function($) { var tool; tool = $.tools.tabs.slideshow = { conf: { next: '.forward', prev: '.backward', disabledClass: 'disabled', autoplay: false, autopause: true, interval: 3000, clickable: true, api: false } }; function Slideshow(root, conf, len) { var self = this, fire = root.add(this)...
var el = this.data("slideshow"), len = this.length;
var el = this.data("slideshow");
(function($) { var tool; tool = $.tools.tabs.slideshow = { conf: { next: '.forward', prev: '.backward', disabledClass: 'disabled', autoplay: false, autopause: true, interval: 3000, clickable: true, api: false } }; function Slideshow(root, conf, len) { var self = this, fire = root.add(this)...
el = new Slideshow($(this), conf, len);
el = new Slideshow($(this), conf);
(function($) { var tool; tool = $.tools.tabs.slideshow = { conf: { next: '.forward', prev: '.backward', disabledClass: 'disabled', autoplay: false, autopause: true, interval: 3000, clickable: true, api: false } }; function Slideshow(root, conf, len) { var self = this, fire = root.add(this)...
(function(c){var d=[];c.tools=c.tools||{};c.tools.tooltip={version:"1.1.3",conf:{effect:"toggle",fadeOutSpeed:"fast",tip:null,predelay:0,delay:30,opacity:1,lazy:undefined,position:["top","center"],offset:[0,0],cancelDefault:true,relative:false,oneInstance:true,events:{def:"mouseover,mouseout",input:"focus,blur",widget:...
(function(f){function p(a,b,c){var h=c.relative?a.position().top:a.offset().top,d=c.relative?a.position().left:a.offset().left,i=c.position[0];h-=b.outerHeight()-c.offset[0];d+=a.outerWidth()+c.offset[1];if(/iPad/i.test(navigator.userAgent))h-=f(window).scrollTop();var j=b.outerHeight()+a.outerHeight();if(i=="center")h...
(function(c){var d=[];c.tools=c.tools||{};c.tools.tooltip={version:"1.1.3",conf:{effect:"toggle",fadeOutSpeed:"fast",tip:null,predelay:0,delay:30,opacity:1,lazy:undefined,position:["top","center"],offset:[0,0],cancelDefault:true,relative:false,oneInstance:true,events:{def:"mouseover,mouseout",input:"focus,blur",widget:...
if (this.ctx == null) { console.log('WGLWidget: failed to get a webgl context'); }
function(APP, canvas) { jQuery.data(canvas, 'obj', this); var self = this; var WT = APP.WT; var vec3 = WT.glMatrix.vec3; var mat3 = WT.glMatrix.mat3; var mat4 = WT.glMatrix.mat4; this.ctx = null; // Placeholders for the initializeGL and paintGL functions, // which will be overwritten by whatever is r...
false&&f.load();return B(i)}if($f(a)){$f(a).getParent().innerHTML="";u=$f(a).getIndex();e[u]=f}else{e.push(f);u=e.length-1}I=parseInt(a.style.height,10)||a.clientHeight;if(typeof b=="string")b={src:b};j=a.id||"fp"+C();n=b.id||j+"_api";b.id=n;c.playerId=j;if(typeof c=="string")c={clip:{url:c}};if(typeof c.clip=="string"...
false&&f.load();return B(i)}if($f(a)){$f(a).getParent().innerHTML="";u=$f(a).getIndex();e[u]=f}else{e.push(f);u=e.length-1}G=parseInt(a.style.height,10)||a.clientHeight;if(typeof b=="string")b={src:b};j=a.id||"fp"+C();n=b.id||j+"_api";b.id=n;c.playerId=j;if(typeof c=="string")c={clip:{url:c}};if(typeof c.clip=="string"...
(function(){function z(a){if(!a||typeof a!="object")return a;var b=new a.constructor;for(var c in a)if(a.hasOwnProperty(c))b[c]=z(a[c]);return b}function o(a,b){if(a){var c,m=0,f=a.length;if(f===undefined)for(c in a){if(b.call(a[c],c,a[c])===false)break}else for(c=a[0];m<f&&b.call(c,m,c)!==false;c=a[++m]);return a}}fun...
0];b.expressInstall="http: return f},show:function(){a.style.height=I+"px";if(l)l.style.height=G+"px";return f},isHidden:function(){return l&&parseInt(l.style.height,10)===0},load:function(g){if(!l&&f._fireEvent("onBeforeLoad")!==false){o(e,function(){this.unload()});if((F=a.innerHTML)&&!flashembed.isSupported(b.versio...
0];b.expressInstall="http: return f},show:function(){a.style.height=G+"px";if(l)l.style.height=H+"px";return f},isHidden:function(){return l&&parseInt(l.style.height,10)===0},load:function(g){if(!l&&f._fireEvent("onBeforeLoad")!==false){o(e,function(){this.unload()});if((F=a.innerHTML)&&!flashembed.isSupported(b.versio...
(function(){function z(a){if(!a||typeof a!="object")return a;var b=new a.constructor;for(var c in a)if(a.hasOwnProperty(c))b[c]=z(a[c]);return b}function o(a,b){if(a){var c,m=0,f=a.length;if(f===undefined)for(c in a){if(b.call(a[c],c,a[c])===false)break}else for(c=a[0];m<f&&b.call(c,m,c)!==false;c=a[++m]);return a}}fun...
function(){var g=this;f[g]=function(q,i){if(!l)return f;var s=null;s=q!==undefined&&i!==undefined?l["fp_"+g](q,i):q===undefined?l["fp_"+g]():l["fp_"+g](q);return s==="undefined"||s===undefined?f:s}});f._fireEvent=function(g){if(typeof g=="string")g=[g];var q=g[0],i=g[1],s=g[2],D=g[3],H=0;c.debug&&console.log("$f.fireEv...
function(){var g=this;f[g]=function(q,i){if(!l)return f;var s=null;s=q!==undefined&&i!==undefined?l["fp_"+g](q,i):q===undefined?l["fp_"+g]():l["fp_"+g](q);return s==="undefined"||s===undefined?f:s}});f._fireEvent=function(g){if(typeof g=="string")g=[g];var q=g[0],i=g[1],s=g[2],D=g[3],I=0;c.debug&&console.log("$f.fireEv...
(function(){function z(a){if(!a||typeof a!="object")return a;var b=new a.constructor;for(var c in a)if(a.hasOwnProperty(c))b[c]=z(a[c]);return b}function o(a,b){if(a){var c,m=0,f=a.length;if(f===undefined)for(c in a){if(b.call(a[c],c,a[c])===false)break}else for(c=a[0];m<f&&b.call(c,m,c)!==false;c=a[++m]);return a}}fun...
a)return b;return-1}function w(a,b){var c=a.className.split(" ")[0],d=c.substring(7)*1,k=p.firstChild,g=f.firstChild;c=$(g).find("."+c).get(0);var j=a.nextSibling,e=c.nextSibling,l=i.pxself(a,"width")-1+b;k.style.width=g.style.width=i.pxself(k,"width")+b+"px";a.style.width=l+1+"px";for(c.style.width=l+7+"px";j;j=j.next...
a)return b;return-1}function w(a,b){var c=a.className.split(" ")[0],d=c.substring(7)*1,k=p.firstChild,g=f.firstChild;c=$(g).find("."+c).get(0);var j=a.nextSibling,e=c.nextSibling,l=i.pxself(a,"width")-1+b;k.style.width=g.style.width=i.pxself(k,"width")+b+"px";a.style.width=l+1+"px";for(c.style.width=l+7+"px";j;j=j.next...
WT_DECLARE_WT_MEMBER(1,"WTableView",function(n,h,f,p){function q(a){var b=-1,c=false,d=false,k=null;for(a=a.target||a.srcElement;a;){var g=$(a);if(g.hasClass("Wt-tv-contents"))break;else if(g.hasClass("Wt-tv-c")){if(a.getAttribute("drop")==="true")d=true;if(g.hasClass("Wt-selected"))c=true;k=a;a=a.parentNode;b=a.classN...
function find(root, query) { var el = $(query); return el.length < 2 ? el : root.parent().find(query); }
(function($) { var t = $.tools.scrollable; t.navigator = { conf: { navi: '.navi', naviItem: null, activeClass: 'active', indexed: false, idPrefix: null, // 1.2 history: false } }; // jQuery plugin implementation $.fn.navigator = function(conf) { // configuration if (typeof conf == 'stri...
navi = api.getRoot().parent().find(conf.navi),
navi = find(api.getRoot(), conf.navi),
(function($) { var t = $.tools.scrollable; t.navigator = { conf: { navi: '.navi', naviItem: null, activeClass: 'active', indexed: false, idPrefix: null, // 1.2 history: false } }; // jQuery plugin implementation $.fn.navigator = function(conf) { // configuration if (typeof conf == 'stri...
this.ctx = canvas.getContext('webgl');
this.ctx = canvas.getContext('webgl', {antialias: true});
function(APP, canvas) { jQuery.data(canvas, 'obj', this); var self = this; var WT = APP.WT; var vec3 = WT.glMatrix.vec3; var mat3 = WT.glMatrix.mat3; var mat4 = WT.glMatrix.mat4; this.ctx = null; // Placeholders for the initializeGL and paintGL functions, // which will be overwritten by whatever is r...
key.accidentals.each(function(acc) { var pitch = pitches[acc.note]; pitch = pitch - mid; acc.verticalPos = pitch % 14;
key.each(function(k) { ret.accidentals.push(Object.clone(k));
key.accidentals.each(function(acc) { var pitch = pitches[acc.note]; pitch = pitch - mid; acc.verticalPos = pitch % 14; // Always keep this on the two octaves on the staff });
showArtifactContainer : function(record) { if ('COLLAPSED' == record.get('version') || 'COLLAPSED' == record.get('packaging') || 'COLLAPSED' == record.get('classifier')) { return false; } return true; },
Sonatype.Events.addListener('searchTypeInit', function(searchTypes, panel) { // keyword is the default, we always want first in list searchTypes.splice(0, 0, { value : 'quick', text : 'Keyword Search', scope : panel, handler : panel.switchSearchType, defa...
a.style.display="";g.isHidden(a)||g.fitToWindow(a,b,f,b,f)};this.Horizontal=1;this.Vertical=2;this.positionAtWidget=function(a,b,f,l){a=g.getElement(a);b=g.getElement(b);var n=g.widgetPageCoordinates(b),o;if(l){a.parentNode.removeChild(a);$(".Wt-domRoot").get(0).appendChild(a)}a.style.position="absolute";a.style.displa...
g.isHidden(a)||g.fitToWindow(a,b,f,b,f)};this.Horizontal=1;this.Vertical=2;this.positionAtWidget=function(a,b,f,l){a=g.getElement(a);b=g.getElement(b);var n=g.widgetPageCoordinates(b),o;if(l){a.parentNode.removeChild(a);$(".Wt-domRoot").get(0).appendChild(a)}a.style.position="absolute";a.style.display="block";if(f==g.H...
window._$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function v(a,b,f){if(a=="auto"||a==null)return f;return(a=(a=b.exec(a))&&a.length==2?a[1]:...
WT_DECLARE_WT_MEMBER(1,"WGLWidget",function(p,j){jQuery.data(j,"obj",this);var h=p.WT;this.ctx=null;this.initializeGL=function(){};this.paintGL=function(){};var f=null,g=null,k=null,l=0,m=0,c=null,n=0,o=0;this.discoverContext=function(){if(j.getContext){this.ctx=j.getContext("experimental-webgl");if(this.ctx==null)this...
WT_DECLARE_WT_MEMBER(1,"WGLWidget",function(r,l){jQuery.data(l,"obj",this);var f=r.WT,k=f.glMatrix.vec3,b=f.glMatrix.mat4;this.ctx=null;this.initializeGL=function(){};this.paintGL=function(){};var h=null,i=null,m=null,n=0,o=0,e=null,p=0,q=0;this.discoverContext=function(){if(l.getContext){this.ctx=l.getContext("experim...
WT_DECLARE_WT_MEMBER(1,"WGLWidget",function(p,j){jQuery.data(j,"obj",this);var h=p.WT;this.ctx=null;this.initializeGL=function(){};this.paintGL=function(){};var f=null,g=null,k=null,l=0,m=0,c=null,n=0,o=0;this.discoverContext=function(){if(j.getContext){this.ctx=j.getContext("experimental-webgl");if(this.ctx==null)this...
vertical = conf.vertical || dim(root, "height") > dim(root, "width");
vertical = conf.vertical;
(function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.scrollable = { conf: { activeClass: 'active', circular: false, clonedClass: 'cloned', disabledClass: 'disabled', easing: 'swing', initialIndex: 0, item: null, items: '.items', keyboard: true, mousewheel: fa...
$.each("onBeforeSeek,onSeek,onAddItem".split(","), function(i, name) {
$.each(['onBeforeSeek', 'onSeek', 'onAddItem'], function(i, name) {
(function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.scrollable = { conf: { activeClass: 'active', circular: false, clonedClass: 'cloned', disabledClass: 'disabled', easing: 'swing', initialIndex: 0, item: null, items: '.items', keyboard: true, mousewheel: fa...
self.seekTo(conf.initialIndex, 0, true);
(function($) { // static constructs $.tools = $.tools || {version: '@VERSION'}; $.tools.scrollable = { conf: { activeClass: 'active', circular: false, clonedClass: 'cloned', disabledClass: 'disabled', easing: 'swing', initialIndex: 0, item: null, items: '.items', keyboard: true, mousewheel: fa...
}).error(function(error, b) { console.error(img.data("src"), error, b); done.call();
}).error(function(error, b) { done.call(null, error);
(function($) { /* sizing: padding / margins */ $.tools = $.tools || {}; var tool = $.tools.lazyload = { conf: { css: { before: null, loading: 'loading', after: null, progress: 'progress' }, effect: 'show', fadeInSpeed: 0, growSpeed: 'slow', growParent: '.grow', // jquery || close...
getElements: function() { return els; },
(function($) { /* sizing: padding / margins */ $.tools = $.tools || {}; var tool = $.tools.lazyload = { conf: { css: { before: null, loading: 'loading', after: null, progress: 'progress' }, effect: 'show', fadeInSpeed: 0, growSpeed: 'slow', growParent: '.grow', // jquery || close...
console.info(conf);
(function($) { /* sizing: padding / margins */ $.tools = $.tools || {}; var tool = $.tools.lazyload = { conf: { css: { before: null, loading: 'loading', after: null, progress: 'progress' }, effect: 'show', fadeInSpeed: 0, growSpeed: 'slow', growParent: '.grow', // jquery || close...
return [ver[1], ver[3]];
return ver ? [ver[1], ver[3]] : [0, 0];
(function() { var IE = document.all, URL = 'http://www.adobe.com/go/getflashplayer', JQUERY = typeof jQuery == 'function', RE = /(\d+)[^\d]+(\d+)[^\d]*(\d*)/, GLOBAL_OPTS = { // very common opts width: '100%', height: '100%', id: "_" + ("" + Math.random()).slice(9), // flashembed defaults a...
if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'',version:'3.2.1',revision:'5372',_:{},status:'unloaded',basePath:(function(){var d=window.CKEDITOR_BASEPATH||'';if(!d){var e=document.getElementsByTagName('script');for(var f=0;f<e.length;f++){var g=e[f].src.match(/(^|.*[\\\/])ckeditor(?:_basic)?(?:_sou...
if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'',version:'3.4.1',revision:'5892',_:{},status:'unloaded',basePath:(function(){var d=window.CKEDITOR_BASEPATH||'';if(!d){var e=document.getElementsByTagName('script');for(var f=0;f<e.length;f++){var g=e[f].src.match(/(^|.*[\\\/])ckeditor(?:_basic)?(?:_sou...
if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'',version:'3.2.1',revision:'5372',_:{},status:'unloaded',basePath:(function(){var d=window.CKEDITOR_BASEPATH||'';if(!d){var e=document.getElementsByTagName('script');for(var f=0;f<e.length;f++){var g=e[f].src.match(/(^|.*[\\\/])ckeditor(?:_basic)?(?:_sou...
b.substring(7)*1;e.style.width=g+"px";r.adjustColumns();l.emit(d,"columnResized",m,g)},c,d,a,-2,-1)}};this.adjustColumns=function(){var c=q.firstChild,a=i.firstChild,b=0,e=0;e=i.lastChild.className.split(" ")[0];var h=f.getCssRule("#"+d.id+" ."+e);if(p)a=a.firstChild;if(!f.isHidden(d)){for(var g=0,m=a.childNodes.length...
b.substring(7)*1;e.style.width=g+"px";r.adjustColumns();l.emit(d,"columnResized",m,parseInt(g))},c,d,a,-2,-1)}};this.adjustColumns=function(){var c=q.firstChild,a=i.firstChild,b=0,e=0;e=i.lastChild.className.split(" ")[0];var h=f.getCssRule("#"+d.id+" ."+e);if(p)a=a.firstChild;if(!f.isHidden(d)){for(var g=0,m=a.childNo...
WT_DECLARE_WT_MEMBER(1,"WTreeView",function(l,d,k,s,p){function o(c){var a=-1,b=null,e=false,h=false,g=null;for(c=c.target||c.srcElement;c;){if(c.className.indexOf("c1 rh")==0){if(a==-1)a=0}else if(c.className.indexOf("Wt-tv-c")==0){if(c.className.indexOf("Wt-tv-c")==0)a=c.className.split(" ")[0].substring(7)*1;else if...
var offset = WT.widgetCoordinates(el, event), elpos = WT.widgetPageCoordinates(el),
var offset, elpos = WT.widgetPageCoordinates(el),
function(WT, orientation, width, height, minDelta, maxDelta, dragWidgetClass, doneFn, el, parent, event, offsetX, offsetY) { var handle = document.createElement('div'); handle.style.position = 'absolute'; handle.style.zIndex = '100'; if (orientation == 'v') { handle.style.width = height + '...
WT.capture(null); WT.capture(handle);
function(WT, orientation, width, height, minDelta, maxDelta, dragWidgetClass, doneFn, el, parent, event, offsetX, offsetY) { var handle = document.createElement('div'); handle.style.position = 'absolute'; handle.style.zIndex = '100'; if (orientation == 'v') { handle.style.width = height + '...
var p = WT.pageCoordinates(event), result;
var p, result; if (event.changedTouches) p = { x: event.changedTouches[0].pageX, y: event.changedTouches[0].pageY }; else p = WT.pageCoordinates(event);
function(WT, orientation, width, height, minDelta, maxDelta, dragWidgetClass, doneFn, el, parent, event, offsetX, offsetY) { var handle = document.createElement('div'); handle.style.position = 'absolute'; handle.style.zIndex = '100'; if (orientation == 'v') { handle.style.width = height + '...
handle.onmousemove = function(event) {
handle.onmousemove = parent.ontouchmove = function(event) {
function(WT, orientation, width, height, minDelta, maxDelta, dragWidgetClass, doneFn, el, parent, event, offsetX, offsetY) { var handle = document.createElement('div'); handle.style.position = 'absolute'; handle.style.zIndex = '100'; if (orientation == 'v') { handle.style.width = height + '...
handle.onmouseup = function(event) {
handle.onmouseup = parent.ontouchend = function(event) {
function(WT, orientation, width, height, minDelta, maxDelta, dragWidgetClass, doneFn, el, parent, event, offsetX, offsetY) { var handle = document.createElement('div'); handle.style.position = 'absolute'; handle.style.zIndex = '100'; if (orientation == 'v') { handle.style.width = height + '...
parent.ontouchmove = null;
function(WT, orientation, width, height, minDelta, maxDelta, dragWidgetClass, doneFn, el, parent, event, offsetX, offsetY) { var handle = document.createElement('div'); handle.style.position = 'absolute'; handle.style.zIndex = '100'; if (orientation == 'v') { handle.style.width = height + '...
if (c[key] !== null) { vars += key +'='+ (typeof c[key] == 'object' ? asString(c[key]) : c[key]) + '&';
var val = c[key]; if (val !== null) { vars += key +'='+ (typeof val == 'object' || typeof val == 'function' ? asString(val) : val) + '&';
(function() { //{{{ utility functions var jQ = typeof jQuery == 'function';var options = { // very common opts width: '100%', height: '100%', // flashembed defaults allowfullscreen: true, allowscriptaccess: 'always', quality: 'high', // flashembed specific options version: null, onFail: null, expressInstall:...