rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
}E=this.endContainer;F=this.endOffset;y=z=null;A=B=false;if(E.type==3){E=!e.trim(E.substring(F)).length&&E;B=!(E&&E.getLength());if(E)if(!(z=E.getNext()))y=E.getParent();}else{z=E.getChild(F);if(!z)y=E;}while(y||z){if(y&&!z){if(!A&&y.equals(u))A=true;if(!v.contains(y))break;if(!B||y.getComputedStyle('display')!='inline...
if(v&&v.length){var w=v[0].getEnclosedNode();if(!w||w&&!(w.type==1&&w.getName() in m))w=p(t,l);if(w){if(!w.isReadOnly())o(w,r,s);}else{var x=t.createBookmarks(),y,z;for(var A=v.length-1;A>=0;A--){var B=[],C=new d.walker(v[A]);C.evaluator=function(G){return G.type==1&&G.getName() in l&&!(G.getName()==(u==1)?'p':'div'&&G...
}E=this.endContainer;F=this.endOffset;y=z=null;A=B=false;if(E.type==3){E=!e.trim(E.substring(F)).length&&E;B=!(E&&E.getLength());if(E)if(!(z=E.getNext()))y=E.getParent();}else{z=E.getChild(F);if(!z)y=E;}while(y||z){if(y&&!z){if(!A&&y.equals(u))A=true;if(!v.contains(y))break;if(!B||y.getComputedStyle('display')!='inline...
return a=this._type?Xmla.Rowset.KEYS[this._type]:this.getFieldNames()}};Xmla.Exception=function(a,b,d,c,e,f){this.type=a;this.code=b;this.message=d;this.source=e;this.helpfile=c;this.data=f;return this};Xmla.Exception.TYPE_WARNING="warning";Xmla.Exception.TYPE_ERROR="error";var l="http:
return a=this._type?Xmla.Rowset.KEYS[this._type]:this.getFieldNames()}};Xmla.Exception=function(a,b,d,c,e,h){this.type=a;this.code=b;this.message=d;this.source=e;this.helpfile=c;this.data=h;return this};Xmla.Exception.TYPE_WARNING="warning";Xmla.Exception.TYPE_ERROR="error";var m="http:
return a=this._type?Xmla.Rowset.KEYS[this._type]:this.getFieldNames()}};Xmla.Exception=function(a,b,d,c,e,f){this.type=a;this.code=b;this.message=d;this.source=e;this.helpfile=c;this.data=f;return this};Xmla.Exception.TYPE_WARNING="warning";Xmla.Exception.TYPE_ERROR="error";var l="http://code.google.com/p/xmla4js/wiki/...
l.on('selectionChange',function(m){var n=l.getCommand('unlink'),o=m.data.path.lastElement.getAscendant('a',true);if(o&&o.getName()=='a'&&o.getAttribute('href'))n.setState(2);else n.setState(0);});if(l.addMenuItems)l.addMenuItems({anchor:{label:l.lang.anchor.menu,command:'anchor',group:'anchor'},link:{label:l.lang.link....
}}});}});a.on('dialogDefinition',function(p){var q=p.data.name;if(q=='table'||q=='tableProperties'){var r=p.data.definition,s=r.getContents('info'),t=s.get('txtBorder'),u=t.commit;t.commit=e.override(u,function(v){return function(w,x){v.apply(this,arguments);var y=parseInt(this.getValue(),10);x[!y||y<=0?'addClass':'rem...
l.on('selectionChange',function(m){var n=l.getCommand('unlink'),o=m.data.path.lastElement.getAscendant('a',true);if(o&&o.getName()=='a'&&o.getAttribute('href'))n.setState(2);else n.setState(0);});if(l.addMenuItems)l.addMenuItems({anchor:{label:l.lang.anchor.menu,command:'anchor',group:'anchor'},link:{label:l.lang.link....
if(q.index)k.button._.instances[q.index]=null;}}}if(r.contextMenu)e.removeFunction(r.contextMenu._.functionId);if(r._.filebrowserFn)e.removeFunction(r._.filebrowserFn);r.fire('destroy');a.remove(r);a.fire('instanceDestroyed',null,r);},execCommand:function(l,m){var n=this.getCommand(l),o={name:l,commandData:m,command:n}...
x.plugins=D;for(var H in D){var I=D[H],J=I.lang,K=j.getPath(H),L=null;I.path=K;if(J){L=e.indexOf(J,x.langCode)>=0?x.langCode:J[0];if(!I.lang[L])G.push(a.getUrl(K+'lang/'+L+'.js'));else{e.extend(x.lang,I.lang[L]);L=null;}}F.push(L);E.push(I);}a.scriptLoader.load(G,function(){var M=['beforeInit','init','afterInit'];for(v...
if(q.index)k.button._.instances[q.index]=null;}}}if(r.contextMenu)e.removeFunction(r.contextMenu._.functionId);if(r._.filebrowserFn)e.removeFunction(r._.filebrowserFn);r.fire('destroy');a.remove(r);a.fire('instanceDestroyed',null,r);},execCommand:function(l,m){var n=this.getCommand(l),o={name:l,commandData:m,command:n}...
break;case Xmla.PROP_FORMAT_MULTIDIMENSIONAL:break}this.response=a.resultset=c;this._fireEvent(Xmla.EVENT_EXECUTE_SUCCESS,a);break}this._fireEvent(Xmla.EVENT_SUCCESS,a)}},execute:function(a){var b=a.properties;if(j(b)){b={};a.properties=b}if(j(b[Xmla.PROP_CONTENT]))b[Xmla.PROP_CONTENT]=Xmla.PROP_CONTENT_SCHEMADATA;if(j...
break;case Xmla.PROP_FORMAT_MULTIDIMENSIONAL:break}this.response=a.resultset=c;this._fireEvent(Xmla.EVENT_EXECUTE_SUCCESS,a);break}this._fireEvent(Xmla.EVENT_SUCCESS,a)}},execute:function(a){var b=a.properties;if(j(b)){b={};a.properties=b}if(j(b[Xmla.PROP_CONTENT]))b[Xmla.PROP_CONTENT]=Xmla.PROP_CONTENT_SCHEMADATA;if(j...
break;case Xmla.PROP_FORMAT_MULTIDIMENSIONAL:break}this.response=a.resultset=c;this._fireEvent(Xmla.EVENT_EXECUTE_SUCCESS,a);break}this._fireEvent(Xmla.EVENT_SUCCESS,a)}},execute:function(a){var b=a.properties;if(j(b)){b={};a.properties=b}if(j(b[Xmla.PROP_CONTENT]))b[Xmla.PROP_CONTENT]=Xmla.PROP_CONTENT_SCHEMADATA;if(j...
break;case Xmla.PROP_FORMAT_MULTIDIMENSIONAL:break}this.response=a.resultset=c;this._fireEvent(Xmla.EVENT_EXECUTE_SUCCESS,a);break}this._fireEvent(Xmla.EVENT_SUCCESS,a)}},execute:function(a){var b=a.properties;if(j(b)){b={};a.properties=b}if(j(b[Xmla.PROP_CONTENT]))b[Xmla.PROP_CONTENT]=Xmla.PROP_CONTENT_SCHEMADATA;if(j...
break;case Xmla.PROP_FORMAT_MULTIDIMENSIONAL:break}this.response=a.resultset=c;this._fireEvent(Xmla.EVENT_EXECUTE_SUCCESS,a);break}this._fireEvent(Xmla.EVENT_SUCCESS,a)}},execute:function(a){var b=a.properties;if(j(b)){b={};a.properties=b}if(j(b[Xmla.PROP_CONTENT]))b[Xmla.PROP_CONTENT]=Xmla.PROP_CONTENT_SCHEMADATA;if(j...
break;case Xmla.PROP_FORMAT_MULTIDIMENSIONAL:break}this.response=a.resultset=c;this._fireEvent(Xmla.EVENT_EXECUTE_SUCCESS,a);break}this._fireEvent(Xmla.EVENT_SUCCESS,a)}},execute:function(a){var b=a.properties;if(j(b)){b={};a.properties=b}if(j(b[Xmla.PROP_CONTENT]))b[Xmla.PROP_CONTENT]=Xmla.PROP_CONTENT_SCHEMADATA;if(j...
let foundWord = text.substring(0, currStart).replace(/.*\n/gm, '').match(RegExp('(' + abbreviations._match + ')$'));
let foundWord = text.substring(0, currStart).replace(/.*[\s\n]/gm, '').match(RegExp('(' + abbreviations._match + ')$'));
expandAbbreviation: function (mode) { let textbox = Editor.getEditor(); if (!textbox) return false; let text = textbox.value; let currStart = textbox.selectionStart; let currEnd = textbox.selectionEnd; let foundWord = text.substring(0, currStart).replace...
$.fn.mask = $.fn.expose = function(conf) { $.mask.load(this, conf); return this; };
$.fn.expose = function(conf) { $.mask.load(conf, this); return this; }
$.fn.mask = $.fn.expose = function(conf) { $.mask.load(this, conf); return this; };
splice:[].splice};d.fn.init.prototype=d.fn;d.extend=d.fn.extend=function(){var a=arguments[0]||{},b=1,e=arguments.length,g=false,h,k,l,q;if(typeof a==="boolean"){g=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!d.isFunction(a))a={};if(e===b){a=this;--b}for(;b<e;b++)if((h=arguments[b])!=null)for(k in h){l=a[k];q=h[k]...
splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,e=arguments.length,f=false,h,k,l,q;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(e===b){a=this;--b}for(;b<e;b++)if((h=arguments[b])!=null)for(k in h){l=a[k];q=h[k]...
splice:[].splice};d.fn.init.prototype=d.fn;d.extend=d.fn.extend=function(){var a=arguments[0]||{},b=1,e=arguments.length,g=false,h,k,l,q;if(typeof a==="boolean"){g=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!d.isFunction(a))a={};if(e===b){a=this;--b}for(;b<e;b++)if((h=arguments[b])!=null)for(k in h){l=a[k];q=h[k]...
type = Zotero.Utilities.cleanString(type).toLowerCase(); citation = Zotero.Utilities.cleanString(citation);
type = Zotero.Utilities.trimInternal(type).toLowerCase(); citation = Zotero.Utilities.trimInternal(citation);
function extractCitation(type, citation) { type = Zotero.Utilities.cleanString(type).toLowerCase(); citation = Zotero.Utilities.cleanString(citation); if(type == "book article") { var item = new Zotero.Item("bookSection"); } else if(type == "book" || type == "book collection") { var item = new Zotero.Item("book"); }...
console.dir(fields);
extractPropertyFields: function (parent) { var fields = { }; var to_delete = []; for (name in $this.plugin_properties) { if ($this.plugin_properties.hasOwnProperty(name)) { var prop = $this.plugin_properties[name], val = p...
flashembed(this,f,e)});return f.api===false?this:a}})();(function(A,o){function v(j,n){for(var t=[],w=0;w<j.length;w++)t.push(j[w]);for(w=0;w<t.length;w++)n(t[w])}function s(){v([x,f],function(j){v(o.getElementsByTagName(j),function(n){var t=true;if(n.canPlayType)if(n.src&&n.canPlayType(F(j,n.src)))t=false;else v(n.get...
flashembed(this,f,e)});return f.api===false?this:a}})();(function(A,o){function v(j,n){for(var t=[],w=0;w<j.length;w++)t.push(j[w]);for(w=0;w<t.length;w++)n(t[w])}function s(){v([x,f],function(j){v(o.getElementsByTagName(j),function(n){var t=true;if(n.canPlayType)if(n.src&&n.canPlayType(F(j,n.src)))t=false;else v(n.get...
flashembed(this,f,e)});return f.api===false?this:a}})();(function(A,o){function v(j,n){for(var t=[],w=0;w<j.length;w++)t.push(j[w]);for(w=0;w<t.length;w++)n(t[w])}function s(){v([x,f],function(j){v(o.getElementsByTagName(j),function(n){var t=true;if(n.canPlayType)if(n.src&&n.canPlayType(F(j,n.src)))t=false;else v(n.get...
b=b.getAttribute("sug");k.focus();s.emit(f,"select",a.id,k.id);x(k,l,b);d();i=null}function z(a,b){for(a=b?a.nextSibling:a.previousSibling;a;a=b?a.nextSibling:a.previousSibling)if(e.hasTag(a,"DIV"))if(a.style.display!="none")return a;return null}function F(a){var b=a.parentNode;if(a.offsetTop+a.offsetHeight>b.scrollTop...
k.focus();s.emit(f,"select",a.id,k.id);w(k,l,b);d();i=null}function z(a,b){for(a=b?a.nextSibling:a.previousSibling;a;a=b?a.nextSibling:a.previousSibling)if(e.hasTag(a,"DIV"))if(a.style.display!="none")return a;return null}function F(a){var b=a.parentNode;if(a.offsetTop+a.offsetHeight>b.scrollTop+b.clientHeight)b.scroll...
b=b.getAttribute("sug");k.focus();s.emit(f,"select",a.id,k.id);x(k,l,b);d();i=null}function z(a,b){for(a=b?a.nextSibling:a.previousSibling;a;a=b?a.nextSibling:a.previousSibling)if(e.hasTag(a,"DIV"))if(a.style.display!="none")return a;return null}function F(a){var b=a.parentNode;if(a.offsetTop+a.offsetHeight>b.scrollTop...
a.getElement(s).dirty=true;window.onresize()}function f(){var e,k=0;for(e=0;;++e){var m=b(e);if(m)k+=a.pctself(m,"width");else break}if(k!=0)for(e=0;;++e)if(m=b(e)){var n=a.pctself(m,"width");if(n)m.style.width=n*100/k+"%"}else break}function q(e,k,m){e=b(k);var n=p(e,k),r=b(k+1),u=p(r,k+1);if(a.pctself(e,"width")>0&&a...
F;++B){w=v.childNodes[B];if(w.className!="Wt-vrh"){if(w.colSpan==1&&D==e&&w.childNodes.length==1){v=w.firstChild;w=k-d.marginH(v);v.style.width=w+"px";break}D+=w.colSpan}}++r}}}function f(e,k,m){var n=e.firstChild;new a.SizeHandle(a,"v",n.offsetHeight,n.offsetWidth,-e.parentNode.previousSibling.offsetHeight,e.parentNod...
a.getElement(s).dirty=true;window.onresize()}function f(){var e,k=0;for(e=0;;++e){var m=b(e);if(m)k+=a.pctself(m,"width");else break}if(k!=0)for(e=0;;++e)if(m=b(e)){var n=a.pctself(m,"width");if(n)m.style.width=n*100/k+"%"}else break}function q(e,k,m){e=b(k);var n=p(e,k),r=b(k+1),u=p(r,k+1);if(a.pctself(e,"width")>0&&a...
ia=(new Date).getTime()}else if(X){clearTimeout(Q);v()}else if((new Date).getTime()-ia>m.updateDelay){clearTimeout(Q);v()}}function F(d){ea=d;q._p_.comm.responseReceived(d)}function v(){Q=null;if(P){if(!ja){if(confirm("The application was quited, do you want to restart?"))document.location=document.location;ja=true}}el...
function y(){if(K!=null&&L!=null){clearTimeout(L);K.abort();K=null}if(K==null)if(Q==null){Q=setTimeout(function(){w()},m.updateDelay);ia=(new Date).getTime()}else if(Y){clearTimeout(Q);w()}else if((new Date).getTime()-ia>m.updateDelay){clearTimeout(Q);w()}}function F(d){ea=d;r._p_.comm.responseReceived(d)}function w(){...
ia=(new Date).getTime()}else if(X){clearTimeout(Q);v()}else if((new Date).getTime()-ia>m.updateDelay){clearTimeout(Q);v()}}function F(d){ea=d;q._p_.comm.responseReceived(d)}function v(){Q=null;if(P){if(!ja){if(confirm("The application was quited, do you want to restart?"))document.location=document.location;ja=true}}el...
F;++B){w=v.childNodes[B];if(w.className!="Wt-vrh"){if(w.colSpan==1&&D==e&&w.childNodes.length==1){v=w.firstChild;w=j-g.marginH(v);v.style.width=w+"px";break}D+=w.colSpan}}++r}}}function c(e,j,m){var n=e.firstChild;new a.SizeHandle(a,"v",n.offsetHeight,n.offsetWidth,-e.parentNode.previousSibling.offsetHeight,e.parentNod...
F;++B){x=w.childNodes[B];if(x.className!="Wt-vrh"){if(x.colSpan==1&&D==e&&x.childNodes.length==1){w=x.firstChild;x=j-g.marginH(w);w.style.width=x+"px";break}D+=x.colSpan}}++r}}}function c(e,j,m){var n=e.firstChild;new a.SizeHandle(a,"v",n.offsetHeight,n.offsetWidth,-e.parentNode.previousSibling.offsetHeight,e.parentNod...
F;++B){w=v.childNodes[B];if(w.className!="Wt-vrh"){if(w.colSpan==1&&D==e&&w.childNodes.length==1){v=w.firstChild;w=j-g.marginH(v);v.style.width=w+"px";break}D+=w.colSpan}}++r}}}function c(e,j,m){var n=e.firstChild;new a.SizeHandle(a,"v",n.offsetHeight,n.offsetWidth,-e.parentNode.previousSibling.offsetHeight,e.parentNod...
O=null}J=null;if(d>0)++W;else W=0;if(!Q)if(ga||z.length>0)if(d==1){d=Math.min(12E4,Math.exp(W)*500);R=setTimeout(function(){G()},d)}else G()}}function x(){J.abort();O=J=null;Q||G()}function A(d,c,f,j){o.checkReleaseCapture(d,f);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!J){_$_$endif_$_();var m={},g=z.length;m.object=d;...
ha>o.updateDelay){clearTimeout(Q);F()}}function H(d){ca=d;x._p_.comm.responseReceived(d)}function F(){Q=null;if(P){if(!ia){if(confirm("The application was quited, do you want to restart?"))document.location=document.location;ia=true}}else{var d,c,f,k="&rand="+Math.round(Math.random(ja)*1E5);if(y.length>0){d=a();c=d.fee...
O=null}J=null;if(d>0)++W;else W=0;if(!Q)if(ga||z.length>0)if(d==1){d=Math.min(12E4,Math.exp(W)*500);R=setTimeout(function(){G()},d)}else G()}}function x(){J.abort();O=J=null;Q||G()}function A(d,c,f,j){o.checkReleaseCapture(d,f);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!J){_$_$endif_$_();var m={},g=z.length;m.object=d;...
d)}else G()}}function x(){J.abort();O=J=null;Q||G()}function A(d,c,f,j){o.checkReleaseCapture(d,f);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!J){_$_$endif_$_();var m={},h=z.length;m.object=d;m.signal=c;m.event=f;m.feedback=j;z[h]=T(m,h);F();q();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function F(){if(J!=nu...
d)}else G()}}function x(){J.abort();O=J=null;Q||G()}function A(d,c,f,j){o.checkReleaseCapture(d,f);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!J){_$_$endif_$_();var m={},g=z.length;m.object=d;m.signal=c;m.event=f;m.feedback=j;z[g]=T(m,g);F();q();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function F(){if(J!=nu...
d)}else G()}}function x(){J.abort();O=J=null;Q||G()}function A(d,c,f,j){o.checkReleaseCapture(d,f);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!J){_$_$endif_$_();var m={},h=z.length;m.object=d;m.signal=c;m.event=f;m.feedback=j;z[h]=T(m,h);F();q();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function F(){if(J!=nu...
l.offsetWidth,-c.parentNode.previousSibling.offsetHeight,c.parentNode.nextSibling.offsetHeight,"Wt-vsh",function(q){f(c,g,q)},l,n,j,0,0)}function m(c,g,j){var l=-c.previousSibling.offsetWidth,q=c.nextSibling.offsetWidth,s=c.firstChild,v=a.pxself(u.rows[0].childNodes[0],"paddingTop"),w=a.pxself(u.rows[u.rows.length-1].c...
a.getElement(s).dirty=true;window.onresize()}function f(){var e,k=0;for(e=0;;++e){var m=b(e);if(m)k+=a.pctself(m,"width");else break}if(k!=0)for(e=0;;++e)if(m=b(e)){var n=a.pctself(m,"width");if(n)m.style.width=n*100/k+"%"}else break}function q(e,k,m){e=b(k);var n=p(e,k),r=b(k+1),u=p(r,k+1);if(a.pctself(e,"width")>0&&a...
l.offsetWidth,-c.parentNode.previousSibling.offsetHeight,c.parentNode.nextSibling.offsetHeight,"Wt-vsh",function(q){f(c,g,q)},l,n,j,0,0)}function m(c,g,j){var l=-c.previousSibling.offsetWidth,q=c.nextSibling.offsetWidth,s=c.firstChild,v=a.pxself(u.rows[0].childNodes[0],"paddingTop"),w=a.pxself(u.rows[u.rows.length-1].c...
function(a,b,f){a=g.getElement(a);b=g.getElement(b);var h=g.widgetPageCoordinates(b),k,o;a.style.display="block";if(f==g.Horizontal){f=h.x+b.offsetWidth;k=h.y;o=h.x;b=h.y+b.offsetHeight}else{f=h.x;k=h.y+b.offsetHeight;o=h.x+b.offsetWidth;b=h.y}g.fitToWindow(a,f,k,o,b)};this.hasFocus=function(a){return a==document.activ...
document.activeElement};this.history=function(){function a(){var l,p;p=location.href;l=p.indexOf("#");return l>=0?p.substr(l+1):null}function b(){v.value=G+"|"+C;if(u)v.value+="|"+M.join(",")}function f(l){if(l){if(!l||C!==l){C=l||G;H(unescape(C))}}else{C=G;H(unescape(C))}}function h(l){var p;l='<html><body><div id="st...
function(a,b,f){a=g.getElement(a);b=g.getElement(b);var h=g.widgetPageCoordinates(b),k,o;a.style.display="block";if(f==g.Horizontal){f=h.x+b.offsetWidth;k=h.y;o=h.x;b=h.y+b.offsetHeight}else{f=h.x;k=h.y+b.offsetHeight;o=h.x+b.offsetWidth;b=h.y}g.fitToWindow(a,f,k,o,b)};this.hasFocus=function(a){return a==document.activ...
if(!K){_$_$endif_$_();var m={},i=A.length;m.object=d;m.signal=c;m.event=e;m.feedback=j;A[i]=B(m,i);x();E();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function x(){if(K!=null&&L!=null){clearTimeout(L);K.abort();K=null}if(K==null)if(Q==null){Q=setTimeout(function(){v()},n.updateDelay);ia=(new Date).getTime()}e...
v()}}function F(d){ea=d;q._p_.comm.responseReceived(d)}function v(){Q=null;if(P){if(!ja){if(confirm("The application was quited, do you want to restart?"))document.location=document.location;ja=true}}else{var d,c,e,j="&rand="+Math.round(Math.random(ka)*1E5);if(A.length>0){d=S();c=d.feedback?setTimeout(k,_$_INDICATOR_TI...
if(!K){_$_$endif_$_();var m={},i=A.length;m.object=d;m.signal=c;m.event=e;m.feedback=j;A[i]=B(m,i);x();E();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function x(){if(K!=null&&L!=null){clearTimeout(L);K.abort();K=null}if(K==null)if(Q==null){Q=setTimeout(function(){v()},n.updateDelay);ia=(new Date).getTime()}e...
Math.exp(T)*500);P=setTimeout(function(){w()},d)}else w()}}function H(){G.abort();M=G=null;w()}function A(d,c,e,h){g.checkReleaseCapture(d,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!G){_$_$endif_$_();var i={},j=z.length;i.object=d;i.signal=c;i.event=e;i.feedback=h;z[j]=R(i,j);F();q();_$_$if_STRICTLY_SERIALIZED_EVENT...
500);P=setTimeout(function(){w()},d)}else w()}}function H(){G.abort();M=G=null;w()}function A(d,c,e,h){g.checkReleaseCapture(d,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!G){_$_$endif_$_();var i={},j=z.length;i.object=d;i.signal=c;i.event=e;i.feedback=h;z[j]=R(i,j);F();q();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$e...
Math.exp(T)*500);P=setTimeout(function(){w()},d)}else w()}}function H(){G.abort();M=G=null;w()}function A(d,c,e,h){g.checkReleaseCapture(d,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!G){_$_$endif_$_();var i={},j=z.length;i.object=d;i.signal=c;i.event=e;i.feedback=h;z[j]=R(i,j);F();q();_$_$if_STRICTLY_SERIALIZED_EVENT...
function(a,b,f){a=k.getElement(a);b=k.getElement(b);var m=k.widgetPageCoordinates(b),l,o;a.style.display="block";if(f==k.Horizontal){f=m.x+b.offsetWidth;l=m.y;o=m.x;b=m.y+b.offsetHeight}else{f=m.x;l=m.y+b.offsetHeight;o=m.x+b.offsetWidth;b=m.y}k.fitToWindow(a,f,l,o,b)};this.hasFocus=function(a){return a==document.activ...
k.Horizontal){f=m.x+b.offsetWidth;l=m.y;n=m.x;b=m.y+b.offsetHeight}else{f=m.x;l=m.y+b.offsetHeight;n=m.x+b.offsetWidth;b=m.y}k.fitToWindow(a,f,l,n,b)};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var g,o;o=location.href;g=o.indexOf("#");return g>=0?o.substr(g+1):null}...
function(a,b,f){a=k.getElement(a);b=k.getElement(b);var m=k.widgetPageCoordinates(b),l,o;a.style.display="block";if(f==k.Horizontal){f=m.x+b.offsetWidth;l=m.y;o=m.x;b=m.y+b.offsetHeight}else{f=m.x;l=m.y+b.offsetHeight;o=m.x+b.offsetWidth;b=m.y}k.fitToWindow(a,f,l,o,b)};this.hasFocus=function(a){return a==document.activ...
var _$_WT_CLASS_$_=new (function(){function v(a){if(G!=null){if(!a)a=window.event;k.condCall(G,"onmousemove",a);return false}else return true}function s(a){if(G!=null){var b=G;k.capture(null);if(!a)a=window.event;k.condCall(b,"onmouseup",a);k.cancelEvent(a,k.CancelPropagate);return false}else return true}function F(){i...
d)}else w()}}function H(){G.abort();M=G=null;w()}function A(d,c,e,h){g.checkReleaseCapture(d,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!G){_$_$endif_$_();var i={},j=z.length;i.object=d;i.signal=c;i.event=e;i.feedback=h;z[j]=R(i,j);F();q();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function F(){if(G!=null&...
var _$_WT_CLASS_$_=new (function(){function v(a){if(G!=null){if(!a)a=window.event;k.condCall(G,"onmousemove",a);return false}else return true}function s(a){if(G!=null){var b=G;k.capture(null);if(!a)a=window.event;k.condCall(b,"onmouseup",a);k.cancelEvent(a,k.CancelPropagate);return false}else return true}function F(){i...
delete u._.commands[A];}for(A in w){delete u._.menuItems[A];delete u._.commands[A];}v={};w={};var M=u.config.scayt_moreSuggestions||'on',N=false,O=u.config.scayt_maxSuggestions;typeof O!='number'&&(O=5);!O&&(O=L.length);var P=u.config.scayt_contextCommands||'all';P=P.split('|');for(var Q=0,R=L.length;Q<R;Q+=1){var S='s...
if(s.addMenuItems)s.addMenuItem(y,{label:B,command:y,group:'clipboard',order:A});};t('Cut','cut',new n('cut'),1);t('Copy','copy',new n('copy'),4);t('Paste','paste',o,8);a.dialog.add('paste',a.getUrl(this.path+'dialogs/paste.js'));s.on('key',p,s);var u=s.config.forcePasteAsPlainText?'text':'html';s.on('contentDom',funct...
delete u._.commands[A];}for(A in w){delete u._.menuItems[A];delete u._.commands[A];}v={};w={};var M=u.config.scayt_moreSuggestions||'on',N=false,O=u.config.scayt_maxSuggestions;typeof O!='number'&&(O=5);!O&&(O=L.length);var P=u.config.scayt_contextCommands||'all';P=P.split('|');for(var Q=0,R=L.length;Q<R;Q+=1){var S='s...
if (panes.eq(i).is(":visible")) { return; }
fade: function(i, done) { var conf = this.getConf(), speed = conf.fadeOutSpeed, panes = this.getPanes(); if (panes.eq(i).is(":visible")) { return; } if (speed) { panes.fadeOut(speed); } else { panes.hide(); } panes.eq(i).fadeIn(conf.fadeInSpeed, done); },
if (panes.eq(i).is(":visible")) { return; }
fade: function(i, done) { var conf = this.getConf(), speed = conf.fadeOutSpeed, panes = this.getPanes(); if (speed) { panes.fadeOut(speed); } else { panes.hide(); } panes.eq(i).fadeIn(conf.fadeInSpeed, done); },
var errorOptions = { hideErrorStatus : true }; Sonatype.utils.connectionError(response, 'There is a problem retrieving your username.', false, errorOptions) }
Sonatype.utils.clearCookie('JSESSIONID'); Sonatype.utils.authToken = null; if (activeWindow) { activeWindow.getEl().unmask(); } if (Sonatype.repoServer.RepoServer.loginWindow.isVisible()) { Sonatype.repoServer.RepoServer.loginForm.find('name', 'password')[0].focus(true); } }
failure : function(response, options) { var errorOptions = { hideErrorStatus : true }; Sonatype.utils.connectionError(response, 'There is a problem retrie...
Sonatype.MessageBox.hide();
failure : function(response){ this.response = response; if (response.status == 400 && this.options.autoValidation){ //validation error this.success(response); Sonatype.MessageBox.hide(); return; } this.failureType = Ext.form.Action.CONNECT_FA...
if(x.type!=CKEDITOR.NODE_ELEMENT)x=x.getParent();x.scrollIntoView();y.updateFromDomRange(w);},removeHighlight:function(){var w=this;if(!w._.highlightRange)return;j.removeFromRange(w._.highlightRange);w.updateFromDomRange(w._.highlightRange);w._.highlightRange=null;},moveBack:function(){var y=this;var w=y._.walker.back(...
k.applyToRange(x);x.moveToBookmark(y);A._.highlightRange=x;var z=x.startContainer;if(z.type!=CKEDITOR.NODE_ELEMENT)z=z.getParent();z.scrollIntoView();A.updateFromDomRange(x);},removeHighlight:function(){var y=this;if(!y._.highlightRange)return;var x=y._.highlightRange.createBookmark();k.removeFromRange(y._.highlightRan...
if(x.type!=CKEDITOR.NODE_ELEMENT)x=x.getParent();x.scrollIntoView();y.updateFromDomRange(w);},removeHighlight:function(){var w=this;if(!w._.highlightRange)return;j.removeFromRange(w._.highlightRange);w.updateFromDomRange(w._.highlightRange);w._.highlightRange=null;},moveBack:function(){var y=this;var w=y._.walker.back(...
this.next()}else a=false;return a},readAsObject:function(){var a={},b=this.fields,d,c;for(d in b)if(b.hasOwnProperty(d)){c=b[d];a[d]=c.getter.call(this)}return a},fetchAsObject:function(){var a;if(this.hasMoreRows()){a=this.readAsObject();this.next()}else a=false;return a},fetchCustom:function(a){if(this.hasMoreRows())...
this.readAsArray();this.next()}else a=false;return a},readAsObject:function(){var a={},b=this.fields,d,c;for(d in b)if(b.hasOwnProperty(d)){c=b[d];a[d]=c.getter.call(this)}return a},fetchAsObject:function(){var a;if(this.hasMoreRows()){a=this.readAsObject();this.next()}else a=false;return a},fetchCustom:function(a){if(...
this.next()}else a=false;return a},readAsObject:function(){var a={},b=this.fields,d,c;for(d in b)if(b.hasOwnProperty(d)){c=b[d];a[d]=c.getter.call(this)}return a},fetchAsObject:function(){var a;if(this.hasMoreRows()){a=this.readAsObject();this.next()}else a=false;return a},fetchCustom:function(a){if(this.hasMoreRows())...
this.next()}else a=false;return a},readAsObject:function(){var a={},b=this.fields,d,c;for(d in b)if(b.hasOwnProperty(d)){c=b[d];a[d]=c.getter.call(this)}return a},fetchAsObject:function(){var a;if(this.hasMoreRows()){a=this.readAsObject();this.next()}else a=false;return a},fetchCustom:function(a){if(this.hasMoreRows())...
this.readAsArray();this.next()}else a=false;return a},readAsObject:function(){var a={},b=this.fields,d,c;for(d in b)if(b.hasOwnProperty(d)){c=b[d];a[d]=c.getter.call(this)}return a},fetchAsObject:function(){var a;if(this.hasMoreRows()){a=this.readAsObject();this.next()}else a=false;return a},fetchCustom:function(a){if(...
this.next()}else a=false;return a},readAsObject:function(){var a={},b=this.fields,d,c;for(d in b)if(b.hasOwnProperty(d)){c=b[d];a[d]=c.getter.call(this)}return a},fetchAsObject:function(){var a;if(this.hasMoreRows()){a=this.readAsObject();this.next()}else a=false;return a},fetchCustom:function(a){if(this.hasMoreRows())...
(a=[]);b=this.fetchAsObject();)a.push(b);return a},fetchAllCustom:function(a,b){var d;for(a||(a=[]);d=this.fetchCustom(b);)a.push(d);return a},mapAsObject:function(a,b,d){var c,e;a=a;for(var f=0,g=b.length,i=g-1;f<g;f++){c=b[f];c=d[c];if(e=a[c])if(f===i)if(e instanceof Array)e.push(d);else a[c]=[e,d];else a=e;else if(f...
for(a||(a=[]);b=this.fetchAsObject();)a.push(b);return a},fetchAllCustom:function(a,b){var d;for(a||(a=[]);d=this.fetchCustom(b);)a.push(d);return a},mapAsObject:function(a,b,d){var c,e,h=b.length,f=h-1,i=a;for(a=0;a<h;a+=1){c=b[a];c=d[c];if(e=i[c])if(a===f)if(e instanceof Array)e.push(d);else i[c]=[e,d];else i=e;else ...
(a=[]);b=this.fetchAsObject();)a.push(b);return a},fetchAllCustom:function(a,b){var d;for(a||(a=[]);d=this.fetchCustom(b);)a.push(d);return a},mapAsObject:function(a,b,d){var c,e;a=a;for(var f=0,g=b.length,i=g-1;f<g;f++){c=b[f];c=d[c];if(e=a[c])if(f===i)if(e instanceof Array)e.push(d);else a[c]=[e,d];else a=e;else if(f...
this.fieldOrder[a];j(b)&&Xmla.Exception._newError("INVALID_FIELD","Xmla.Rowset.fieldDef",a)._throw();return b},fieldVal:function(a){if(O(a))a=this.fieldName(a);a=this.fieldDef(a);return a.getter.call(this)},fieldCount:function(){return this._fieldCount},close:function(){this.rows=this.row=null},readAsArray:function(){v...
fieldName:function(a){var b=this.fieldOrder[a];j(b)&&Xmla.Exception._newError("INVALID_FIELD","Xmla.Rowset.fieldDef",a)._throw();return b},fieldVal:function(a){if(O(a))a=this.fieldName(a);a=this.fieldDef(a);return a.getter.call(this)},fieldCount:function(){return this._fieldCount},close:function(){this.rows=this.row=nu...
this.fieldOrder[a];j(b)&&Xmla.Exception._newError("INVALID_FIELD","Xmla.Rowset.fieldDef",a)._throw();return b},fieldVal:function(a){if(O(a))a=this.fieldName(a);a=this.fieldDef(a);return a.getter.call(this)},fieldCount:function(){return this._fieldCount},close:function(){this.rows=this.row=null},readAsArray:function(){v...
panel.grid.store.on( 'load', function( store, records, options ) { store.sort( 'version', 'desc' ); }, this );
panel.grid.store.on( 'load', this.sortResults, this ); } else { panel.grid.store.un( 'load', this.sortResults, this );
fetchRecords : function(panel, reverse) { panel.artifactContainer.collapsePanel(); panel.grid.totalRecords = 0; panel.grid.store.load(); if ( reverse ) { panel.grid.store.on( 'load', function( store, records, options ) { store.sort( 'version', 'desc' ); }, this ); } },
bboxSrs : 'http:
bboxSrs : 'EPSG:4326',
var fetchVisibleMapBounds = function(gMapInstance) { var mapBounds = gMapInstance.getBounds(); var sw = mapBounds.getSouthWest(); var ne = mapBounds.getNorthEast(); var center = mapBounds.getCenter(); var adjustedSWLng = sw.lng(); var adjustedNELng = ne.lng(); //this is so we can fetch data when our ...
bboxSrs : 'EPSG:4326',
bboxSrs : 'http:
var fetchVisibleMapBounds = function(gMapInstance) { var mapBounds = gMapInstance.getBounds(); var sw = mapBounds.getSouthWest(); var ne = mapBounds.getNorthEast(); var center = mapBounds.getCenter(); var adjustedSWLng = sw.lng(); var adjustedNELng = ne.lng(); //this is so we can fetch data when our ...
$this.updateReleaseSummary($(this).parents('fieldset:first'));
if ($(this).parents('#meta-fields').length == 0) { $this.updateReleaseSummary($(this).parents('fieldset:first')); }
fieldChanged: function (ev) { $this.updateReleaseSummary($(this).parents('fieldset:first')); $this.scheduleSavePlugin(); return true; },
hasMoreRows:function(){return this.numRows>this.rowIndex},next:function(){this.row=this.rows.item(++this.rowIndex)},curr:function(){return this.rowIndex},rowCount:function(){return this.numRows},reset:function(){this.rowIndex=0;this.row=this.hasMoreRows()?this.rows.item(this.rowIndex):null},fieldDef:function(a){var b=t...
fieldName:function(a){var b=this.fieldOrder[a];j(b)&&Xmla.Exception._newError("INVALID_FIELD","Xmla.Rowset.fieldDef",a)._throw();return b},fieldVal:function(a){if(O(a))a=this.fieldName(a);a=this.fieldDef(a);return a.getter.call(this)},fieldCount:function(){return this._fieldCount},close:function(){this.rows=this.row=nu...
hasMoreRows:function(){return this.numRows>this.rowIndex},next:function(){this.row=this.rows.item(++this.rowIndex)},curr:function(){return this.rowIndex},rowCount:function(){return this.numRows},reset:function(){this.rowIndex=0;this.row=this.hasMoreRows()?this.rows.item(this.rowIndex):null},fieldDef:function(a){var b=t...
Application.activeWindow.activeTab.document.defaultView, docURI);
gBrowser.contentDocument.defaultView, docURI);
KFILM.prototype.fill = function (usernameName,usernameValue, actionURL,usernameID,formID,uniqueID,docURI){ var fillDocumentDataStorage = {}; fillDocumentDataStorage.usernameName = usernameName; fillDocumentDataStorage.usernameValue = usernameValue; fillDocumentDataStorage.actionURL = actionURL; fillDo...
KFLog.debug("fillCurrentDocument start");
fillCurrentDocument : function () { var currentGBrowser = this._currentWindow.gBrowser; //var currentTab = currentGBrowser.mTabs[currentGBrowser.getBrowserIndexForDocument(currentGBrowser.selectedBrowser.contentDocument)]; this.setLogins(null, null); this._currentWindow.keefox_org.ILM...
this.setLogins(null, null);
fillCurrentDocument : function () { var currentGBrowser = this._currentWindow.gBrowser; //var currentTab = currentGBrowser.mTabs[currentGBrowser.getBrowserIndexForDocument(currentGBrowser.selectedBrowser.contentDocument)]; this._currentWindow.keeFoxILM._fillDocument(currentGBrowser.selectedB...
}
},
fillCurrentDocument : function () { var currentGBrowser = this._currentWindow.gBrowser; //var currentTab = currentGBrowser.mTabs[currentGBrowser.getBrowserIndexForDocument(currentGBrowser.selectedBrowser.contentDocument)]; this.setLogins(null, null); this._currentWindow.keeFoxILM._fil...
"");j=o.find[s](n,f,i);if(j!=null){c=c.replace(o.match[s],"");break}}}}j||(j=f.getElementsByTagName("*"));return{set:j,expr:c}};p.filter=function(c,f,i,j){for(var n=c,m=[],t=f,s,u,J=f&&f[0]&&P(f[0]);c&&f.length;){for(var C in o.filter)if((s=o.match[C].exec(c))!=null){var F=o.filter[C],D,z;u=false;if(t===m)m=[];if(o.pre...
"");j=o.find[s](n,g,i);if(j!=null){d=d.replace(o.match[s],"");break}}}}j||(j=g.getElementsByTagName("*"));return{set:j,expr:d}};p.filter=function(d,g,i,j){for(var n=d,m=[],t=g,s,u,J=g&&g[0]&&P(g[0]);d&&g.length;){for(var C in o.filter)if((s=o.leftMatch[C].exec(d))!=null&&s[2]){var F=o.filter[C],D,y;y=s[1];u=false;s.spl...
"");j=o.find[s](n,f,i);if(j!=null){c=c.replace(o.match[s],"");break}}}}j||(j=f.getElementsByTagName("*"));return{set:j,expr:c}};p.filter=function(c,f,i,j){for(var n=c,m=[],t=f,s,u,J=f&&f[0]&&P(f[0]);c&&f.length;){for(var C in o.filter)if((s=o.match[C].exec(c))!=null){var F=o.filter[C],D,z;u=false;if(t===m)m=[];if(o.pre...
};(function(){var l=function(m,n){m=m[0];n=n[0];return m<n?-1:m>n?1:0;};a.htmlParser.element.prototype={type:1,add:a.htmlParser.fragment.prototype.add,clone:function(){return new a.htmlParser.element(this.name,this.attributes);},writeHtml:function(m,n){var o=this.attributes,p=this,q=p.name,r,s,t,u;p.filterChildren=func...
}else{B(w,w.parent,true);if(!l[I])u.unshift(w);}K=true;}if(L)w=L;else w=w.returnPoint||w.parent;if(K){r.onTagOpen.apply(this,arguments);return;}}z(E);A();H.parent=w;H.returnPoint=y;y=0;if(H.isEmpty)B(H);else w=H;};r.onTagClose=function(E){for(var F=u.length-1;F>=0;F--){if(E==u[F].name){u.splice(F,1);return;}}var G=[],H...
};(function(){var l=function(m,n){m=m[0];n=n[0];return m<n?-1:m>n?1:0;};a.htmlParser.element.prototype={type:1,add:a.htmlParser.fragment.prototype.add,clone:function(){return new a.htmlParser.element(this.name,this.attributes);},writeHtml:function(m,n){var o=this.attributes,p=this,q=p.name,r,s,t,u;p.filterChildren=func...
t==true){c.cancelEvent(b);return false}var f=i,j=b.keyCode==40||b.keyCode==34;b=b.keyCode==34||b.keyCode==33?d.clientHeight/i.offsetHeight:1;var h;for(h=0;f&&h<b;++h){var l=B(f,j);if(!l)break;f=l}if(f&&c.hasTag(f,"DIV")){i.className="";f.className="sel";m=f.id}return false}return b.keyCode!=13&&b.keyCode!=9};this.filte...
b.keyCode==34||b.keyCode==33){if(b.type.toUpperCase()=="KEYDOWN"){u=true;c.cancelEvent(b,c.CancelDefaultAction)}if(b.type.toUpperCase()=="KEYPRESS"&&u==true){c.cancelEvent(b);return false}var e=h,p=b.keyCode==40||b.keyCode==34;b=b.keyCode==34||b.keyCode==33?d.clientHeight/h.offsetHeight:1;var j;for(j=0;e&&j<b;++j){var ...
t==true){c.cancelEvent(b);return false}var f=i,j=b.keyCode==40||b.keyCode==34;b=b.keyCode==34||b.keyCode==33?d.clientHeight/i.offsetHeight:1;var h;for(h=0;f&&h<b;++h){var l=B(f,j);if(!l)break;f=l}if(f&&c.hasTag(f,"DIV")){i.className="";f.className="sel";m=f.id}return false}return b.keyCode!=13&&b.keyCode!=9};this.filte...
40||b.keyCode==34;b=b.keyCode==34||b.keyCode==33?f.clientHeight/k.offsetHeight:1;var j;for(j=0;l&&j<b;++j){var v=z(l,p);if(!v)break;l=v}if(l&&e.hasTag(l,"DIV")){k.className="";l.className="sel";n=l.id}return false}return b.keyCode!=13&&b.keyCode!=9};this.filtered=function(a){H=a;A.refilter()};this.refilter=function(){v...
k.offsetHeight:1;var j;for(j=0;l&&j<b;++j){var u=z(l,p);if(!u)break;l=u}if(l&&e.hasTag(l,"DIV")){k.className="";l.className="sel";n=l.id}return false}return b.keyCode!=13&&b.keyCode!=9};this.filtered=function(a){H=a;A.refilter()};this.refilter=function(){var a=n?e.getElement(n):null,b=e.getElement(i),k=C(b),l=f.lastChi...
40||b.keyCode==34;b=b.keyCode==34||b.keyCode==33?f.clientHeight/k.offsetHeight:1;var j;for(j=0;l&&j<b;++j){var v=z(l,p);if(!v)break;l=v}if(l&&e.hasTag(l,"DIV")){k.className="";l.className="sel";n=l.id}return false}return b.keyCode!=13&&b.keyCode!=9};this.filtered=function(a){H=a;A.refilter()};this.refilter=function(){v...
b.keyCode==34||b.keyCode==33){if(b.type.toUpperCase()=="KEYDOWN"){u=true;c.cancelEvent(b,c.CancelDefaultAction)}if(b.type.toUpperCase()=="KEYPRESS"&&u==true){c.cancelEvent(b);return false}var e=h,p=b.keyCode==40||b.keyCode==34;b=b.keyCode==34||b.keyCode==33?d.clientHeight/h.offsetHeight:1;var j;for(j=0;e&&j<b;++j){var ...
1;var j;for(j=0;e&&j<b;++j){var g=E(e,p);if(!g)break;e=g}if(e&&c.hasTag(e,"DIV")){h.className="";e.className="sel";k=e.id}return false}return b.keyCode!=13&&b.keyCode!=9};this.filtered=function(a){x=a;n.refilter()};this.refilter=function(){var a=k?c.getElement(k):null,b=c.getElement(f),h=B(b),e=!$(b).hasClass("Wt-sugge...
b.keyCode==34||b.keyCode==33){if(b.type.toUpperCase()=="KEYDOWN"){u=true;c.cancelEvent(b,c.CancelDefaultAction)}if(b.type.toUpperCase()=="KEYPRESS"&&u==true){c.cancelEvent(b);return false}var e=h,p=b.keyCode==40||b.keyCode==34;b=b.keyCode==34||b.keyCode==33?d.clientHeight/h.offsetHeight:1;var j;for(j=0;e&&j<b;++j){var ...
if(x.type!=CKEDITOR.NODE_ELEMENT)x=x.getParent();x.scrollIntoView();y.updateFromDomRange(w);},removeHighlight:function(){var w=this;if(!w._.highlightRange)return;j.removeFromRange(w._.highlightRange);w.updateFromDomRange(w._.highlightRange);w._.highlightRange=null;},moveBack:function(){var y=this;var w=y._.walker.back(...
k.applyToRange(x);x.moveToBookmark(y);A._.highlightRange=x;var z=x.startContainer;if(z.type!=CKEDITOR.NODE_ELEMENT)z=z.getParent();z.scrollIntoView();A.updateFromDomRange(x);},removeHighlight:function(){var y=this;if(!y._.highlightRange)return;var x=y._.highlightRange.createBookmark();k.removeFromRange(y._.highlightRan...
if(x.type!=CKEDITOR.NODE_ELEMENT)x=x.getParent();x.scrollIntoView();y.updateFromDomRange(w);},removeHighlight:function(){var w=this;if(!w._.highlightRange)return;j.removeFromRange(w._.highlightRange);w.updateFromDomRange(w._.highlightRange);w._.highlightRange=null;},moveBack:function(){var y=this;var w=y._.walker.back(...
0;u[c]!=null;c++)u[c]&&u[c].nodeType===1&&i.push(s[c]);else i.push.apply(i,u);else K(u,i);if(J){p(J,n,i,j);p.uniqueSort(i)}return i};p.uniqueSort=function(c){if(L){l=q;c.sort(L);if(l)for(var f=1;f<c.length;f++)c[f]===c[f-1]&&c.splice(f--,1)}return c};p.matches=function(c,f){return p(c,null,null,f)};p.find=function(c,f,...
0;u[d]!=null;d++)u[d]&&u[d].nodeType===1&&i.push(s[d]);else i.push.apply(i,u);else K(u,i);if(J){p(J,n,i,j);p.uniqueSort(i)}return i};p.uniqueSort=function(d){if(L){l=q;d.sort(L);if(l)for(var g=1;g<d.length;g++)d[g]===d[g-1]&&d.splice(g--,1)}return d};p.matches=function(d,g){return p(d,null,null,g)};p.find=function(d,g,...
0;u[c]!=null;c++)u[c]&&u[c].nodeType===1&&i.push(s[c]);else i.push.apply(i,u);else K(u,i);if(J){p(J,n,i,j);p.uniqueSort(i)}return i};p.uniqueSort=function(c){if(L){l=q;c.sort(L);if(l)for(var f=1;f<c.length;f++)c[f]===c[f-1]&&c.splice(f--,1)}return c};p.matches=function(c,f){return p(c,null,null,f)};p.find=function(c,f,...
return len == 1 ? $(query) : root.parent().find(query);
var el = $(query); return el.length < 2 ? el : root.parent().find(query);
function find(query) { return len == 1 ? $(query) : root.parent().find(query); }
v1 = v1 == 0 ? lang.title : v1; v2 = v2 == 0 ? lang.title : v2;
v1 = v1 === 0 ? lang.title : v1; v2 = v2 === 0 ? lang.title : v2;
function find_current_range() { ///TODO: Determine if there is a better way to calculate the topBar offset. var b1, b2, bottom_pos = scroll_pos + doc_docEl.clientHeight - 14, bottom_verse_block, c1, c2, new_title, ref_range, top_pos = scroll_pos + topLoader.offsetHeight + 8, top_verse_block, ...
el = el.previousSibling; looked_previous = true
el = el.previousSibling; looked_previous = true;
function find_element_at_scroll_pos(the_pos, parent_el, el) { var el_offset_height, el_offset_top, el_start_at, looked_next, looked_previous; /// Is the starting element unknown? if (!el) { /// Make an educated guess as to which element to start with to save time. el_start_at = Math.round(parent_el.ch...
return $(this).text().match(/^X:/m);
return $(this).text().match(/^\s*X:/m);
function findABC(currentset) { var cont = false; var newcurrentset = currentset.map(function(i,elem){ var children = $(elem).children().filter(function() { return $(this).text().match(/^X:/m); }); if (children.length===0) { return elem; } else { cont = true; return children.get(); } }); retu...
return $(this).text().match(/^\s*X:/m);
var str = getABCText(this); return getABCText(this).match(/^\s*X:/m);
function findABC(currentset) { var cont = false; var newcurrentset = currentset.map(function(i,elem){ var children = $(elem).children().filter(function() { return $(this).text().match(/^\s*X:/m); }); if (children.length===0) { return elem; } else { cont = true; return children.get(); } }); r...
} else { console.log(" findActiveTextArea: focusedEdit not set"); }
}
findActiveTextArea = function() { var text; if (focusedEdit) { text = focusedEdit; } else { console.log(" findActiveTextArea: focusedEdit not set"); } tagTextArea(text); // And spawn the request var text_edit_id = text.getAttribute("edit_id"); var edit_msg = { msg: "edit", text: ...
console.log(" findActiveTextArea:"+JSON.stringify(edit_msg));
findActiveTextArea = function() { var text; if (focusedEdit) { text = focusedEdit; } else { console.log(" findActiveTextArea: focusedEdit not set"); } tagTextArea(text); // And spawn the request var text_edit_id = text.getAttribute("edit_id"); var edit_msg = { msg: "edit", text: ...
this.request(this, "FindLogins", [hostname, formSubmitURL, httpRealm, lst, false, uniqueID], callback, newId, callbackData);
this.request(this, "FindLogins", [[hostname], formSubmitURL, httpRealm, lst, false, uniqueID], callback, newId, callbackData);
this.findLogins = function(hostname, formSubmitURL, httpRealm, uniqueID, callback, callbackData) { // now returns ID of async JSON-RPC request so calling functions can track if desired var lst = "LSTall"; if (httpRealm == undefined || httpRealm == null || httpRealm == "") lst = "L...
console.log("findTextAreas() running");
function findTextAreas() { console.log("findTextAreas() running"); var texts = document.getElementsByTagName('textarea'); for (var i=0; i<texts.length; i++) { var text = texts[i]; tagTextArea(text); } console.log("findTextAreas: page_edit_id now "+page_edit_id); return true;}
console.log("findTextAreas: page_edit_id now "+page_edit_id);
function findTextAreas() { console.log("findTextAreas() running"); var texts = document.getElementsByTagName('textarea'); for (var i=0; i<texts.length; i++) { var text = texts[i]; tagTextArea(text); } console.log("findTextAreas: page_edit_id now "+page_edit_id); return true;}
if (findingTextAreas) return; findingTextAreas = true; findTextAreasInDocument(document);
findTextAreasIn(document);
function findTextAreas() { // Don't run through this if already finding stuff, lest we trigger events if (findingTextAreas) return; findingTextAreas = true; findTextAreasInDocument(document); // IFRAMEs var iframes = document.getElementsByTagName('iframe'); for (i = 0; i < iframes.length; i++) { fi...
findTextAreasInDocument(iframes[i].contentDocument);
findTextAreasIn(iframes[i].contentDocument);
function findTextAreas() { // Don't run through this if already finding stuff, lest we trigger events if (findingTextAreas) return; findingTextAreas = true; findTextAreasInDocument(document); // IFRAMEs var iframes = document.getElementsByTagName('iframe'); for (i = 0; i < iframes.length; i++) { fi...
findTextAreasInDocument(frames[i].contentDocument);
findTextAreasIn(frames[i].contentDocument);
function findTextAreas() { // Don't run through this if already finding stuff, lest we trigger events if (findingTextAreas) return; findingTextAreas = true; findTextAreasInDocument(document); // IFRAMEs var iframes = document.getElementsByTagName('iframe'); for (i = 0; i < iframes.length; i++) { fi...
findingTextAreas = false;
function findTextAreas() { // Don't run through this if already finding stuff, lest we trigger events if (findingTextAreas) return; findingTextAreas = true; findTextAreasInDocument(document); // IFRAMEs var iframes = document.getElementsByTagName('iframe'); for (i = 0; i < iframes.length; i++) { fi...
"")+y;else if(r)z.selector=this.selector+"."+r+"("+y+")";return z},each:function(i,r){return b.each(this,i,r)},ready:function(i){b.bindReady();if(b.isReady)i.call(u,b);else q&&q.push(i);return this},eq:function(i){return i===-1?this.slice(i):this.slice(i,+i+1)},first:function(){return this.eq(0)},last:function(){return...
g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,i){return i===0},last:function(g,i,n,m){ret...
"")+y;else if(r)z.selector=this.selector+"."+r+"("+y+")";return z},each:function(i,r){return b.each(this,i,r)},ready:function(i){b.bindReady();if(b.isReady)i.call(u,b);else q&&q.push(i);return this},eq:function(i){return i===-1?this.slice(i):this.slice(i,+i+1)},first:function(){return this.eq(0)},last:function(){return...
b){return d.each(this,a,b)},ready:function(a){d.bindReady();if(d.isReady)a.call(r,d);else H&&H.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(I.apply(this,arguments),"slice...
first: function(a,i){return i==0;},
b){return d.each(this,a,b)},ready:function(a){d.bindReady();if(d.isReady)a.call(r,d);else H&&H.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(I.apply(this,arguments),"slice...
b);document.getElementsByTagName("head")[0].appendChild(f)}};this.windowSize=function(){var a,b;if(typeof window.innerWidth==="number"){a=window.innerWidth;b=window.innerHeight}else{a=document.documentElement.clientWidth;b=document.documentElement.clientHeight}return{x:a,y:b}};this.fitToWindow=function(a,b,f,l,n){var o...
a);f.setAttribute("type","text/css");f.setAttribute("rel","stylesheet");b!=""&&b!="all"&&f.setAttribute("media",b);document.getElementsByTagName("head")[0].appendChild(f)}};this.windowSize=function(){var a,b;if(typeof window.innerWidth==="number"){a=window.innerWidth;b=window.innerHeight}else{a=document.documentElement...
b);document.getElementsByTagName("head")[0].appendChild(f)}};this.windowSize=function(){var a,b;if(typeof window.innerWidth==="number"){a=window.innerWidth;b=window.innerHeight}else{a=document.documentElement.clientWidth;b=document.documentElement.clientHeight}return{x:a,y:b}};this.fitToWindow=function(a,b,f,l,n){var o...
"stylesheet");b!=""&&b!="all"&&f.setAttribute("media",b);document.getElementsByTagName("head")[0].appendChild(f)}};this.windowSize=function(){var a,b;if(typeof window.innerWidth==="number"){a=window.innerWidth;b=window.innerHeight}else{a=document.documentElement.clientWidth;b=document.documentElement.clientHeight}retur...
"stylesheet");b!=""&&b!="all"&&f.setAttribute("media",b);document.getElementsByTagName("head")[0].appendChild(f)}};this.windowSize=function(){var a,b;if(typeof window.innerWidth==="number"){a=window.innerWidth;b=window.innerHeight}else{a=document.documentElement.clientWidth;b=document.documentElement.clientHeight}retur...
"stylesheet");b!=""&&b!="all"&&f.setAttribute("media",b);document.getElementsByTagName("head")[0].appendChild(f)}};this.windowSize=function(){var a,b;if(typeof window.innerWidth==="number"){a=window.innerWidth;b=window.innerHeight}else{a=document.documentElement.clientWidth;b=document.documentElement.clientHeight}retur...
s=["left","right"],y=["top","bottom"],I=h.px(a,"maxWidth")||a.offsetWidth,J=h.px(a,"maxHeight")||a.offsetHeight;if(b+I>H+n.x){j-=q.x;b=a.offsetParent.offsetWidth-(j+h.px(a,"marginRight"));j=1}else{b-=q.x;b-=h.px(a,"marginLeft");j=0}if(e+J>u+n.y){if(l>u+n.y)l=u+n.y;l-=q.y;e=a.offsetParent.offsetHeight-(l+h.px(a,"marginB...
s=["left","right"],y=["top","bottom"],I=h.px(a,"maxWidth")||a.offsetWidth,K=h.px(a,"maxHeight")||a.offsetHeight;if(b+I>H+n.x){j-=q.x;b=a.offsetParent.offsetWidth-(j+h.px(a,"marginRight"));j=1}else{b-=q.x;b-=h.px(a,"marginLeft");j=0}if(e+K>u+n.y){if(l>u+n.y)l=u+n.y;l-=q.y;e=a.offsetParent.offsetHeight-(l+h.px(a,"marginB...
b);document.getElementsByTagName("head")[0].appendChild(e)}};this.windowSize=function(){var a,b;if(typeof window.innerWidth==="number"){a=window.innerWidth;b=window.innerHeight}else{a=document.documentElement.clientWidth;b=document.documentElement.clientHeight}return{x:a,y:b}};this.fitToWindow=function(a,b,e,j,l){var n...
b=document.documentElement.clientHeight}return{x:a,y:b}};this.fitToWindow=function(a,b,e,k,i){var n=h.windowSize(),K=document.body.scrollLeft+document.documentElement.scrollLeft,u=document.body.scrollTop+document.documentElement.scrollTop,q=h.widgetPageCoordinates(a.offsetParent),D=["left","right"],x=["top","bottom"],A...
document.documentElement.clientWidth;b=document.documentElement.clientHeight}return{x:a,y:b}};this.fitToWindow=function(a,b,e,j,i){var n=g.windowSize(),J=document.body.scrollLeft+document.documentElement.scrollLeft,u=document.body.scrollTop+document.documentElement.scrollTop,q=g.widgetPageCoordinates(a.offsetParent),C=...
b=document.documentElement.clientHeight}return{x:a,y:b}};this.fitToWindow=function(a,b,e,k,i){var n=h.windowSize(),K=document.body.scrollLeft+document.documentElement.scrollLeft,u=document.body.scrollTop+document.documentElement.scrollTop,q=h.widgetPageCoordinates(a.offsetParent),D=["left","right"],x=["top","bottom"],A...
function(a,b,e,k,i){var n=g.windowSize(),K=document.body.scrollLeft+document.documentElement.scrollLeft,u=document.body.scrollTop+document.documentElement.scrollTop,q=g.widgetPageCoordinates(a.offsetParent),D=["left","right"],x=["top","bottom"],A=g.px(a,"maxWidth")||a.offsetWidth,F=g.px(a,"maxHeight")||a.offsetHeight;i...
function(a,b,e,k,i){var n=h.windowSize(),K=document.body.scrollLeft+document.documentElement.scrollLeft,u=document.body.scrollTop+document.documentElement.scrollTop,q=h.widgetPageCoordinates(a.offsetParent),D=["left","right"],x=["top","bottom"],A=h.px(a,"maxWidth")||a.offsetWidth,F=h.px(a,"maxHeight")||a.offsetHeight;i...
else{var e=document.createElement("link");e.setAttribute("type","text/css");e.setAttribute("href",a);e.setAttribute("type","text/css");e.setAttribute("rel","stylesheet");b!=""&&b!="all"&&e.setAttribute("media",b);document.getElementsByTagName("head")[0].appendChild(e)}};this.windowSize=function(){var a,b;if(typeof wind...
b;if(typeof window.innerWidth==="number"){a=window.innerWidth;b=window.innerHeight}else{a=document.documentElement.clientWidth;b=document.documentElement.clientHeight}return{x:a,y:b}};this.fitToWindow=function(a,b,f,h,k){var o=g.windowSize(),E=document.body.scrollLeft+document.documentElement.scrollLeft,u=document.body...
a);f.setAttribute("type","text/css");f.setAttribute("rel","stylesheet");b!=""&&b!="all"&&f.setAttribute("media",b);document.getElementsByTagName("head")[0].appendChild(f)}};this.windowSize=function(){var a,b;if(typeof window.innerWidth==="number"){a=window.innerWidth;b=window.innerHeight}else{a=document.documentElement...
b;if(typeof window.innerWidth==="number"){a=window.innerWidth;b=window.innerHeight}else{a=document.documentElement.clientWidth;b=document.documentElement.clientHeight}return{x:a,y:b}};this.fitToWindow=function(a,b,f,h,k){var o=g.windowSize(),E=document.body.scrollLeft+document.documentElement.scrollLeft,u=document.body...
"text/css");b.setAttribute("rel","stylesheet");document.getElementsByTagName("head")[0].appendChild(b)}};this.windowSize=function(){var a,b;if(typeof window.innerWidth==="number"){a=window.innerWidth;b=window.innerHeight}else{a=document.documentElement.clientWidth;b=document.documentElement.clientHeight}return{x:a,y:b}...
function(){var a,b;if(typeof window.innerWidth==="number"){a=window.innerWidth;b=window.innerHeight}else{a=document.documentElement.clientWidth;b=document.documentElement.clientHeight}return{x:a,y:b}};this.fitToWindow=function(a,b,f,m,l){var n=k.windowSize(),E=document.body.scrollLeft+document.documentElement.scrollLef...
"text/css");b.setAttribute("rel","stylesheet");document.getElementsByTagName("head")[0].appendChild(b)}};this.windowSize=function(){var a,b;if(typeof window.innerWidth==="number"){a=window.innerWidth;b=window.innerHeight}else{a=document.documentElement.clientWidth;b=document.documentElement.clientHeight}return{x:a,y:b}...
x.optimizeBookmark();x.trim(false,true);var u=x.startContainer,v=x.startOffset,w=u.getChild(v);if(w)t.insertBefore(w);else u.append(t);if(t.getParent().equals(x.endContainer))x.endOffset++;x.setStartBefore(t);},moveToPosition:function(t,u){this.setStartAt(t,u);this.collapse(true);},selectNodeContents:function(t){this.s...
x.trim(false,true);var u=x.startContainer,v=x.startOffset,w=u.getChild(v);if(w)t.insertBefore(w);else u.append(t);if(t.getParent().equals(x.endContainer))x.endOffset++;x.setStartBefore(t);},moveToPosition:function(t,u){this.setStartAt(t,u);this.collapse(true);},selectNodeContents:function(t){this.setStart(t,0);this.set...
x.optimizeBookmark();x.trim(false,true);var u=x.startContainer,v=x.startOffset,w=u.getChild(v);if(w)t.insertBefore(w);else u.append(t);if(t.getParent().equals(x.endContainer))x.endOffset++;x.setStartBefore(t);},moveToPosition:function(t,u){this.setStartAt(t,u);this.collapse(true);},selectNodeContents:function(t){this.s...
words=Zotero.Utilities.cleanString(s).toLowerCase().split(" ");
words=Zotero.Utilities.trimInternal(s).toLowerCase().split(" ");
function fixCaps(s){ if(s!='') { words=Zotero.Utilities.cleanString(s).toLowerCase().split(" "); for (var j = 0 ; j < words.length ; j++) { if (j==0||(words[j][0] ==words[j][0].toLowerCase()&&words[j]!="or"&&words[j]!="and"&&words[j]!="of"&&wor...
case 'tenor': el.verticalPos+=2; min += 6; max += 6; break; case 'bass': el.verticalPos--; min += 6; max += 6; break; case 'alto': el.verticalPos-=2; min += 4; max += 4; break; case 'treble+8': break; case 'tenor+8': el.verticalPos+=2; min += 6; max += 6; break; case 'bass+8': el.verticalPos--; min += 6; max += 6; brea...
case 'treble+8': case 'treble-8': break; case 'bass': case 'bass+8': case 'bass-8': el.verticalPos--; min += 6; max += 6; break; case 'tenor': case 'tenor+8': case 'tenor-8': el.verticalPos = - el.verticalPos; min = -40; max = 40; break; case 'alto': case 'alto+8': case 'alto-8': el.verticalPos = - el.verticalPos; min...
function fixClefPlacement(el) { //if (el.el_type === 'clef') { var min = -2; var max = 5; switch(el.type) { case 'tenor': el.verticalPos+=2; min += 6; max += 6; break; case 'bass': el.verticalPos--; min += 6; max += 6; break; case 'alto': el.verticalPos-=2; min += 4; max += 4; break; case '...
var fixedKey = Object.clone(key); this.addPosToKey(clef, fixedKey); return fixedKey; }
var fixedKey = Object.clone(key); this.addPosToKey(clef, fixedKey); return fixedKey; };
this.fixKey = function(clef, key) { var fixedKey = Object.clone(key); this.addPosToKey(clef, fixedKey); return fixedKey; }
flashItem: function (flashyItem, numberOfTimes, theWindow) {
flashItem: function (flashyItem, numberOfTimes, theWindow) { if (flashyItem === undefined || flashyItem == null) return;
flashItem: function (flashyItem, numberOfTimes, theWindow) { if (numberOfTimes < 1) return; if (numberOfTimes % 2 == 1) flashyItem.setAttribute("class", ""); else flashyItem.setAttribute("class", "highlight"); theWindow.setTimeout(ar...
fn : function(btnName) { if (btnName == 'yes' || btnName == 'ok') { Ext.Ajax.request({ callback : this.resetPasswordCallback, cbPassThru : { resourceId : rec.id }, scope : this, method : 'DELETE', url : Sonatype.config.repos.urls.usersReset + '/' + rec.data.userId }); } }
fn : function(control, newValue, oldValue) { if (newValue != this.lastLoadedId) { this.loadUserId(); } },
fn : function(btnName) { if (btnName == 'yes' || btnName == 'ok') { Ext.Ajax.request({ callback : this.resetPasswordCallback, cbPassThru : { resourceId : rec.id ...
}if(f<e-1){for(;f<e-1;f++)j.push('<td></td>');j.push('</tr>');}j.push('</tbody></table></div>');var l={type:'html',html:j.join(''),onLoad:function(m){g=m.sender;},focus:function(){var m=this.getElement().getElementsByTag('a').getItem(0);m.focus();},onClick:h,style:'width: 100%; border-collapse: separate;'};return{title...
if(f%e==e-1)k.push('</tr>');}if(f<e-1){for(;f<e-1;f++)k.push('<td></td>');k.push('</tr>');}k.push('</tbody></table></div>');var n={type:'html',html:k.join(''),onLoad:function(o){g=o.sender;},focus:function(){var o=this.getElement().getElementsByTag('a').getItem(0);o.focus();},onClick:h,style:'width: 100%; border-collap...
}if(f<e-1){for(;f<e-1;f++)j.push('<td></td>');j.push('</tr>');}j.push('</tbody></table></div>');var l={type:'html',html:j.join(''),onLoad:function(m){g=m.sender;},focus:function(){var m=this.getElement().getElementsByTag('a').getItem(0);m.focus();},onClick:h,style:'width: 100%; border-collapse: separate;'};return{title...
if (win && win.document instanceof HTMLDocument || liberator.focus instanceof HTMLAnchorElement) {
if (win && (win.document instanceof HTMLDocument || win.document instanceof XMLDocument) || liberator.focus instanceof HTMLAnchorElement) {
focusChange: function (win) { // we switch to -- MESSAGE -- mode for Muttator, when the main HTML widget gets focus if (win && win.document instanceof HTMLDocument || liberator.focus instanceof HTMLAnchorElement) { if (config.isComposeWindow) modes.set(modes.INSERT, modes.TEX...
var i=a.config;a.focusManager=function(j){if(j.focusManager)return j.focusManager;this.hasFocus=false;this._={editor:j};return this;};a.focusManager.prototype={focus:function(){var k=this;if(k._.timer)clearTimeout(k._.timer);if(!k.hasFocus){if(a.currentInstance)a.currentInstance.focusManager.forceBlur();var j=k._.edito...
return function(j,k,l){if(typeof k=='number'){if(l&&!(c&&b.quirks)){var m=0;for(var n=0,o=i[j].length;n<o;n++)m+=parseInt(this.getComputedStyle(i[j][n])||0,10);k-=m;}this.setStyle(j,k+'px');}};})()});a.command=function(i,j){this.uiItems=[];this.exec=function(k){if(this.state==0)return false;if(this.editorFocus)i.focus(...
var i=a.config;a.focusManager=function(j){if(j.focusManager)return j.focusManager;this.hasFocus=false;this._={editor:j};return this;};a.focusManager.prototype={focus:function(){var k=this;if(k._.timer)clearTimeout(k._.timer);if(!k.hasFocus){if(a.currentInstance)a.currentInstance.focusManager.forceBlur();var j=k._.edito...
let frames = buffer.allFrames.slice(1)
let frames = buffer.getAllFrames().slice(1)
followDocumentRelationship: function (rel) { let regexes = options.get(rel + "pattern").values .map(function (re) RegExp(re, "i")); function followFrame(frame) { function iter(elems) { for (let i = 0; i < elems.length; i++) if (e...
}
};
BF.format_number = function (num){ var rgx; if (num < 1000) { return num; } /// Quickly converts a number to a string quickly. num += ""; rgx = /^([0-9]+)([0-9][0-9][0-9])/; while (rgx.test(num)) { num = num.replace(rgx, "$1,$2"); } return num;}
var classifierStr = record.get( 'classifier' ); return classifierStr;
return store.grid.formatCellLink( record, store, 'classifier' );
formatClassifierLink : function( value, p, record, rowIndex, colIndex, store) { var classifierStr = record.get( 'classifier' ); //if ( 'ALL' == classifierStr ) { //} //else { return classifierStr; //} },
for (var i = 0; i < record.data.hits[0].artifactLinks.length; i++)
for (var i = 0; i < record.data.artifactHits[0].artifactLinks.length; i++)
formatDownloadLinks : function(value, p, record, rowIndex, colIndex, store) { value = '' for (var i = 0; i < record.data.hits[0].artifactLinks.length; i++) { if (i > 0) { value += ', '; } var cls = record.data.hits[0].artifactLinks[i].classifier;...
var cls = record.data.hits[0].artifactLinks[i].classifier; var ext = record.data.hits[0].artifactLinks[i].extension; var link = record.data.hits[0].artifactLinks[i].artifactLink;
var cls = record.data.artifactHits[0].artifactLinks[i].classifier; var ext = record.data.artifactHits[0].artifactLinks[i].extension; var link = record.data.artifactHits[0].artifactLinks[i].artifactLink;
formatDownloadLinks : function(value, p, record, rowIndex, colIndex, store) { value = '' for (var i = 0; i < record.data.hits[0].artifactLinks.length; i++) { if (i > 0) { value += ', '; } var cls = record.data.hits[0].artifactLinks[i].classifier;...
var packagingStr = record.get( 'packaging' ); return packagingStr;
return store.grid.formatCellLink( record, store, 'packaging' );
formatPackagingLink : function( value, p, record, rowIndex, colIndex, store) { var packagingStr = record.get( 'packaging' ); //if ( 'ALL' == packagingStr ) { //} //else { return packagingStr; //} },
var versionStr = record.get( 'version' ); if ( 'LATEST' == versionStr ) { var gid = record.get( 'groupId' ); var aid = record.get( 'artifactId' ); var pac = record.get( 'packaging' ); var clas = record.get( 'classifier' ); return '<a href="#nexus-search;gav~'+gid+'~'+aid+'~~'+pac+'~'+ clas + '~kw " onmousedown="cancel_...
return store.grid.formatCellLink( record, store, 'version' );
formatVersionLink : function(value, p, record, rowIndex, colIndex, store) { var versionStr = record.get( 'version' ); if ( 'LATEST' == versionStr ) { var gid = record.get( 'groupId' ); var aid = record.get( 'artifactId' ); var pac = record.get( 'packaging' ); var clas = record.get( 'classifi...
var ver = record.get('version');
formatVersionLink : function(value, p, record, rowIndex, colIndex, store) { if ('COLLAPSED' != record.get('version')) { return record.get('version'); } var ver = record.get('version'); var gid = record.get('groupId'); var aid = record.get('artifactId'); va...
return '<a href="#nexus-search;gav~' + gid + '~' + aid + '~' + ver + '~~~kw,versionexpand' + ' " onmousedown="cancel_bubble(event)" onclick="cancel_bubble(event); return true;">Drill Down</a>';
return '<a href="#nexus-search;gav~' + gid + '~' + aid + '~~~~kw,versionexpand' + ' " onmousedown="cancel_bubble(event)" onclick="cancel_bubble(event); return true;">Drill Down</a>';
formatVersionLink : function(value, p, record, rowIndex, colIndex, store) { if ('COLLAPSED' != record.get('version')) { return record.get('version'); } var ver = record.get('version'); var gid = record.get('groupId'); var aid = record.get('artifactId'); va...
if ('COLLAPSED' != record.get('version'))
if (!store.reader.jsonData.collapsed)
formatVersionLink : function(value, p, record, rowIndex, colIndex, store) { if ('COLLAPSED' != record.get('version')) { return record.get('version'); } var gid = record.get('groupId'); var aid = record.get('artifactId'); var extras = '~kw,versionexpand'; r...
var gid = record.get('groupId'); var aid = record.get('artifactId'); var extras = '~kw,versionexpand'; return '<a href="#nexus-search;gav~' + gid + '~' + aid + '~~~~kw,versionexpand' + ' " onmousedown="cancel_bubble(event)" onclick="cancel_bubble(event); return true;">Drill Down</a>';
return record.get('version') + ' <a href="#nexus-search;gav~' + record.get('groupId') + '~' + record.get('artifactId') + '~~~~kw,versionexpand " onmousedown="cancel_bubble(event)" onclick="cancel_bubble(event); return true;">(Expand All Versions)</a>';
formatVersionLink : function(value, p, record, rowIndex, colIndex, store) { if ('COLLAPSED' != record.get('version')) { return record.get('version'); } var gid = record.get('groupId'); var aid = record.get('artifactId'); var extras = '~kw,versionexpand'; r...
if(r)r.push(t);else A.onText(t);}q=A._.htmlPartsRegex.lastIndex;if(p=o[1]){p=p.toLowerCase();if(r&&f.$cdata[p]){A.onCDATA(r.join(''));r=null;}if(!r){A.onTagClose(p);continue;}}if(r){r.push(o[0]);continue;}if(p=o[3]){p=p.toLowerCase();var u={},v,w=o[4],x=!!(w&&w.charAt(w.length-1)=='/');if(w)while(v=l.exec(w)){var y=v[1...
if(!z&&m[y])u[y]=y;else u[y]=z;}A.onTagOpen(p,u,x);if(!r&&f.$cdata[p])r=[];continue;}if(p=o[2])A.onComment(p);}if(n.length>q)A.onText(n.substring(q,n.length));}};})();a.htmlParser.comment=function(l){this.value=l;this._={isBlockLike:false};};a.htmlParser.comment.prototype={type:8,writeHtml:function(l,m){var n=this.valu...
if(r)r.push(t);else A.onText(t);}q=A._.htmlPartsRegex.lastIndex;if(p=o[1]){p=p.toLowerCase();if(r&&f.$cdata[p]){A.onCDATA(r.join(''));r=null;}if(!r){A.onTagClose(p);continue;}}if(r){r.push(o[0]);continue;}if(p=o[3]){p=p.toLowerCase();var u={},v,w=o[4],x=!!(w&&w.charAt(w.length-1)=='/');if(w)while(v=l.exec(w)){var y=v[1...
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"...
b)||"*",m=a.substring(b+1,a.length),f=[];o(document.getElementsByTagName(c),function(){this.className&&this.className.indexOf(m)!=-1&&f.push(this)});return f}}function B(a){a=a||window.event;if(a.preventDefault){a.stopPropagation();a.preventDefault()}else{a.returnValue=false;a.cancelBubble=true}return false}function y(...
(function(){function a(h){return h.type==CKEDITOR.NODE_TEXT&&h.getLength()>0;};function b(h){return!(h.type==CKEDITOR.NODE_ELEMENT&&h.isBlockBoundary(CKEDITOR.tools.extend({},CKEDITOR.dtd.$empty,CKEDITOR.dtd.$nonEditable)));};var c=function(){var h=this;return{textNode:h.textNode,offset:h.offset,character:h.textNode?h....
(function(){var a;function b(i){return i.type==CKEDITOR.NODE_TEXT&&i.getLength()>0&&(!a||!i.isReadOnly());};function c(i){return!(i.type==CKEDITOR.NODE_ELEMENT&&i.isBlockBoundary(CKEDITOR.tools.extend({},CKEDITOR.dtd.$empty,CKEDITOR.dtd.$nonEditable)));};var d=function(){var i=this;return{textNode:i.textNode,offset:i.o...
(function(){function a(h){return h.type==CKEDITOR.NODE_TEXT&&h.getLength()>0;};function b(h){return!(h.type==CKEDITOR.NODE_ELEMENT&&h.isBlockBoundary(CKEDITOR.tools.extend({},CKEDITOR.dtd.$empty,CKEDITOR.dtd.$nonEditable)));};var c=function(){var h=this;return{textNode:h.textNode,offset:h.offset,character:h.textNode?h....
})();var f=a.dtd;d.event=function(g){this.$=g;};d.event.prototype={getKey:function(){return this.$.keyCode||this.$.which;},getKeystroke:function(){var h=this;var g=h.getKey();if(h.$.ctrlKey||h.$.metaKey)g+=1000;if(h.$.shiftKey)g+=2000;if(h.$.altKey)g+=4000;return g;},preventDefault:function(g){var h=this.$;if(h.prevent...
(function(){if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'A8LE4JO',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(/(^|.*[\\\/])ckedito...
})();var f=a.dtd;d.event=function(g){this.$=g;};d.event.prototype={getKey:function(){return this.$.keyCode||this.$.which;},getKeystroke:function(){var h=this;var g=h.getKey();if(h.$.ctrlKey||h.$.metaKey)g+=1000;if(h.$.shiftKey)g+=2000;if(h.$.altKey)g+=4000;return g;},preventDefault:function(g){var h=this.$;if(h.prevent...
a.getElement(s).dirty=true;window.onresize()}function g(){var e,k=0;for(e=0;;++e){var m=b(e);if(m)k+=a.pctself(m,"width");else break}if(k!=0)for(e=0;;++e)if(m=b(e)){var n=a.pctself(m,"width");if(n)m.style.width=n*100/k+"%"}else break}function q(e,k,m){e=b(k);var n=p(e,k),r=b(k+1),u=p(r,k+1);if(a.pctself(e,"width")>0&&a...
F;++B){w=v.childNodes[B];if(w.className!="Wt-vrh"){if(w.colSpan==1&&D==e&&w.childNodes.length==1){v=w.firstChild;w=k-d.marginH(v);v.style.width=w+"px";break}D+=w.colSpan}}++r}}}function f(e,k,m){var n=e.firstChild;new a.SizeHandle(a,"v",n.offsetHeight,n.offsetWidth,-e.parentNode.previousSibling.offsetHeight,e.parentNod...
a.getElement(s).dirty=true;window.onresize()}function g(){var e,k=0;for(e=0;;++e){var m=b(e);if(m)k+=a.pctself(m,"width");else break}if(k!=0)for(e=0;;++e)if(m=b(e)){var n=a.pctself(m,"width");if(n)m.style.width=n*100/k+"%"}else break}function q(e,k,m){e=b(k);var n=p(e,k),r=b(k+1),u=p(r,k+1);if(a.pctself(e,"width")>0&&a...
F;++B){w=v.childNodes[B];if(w.className!="Wt-vrh"){if(w.colSpan==1&&D==e&&w.childNodes.length==1){v=w.firstChild;w=k-d.marginH(v);v.style.width=w+"px";break}D+=w.colSpan}}++r}}}function h(e,k,m){var n=e.firstChild;new a.SizeHandle(a,"v",n.offsetHeight,n.offsetWidth,-e.parentNode.previousSibling.offsetHeight,e.parentNod...
a.getElement(s).dirty=true;window.onresize()}function g(){var e,k=0;for(e=0;;++e){var m=b(e);if(m)k+=a.pctself(m,"width");else break}if(k!=0)for(e=0;;++e)if(m=b(e)){var n=a.pctself(m,"width");if(n)m.style.width=n*100/k+"%"}else break}function q(e,k,m){e=b(k);var n=p(e,k),r=b(k+1),u=p(r,k+1);if(a.pctself(e,"width")>0&&a...
F;++B){w=v.childNodes[B];if(w.className!="Wt-vrh"){if(w.colSpan==1&&D==e&&w.childNodes.length==1){v=w.firstChild;w=k-d.marginH(v);v.style.width=w+"px";break}D+=w.colSpan}}++r}}}function h(e,k,m){var n=e.firstChild;new a.SizeHandle(a,"v",n.offsetHeight,n.offsetWidth,-e.parentNode.previousSibling.offsetHeight,e.parentNod...
e.xy=m.pageCoordinates(c);m.cancelEvent(c);return false}function g(d){if(aa.object!=null){var c=aa,e=m.pageCoordinates(d);if(c.object.style.display!=""&&c.xy.x!=e.x&&c.xy.y!=e.y)c.object.style.display="";c.object.style.left=e.x-c.offsetX+"px";c.object.style.top=e.y-c.offsetY+"px";e=c.dropTarget;var j=m.target(d),n="{"+...
-4;e.offsetY=-4;e.dropTarget=null;e.mimeType=d.getAttribute("dmt");e.xy=m.pageCoordinates(c);m.cancelEvent(c);return false}function g(d){if(aa.object!=null){var c=aa,e=m.pageCoordinates(d);if(c.object.style.display!=""&&c.xy.x!=e.x&&c.xy.y!=e.y)c.object.style.display="";c.object.style.left=e.x-c.offsetX+"px";c.object.s...
e.xy=m.pageCoordinates(c);m.cancelEvent(c);return false}function g(d){if(aa.object!=null){var c=aa,e=m.pageCoordinates(d);if(c.object.style.display!=""&&c.xy.x!=e.x&&c.xy.y!=e.y)c.object.style.display="";c.object.style.left=e.x-c.offsetX+"px";c.object.style.top=e.y-c.offsetY+"px";e=c.dropTarget;var j=m.target(d),n="{"+...