rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
var byline = Zotero.Utilities.cleanString(doc.evaluate('
var byline = Zotero.Utilities.trimInternal(doc.evaluate('
function scrape(doc, url) { var newItem = new Zotero.Item("blogPost"); newItem.url = doc.location.href; newItem.title = doc.title.substr(0, doc.title.indexOf(" - ")); var titleRE = new RegExp('^http://time-blog.com/([^/]*)/'); var title = titleRE.exec(doc.location.href)[1].split("_"); for (var i = 0 ; i < title.lengt...
info=Zotero.Utilities.cleanString(info);
info=Zotero.Utilities.trimInternal(info);
function scrape(doc,url){ var namespace = doc.documentElement.namespaceURI; var nsResolver = namespace ? function(prefix) { if (prefix == 'x') return namespace; else return null; } : null; var newItem = new Zotero.Item("newspaperArticle"); newItem.publicationTitle = "The Los Angele...
scroll_view_to(0, BF.get_position(verse_obj).top - topLoader.offsetHeight);
scroll_view_to(BF.get_position(verse_obj).top - topLoader.offsetHeight);
scroll_to_verse: function (verse_id) { ///FIXME: This will not get the correct element if the verse is verse 1 (i.e., is at the beginning of a chapter or book). var verse_obj = document.getElementById(verse_id + "_verse"); ...
scroll_pos = get_top_position(verse_obj) - topLoader.offsetHeight; pixels_needed = doc_docEl.clientHeight - (document.body.clientHeight - scroll_pos); if (pixels_needed > 0) { div_tag = document.createElement("div"); div_tag.style.height = (pixels_needed + 10) + 'px'; viewPort.insertBefore(div_tag, null); padding_i...
content_manager.scrollViewTo(0, get_top_position(verse_obj) - topLoader.offsetHeight);
function scroll_to_verse(verse_id) { var div_tag, padding_interval, pixels_needed, ///FIXME: This will not get the correct element if the verse is verse 1 (i.e., is at the beginning of a chapter or book). verse_obj = document.getElementById(verse_id + "_verse");...
}
self.seekTo(0, 0); }
function Scrollable(root, conf) { // current instance var self = this, fire = root.add(self), itemWrap = root.children(), index = 0, forward, vertical = conf.vertical; if (!current) { current = self; } if (itemWrap.length > 1) { itemWrap = $(conf.items, root); } // methods $.extend(se...
vertical = conf.vertical || dim(root, "height") > dim(root, "width");
vertical = conf.vertical;
function Scrollable(root, conf) { // current instance var self = this, fire = root.add(self), itemWrap = root.children(), index = 0, forward, vertical = conf.vertical || dim(root, "height") > dim(root, "width"); if (!current) { current = self; } if (itemWrap.length > 1) { itemWrap = $(con...
$.each("onBeforeSeek,onSeek,onAddItem".split(","), function(i, name) {
$.each(['onBeforeSeek', 'onSeek', 'onAddItem'], function(i, name) {
function Scrollable(root, conf) { // current instance var self = this, fire = root.add(self), itemWrap = root.children(), index = 0, forward, vertical = conf.vertical || dim(root, "height") > dim(root, "width"); if (!current) { current = self; } if (itemWrap.length > 1) { itemWrap = $(con...
self.seekTo(conf.initialIndex, 0, true);
function Scrollable(root, conf) { // current instance var self = this, fire = root.add(self), itemWrap = root.children(), index = 0, forward, vertical = conf.vertical || dim(root, "height") > dim(root, "width"); if (!current) { current = self; } if (itemWrap.length > 1) { itemWrap = $(con...
}); } var lconf = $.tools.lazyload && conf.lazyload, loader, doLoad = function (ev, i) { loader.load(self.getItems().eq(i).find(":unloaded").andSelf()); }; if (lconf) { if (typeof lconf != 'object') { lconf = { select: lconf }; } if (typeof lconf.select != 'string') { lconf.select = "img, :backgroundImage"; } l...
}); }
function Scrollable(root, conf) { // current instance var self = this, fire = root.add(self), itemWrap = root.children(), index = 0, forward, vertical = conf.vertical; if (!current) { current = self; } if (itemWrap.length > 1) { itemWrap = $(conf.items, root); } // methods $.extend(se...
$(self).bind(name, fn);
if (fn) { $(self).bind(name, fn); }
function Scrollable(root, conf) { // current instance var self = this, fire = root.add(self), itemWrap = root.children(), index = 0, vertical = conf.vertical; if (!current) { current = self; } if (itemWrap.length > 1) { itemWrap = $(conf.items, root); } // methods $.extend(self, { ...
lazies = lconf === true ? self.getItems() : root.find(lconf.select || lconf);
if (lconf === true) { lconf = "img, :backgroundImage"; } lazies = root.find(lconf.select || lconf);
function Scrollable(root, conf) { // current instance var self = this, $self = $(this), horizontal = !conf.vertical, wrap = root.children(), index = 0, forward; if (!current) { current = self; } // bind all callbacks from configuration $.each(conf, function(name, fn) { if ($.isFunction(fn...
return self.seekTo(i, time, fn);
return self.seekTo(i);
function Scrollable(root, conf) { // current instance var self = this, $self = $(this), horizontal = !conf.vertical, wrap = root.children(), index = 0, forward; if (!current) { current = self; } // bind all callbacks from configuration $.each(conf, function(name, fn) { if ($.isFunction(fn...
if (!conf.circular && self.getSize() > 2) {
if (!conf.circular && self.getSize() > 1) {
function Scrollable(root, conf) { // current instance var self = this, fire = root.add(self), itemWrap = root.children(), index = 0, forward, vertical = conf.vertical; if (!current) { current = self; } if (itemWrap.length > 1) { itemWrap = $(conf.items, root); } // methods $.extend(se...
prev.toggleClass(conf.disabledClass, i <= 0); next.toggleClass(conf.disabledClass, i >= self.getSize() -1);
setTimeout(function() { if (!e.isDefaultPrevented()) { prev.toggleClass(conf.disabledClass, i <= 0); next.toggleClass(conf.disabledClass, i >= self.getSize() -1); } }, 1);
function Scrollable(root, conf) { // current instance var self = this, fire = root.add(self), itemWrap = root.children(), index = 0, vertical = conf.vertical; if (!current) { current = self; } if (itemWrap.length > 1) { itemWrap = $(conf.items, root); } // methods $.extend(self, { ...
seekTo: function(i, time, fn) {
seekTo: function(i, time, fn) { if (conf.circular && i === 0 && index == -1 && time !== 0) { return self; }
function Scrollable(root, conf) { // current instance var self = this, fire = root.add(self), itemWrap = root.children(), index = 0, vertical = conf.vertical; if (!current) { current = self; } if (itemWrap.length > 1) { itemWrap = $(conf.items, root); } // methods $.extend(self, { ...
if (!conf.circular && i < 0 || i > self.getSize()) { return self; }
if (!conf.circular && i < 0 || i > self.getSize() || i < -1) { return self; }
function Scrollable(root, conf) { // current instance var self = this, fire = root.add(self), itemWrap = root.children(), index = 0, vertical = conf.vertical; if (!current) { current = self; } if (itemWrap.length > 1) { itemWrap = $(conf.items, root); } // methods $.extend(self, { ...
time = time || conf.speed;
if (time === undefined) { time = conf.speed; }
function Scrollable(root, conf) { // current instance var self = this, fire = root.add(self), itemWrap = root.children(), index = 0, vertical = conf.vertical; if (!current) { current = self; } if (itemWrap.length > 1) { itemWrap = $(conf.items, root); } // methods $.extend(self, { ...
forward,
function Scrollable(root, conf) { // current instance var self = this, fire = root.add(self), itemWrap = root.children(), index = 0, forward, vertical = conf.vertical; if (!current) { current = self; } if (itemWrap.length > 1) { itemWrap = $(conf.items, root); } // methods $.extend(se...
}); current = self; index = i;
});
function Scrollable(root, conf) { // current instance var self = this, fire = root.add(self), itemWrap = root.children(), index = 0, forward, vertical = conf.vertical; if (!current) { current = self; } if (itemWrap.length > 1) { itemWrap = $(conf.items, root); } // methods $.extend(se...
vertical = conf.vertical;
vertical = conf.vertical || dim(root, "height") > dim(root, "width");
function Scrollable(root, conf) { // current instance var self = this, fire = root.add(self), itemWrap = root.children(), index = 0, forward, vertical = conf.vertical; if (!current) { current = self; } if (itemWrap.length > 1) { itemWrap = $(conf.items, root); } // methods $.extend(se...
var prev = root.parent().find(conf.prev).click(function() { self.prev(); }), next = root.parent().find(conf.next).click(function() { self.next(); });
var prev = find(root, conf.prev).click(function() { self.prev(); }), next = find(root, conf.next).click(function() { self.next(); });
function Scrollable(root, conf) { // current instance var self = this, fire = root.add(self), itemWrap = root.children(), index = 0, forward, vertical = conf.vertical; if (!current) { current = self; } if (itemWrap.length > 1) { itemWrap = $(conf.items, root); } // methods $.extend(se...
if (conf.clickable) { root.click(function() { if (conf.clickable) { self.next(); } }); }
function Scrollable(root, conf) { // current instance var self = this, fire = root.add(self), itemWrap = root.children(), index = 0, forward, vertical = conf.vertical; if (!current) { current = self; } if (itemWrap.length > 1) { itemWrap = $(conf.items, root); } // methods $.extend(se...
j,b,-2,-1)};this.scrolled=function(a,b,c,d){s=a;t=b;u=c;v=d};var m=null;j.handleDragDrop=function(a,b,c,d,k){if(m){m.className=m.classNameOrig;m=null}if(a!="end"){var g=q(c);if(!g.selected&&g.drop)if(a=="drop")n.emit(j,{name:"dropEvent",eventObject:b,event:c},g.rowIdx,g.columnId,d,k);else{b.className="Wt-valid-drop";m=...
f.scrollLeft;if(f.scrollTop<u||f.scrollTop>v||f.scrollLeft<s||f.scrollLeft>t)n.emit(h,"scrolled",f.scrollLeft,f.scrollTop,f.clientWidth,f.clientHeight)};this.mouseDown=function(a,b){i.capture(null);a=q(b);h.getAttribute("drag")==="true"&&a.selected&&n._p_.dragStart(h,b)};this.resizeHandleMDown=function(a,b){var c=a.par...
j,b,-2,-1)};this.scrolled=function(a,b,c,d){s=a;t=b;u=c;v=d};var m=null;j.handleDragDrop=function(a,b,c,d,k){if(m){m.className=m.classNameOrig;m=null}if(a!="end"){var g=q(c);if(!g.selected&&g.drop)if(a=="drop")n.emit(j,{name:"dropEvent",eventObject:b,event:c},g.rowIdx,g.columnId,d,k);else{b.className="Wt-valid-drop";m=...
setTimeout(scrolling, 30);
window.setTimeout(scrolling, 30);
function scrolling() { /// Trick IE 8- into understanding pageYOffset. /*@cc_on @if (@_jscript_version < 9) window.pageYOffset = doc_docEl.scrollTop; @end @*/ var new_scroll_pos = window.pageYOffset, ...
remove_content_top_timeout = setTimeout(remove_excess_content_top, remove_speed);
remove_content_top_timeout = window.setTimeout(remove_excess_content_top, remove_speed);
function scrolling() { /// Trick IE 8- into understanding pageYOffset. /*@cc_on @if (@_jscript_version < 9) window.pageYOffset = doc_docEl.scrollTop; @end @*/ var new_scroll_pos = window.pageYOffset, ...
remove_content_bottom_timeout = setTimeout(remove_excess_content_bottom, remove_speed);
remove_content_bottom_timeout = window.setTimeout(remove_excess_content_bottom, remove_speed);
function scrolling() { /// Trick IE 8- into understanding pageYOffset. /*@cc_on @if (@_jscript_version < 9) window.pageYOffset = doc_docEl.scrollTop; @end @*/ var new_scroll_pos = window.pageYOffset, ...
window.pageYOffset = doc_docEl.scrollTop;
@if (@_jscript_version < 9) window.pageYOffset = doc_docEl.scrollTop; @end
function scrolling() { /// Trick IE into understanding pageYOffset. /*@cc_on window.pageYOffset = doc_docEl.scrollTop; @*/ var new_scroll_pos = window.pageYOffset, scrolling_down; /// Has the scroll position ...
0;if(a.wheelDelta)b=a.wheelDelta>0?1:-1;else if(a.detail)b=a.detail<0?1:-1;return b};this.scrollIntoView=function(a){(a=document.getElementById(a))&&a.scrollIntoView&&a.scrollIntoView(true)};this.getSelectionRange=function(a){if(document.selection)if(g.hasTag(a,"TEXTAREA")){var b=document.selection.createRange(),f=b.du...
document.body.scrollLeft-document.documentElement.scrollLeft,y:a.y-document.body.scrollTop-document.documentElement.scrollTop}};this.wheelDelta=function(a){var b=0;if(a.wheelDelta)b=a.wheelDelta>0?1:-1;else if(a.detail)b=a.detail<0?1:-1;return b};this.scrollIntoView=function(a){(a=document.getElementById(a))&&a.scrollI...
0;if(a.wheelDelta)b=a.wheelDelta>0?1:-1;else if(a.detail)b=a.detail<0?1:-1;return b};this.scrollIntoView=function(a){(a=document.getElementById(a))&&a.scrollIntoView&&a.scrollIntoView(true)};this.getSelectionRange=function(a){if(document.selection)if(g.hasTag(a,"TEXTAREA")){var b=document.selection.createRange(),f=b.du...
a.wheelDelta>0?1:-1;else if(a.detail)b=a.detail<0?1:-1;return b};this.scrollIntoView=function(a){(a=document.getElementById(a))&&a.scrollIntoView&&a.scrollIntoView(true)};this.getSelectionRange=function(a){if(document.selection)if(g.hasTag(a,"TEXTAREA")){var b=document.selection.createRange(),f=b.duplicate();f.moveToEl...
0;if(a.wheelDelta)b=a.wheelDelta>0?1:-1;else if(a.detail)b=a.detail<0?1:-1;return b};this.scrollIntoView=function(a){(a=document.getElementById(a))&&a.scrollIntoView&&a.scrollIntoView(true)};this.getSelectionRange=function(a){if(document.selection)if(g.hasTag(a,"TEXTAREA")){var b=document.selection.createRange(),f=b.du...
a.wheelDelta>0?1:-1;else if(a.detail)b=a.detail<0?1:-1;return b};this.scrollIntoView=function(a){(a=document.getElementById(a))&&a.scrollIntoView&&a.scrollIntoView(true)};this.getSelectionRange=function(a){if(document.selection)if(g.hasTag(a,"TEXTAREA")){var b=document.selection.createRange(),f=b.duplicate();f.moveToEl...
function(a){if(!a)a=window.event;var b=0,f=0;if(a.pageX||a.pageY){b=a.pageX;f=a.pageY}else if(a.clientX||a.clientY){b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;f=a.clientY+document.body.scrollTop+document.documentElement.scrollTop}return{x:b,y:f}};this.scrollIntoView=function(a){(a=document...
function(a){if(!a)a=window.event;var b=0,f=0;if(a.pageX||a.pageY){b=a.pageX;f=a.pageY}else if(a.clientX||a.clientY){b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;f=a.clientY+document.body.scrollTop+document.documentElement.scrollTop}return{x:b,y:f}};this.windowCoordinates=function(a){a=g.page...
function(a){if(!a)a=window.event;var b=0,f=0;if(a.pageX||a.pageY){b=a.pageX;f=a.pageY}else if(a.clientX||a.clientY){b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;f=a.clientY+document.body.scrollTop+document.documentElement.scrollTop}return{x:b,y:f}};this.scrollIntoView=function(a){(a=document...
function(a,b){b=k.pageCoordinates(b);a=k.widgetPageCoordinates(a);return{x:b.x-a.x,y:b.y-a.y}};this.pageCoordinates=function(a){if(!a)a=window.event;var b=0,f=0;if(a.pageX||a.pageY){b=a.pageX;f=a.pageY}else if(a.clientX||a.clientY){b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;f=a.clientY+doc...
y:f}};this.scrollIntoView=function(a){(a=document.getElementById(a))&&a.scrollIntoView&&a.scrollIntoView(true)};this.getSelectionRange=function(a){if(document.selection){var b=document.selection.createRange(),f=b.duplicate();f.moveToElementText(a);f.setEndPoint("EndToEnd",b);a=f.text.length-b.text.length;return{start:a...
function(a,b){b=k.pageCoordinates(b);a=k.widgetPageCoordinates(a);return{x:b.x-a.x,y:b.y-a.y}};this.pageCoordinates=function(a){if(!a)a=window.event;var b=0,f=0;if(a.pageX||a.pageY){b=a.pageX;f=a.pageY}else if(a.clientX||a.clientY){b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;f=a.clientY+doc...
return this;},setOpacity:function(i){if(c){i=Math.round(i*100);this.setStyle('filter',i>=100?'':'progid:DXImageTransform.Microsoft.Alpha(opacity='+i+')');}else this.setStyle('opacity',i);},unselectable:b.gecko?function(){this.$.style.MozUserSelect='none';}:b.webkit?function(){this.$.style.KhtmlUserSelect='none';}:funct...
k-=r;}}else{var w=D,x=null,y;while(w&&!(w.getName()=='body'||w.getName()=='html')){j+=w.$.offsetLeft-w.$.scrollLeft;k+=w.$.offsetTop-w.$.scrollTop;if(!w.equals(D)){j+=w.$.clientLeft||0;k+=w.$.clientTop||0;}var z=x;while(z&&!z.equals(w)){j-=z.$.scrollLeft;k-=z.$.scrollTop;z=z.getParent();}x=w;w=(y=w.$.offsetParent)?new ...
return this;},setOpacity:function(i){if(c){i=Math.round(i*100);this.setStyle('filter',i>=100?'':'progid:DXImageTransform.Microsoft.Alpha(opacity='+i+')');}else this.setStyle('opacity',i);},unselectable:b.gecko?function(){this.$.style.MozUserSelect='none';}:b.webkit?function(){this.$.style.KhtmlUserSelect='none';}:funct...
padding_interval = setInterval(function ()
padding_interval = window.setInterval(function ()
function scrollViewTo(x, y, smooth) { /// A small amount of extra padding is added just to ensure that the padding element will be large enough. var extra_padding = 10, padding_el, padding_interval, pixels_needed; i...
clearInterval(padding_interval);
window.clearInterval(padding_interval);
function scrollViewTo(x, y, smooth) { /// A small amount of extra padding is added just to ensure that the padding element will be large enough. var extra_padding = 10, padding_el, padding_interval, pixels_needed; i...
if (item && item.url.indexOf("%s") > -1)
if (item && item.url.indexOf("%s") > -1) {
completion.search = function search(context, noSuggest) { let [, keyword, space, args] = context.filter.match(/^\s*(\S*)(\s*)(.*)$/); let keywords = bookmarks.getKeywords(); let engines = bookmarks.getSearchEngines(); context.title = ["Search Keywords"]; co...
}
completion.search = function search(context, noSuggest) { let [, keyword, space, args] = context.filter.match(/^\s*(\S*)(\s*)(.*)$/); let keywords = bookmarks.getKeywords(); let engines = bookmarks.getSearchEngines(); context.title = ["Search Keywords"]; co...
text : this.searchTypes[0].text, value : this.searchTypes[0].value,
text : this.searchTypes[defaultSearchTypeIndex].text, value : this.searchTypes[defaultSearchTypeIndex].value,
Sonatype.repoServer.SearchPanel = function(config) { var config = config || {}; var defaultConfig = {}; Ext.apply(this, config, defaultConfig); this.grid = new Sonatype.repoServer.SearchResultGrid( { searchPanel : this }); this.searchTypes = []; // fire event for plugins to add their own search items Sonatyp...
items : [ this.searchTypeButton, this.convertToFieldObject(this.searchTypes[0].panelItems[0]) ]
items : [ this.searchTypeButton, this.convertToFieldObject(this.searchTypes[defaultSearchTypeIndex].panelItems[0]) ]
Sonatype.repoServer.SearchPanel = function(config) { var config = config || {}; var defaultConfig = {}; Ext.apply(this, config, defaultConfig); this.grid = new Sonatype.repoServer.SearchResultGrid( { searchPanel : this }); this.searchTypes = []; // fire event for plugins to add their own search items Sonatyp...
fn : function(panel) { panel.body.on({ 'mousedown' : function(e, t) { var i = t.getAttribute('index'); this.toggleExtraInfo(parseInt(i, 10)); e.stopEvent(); return false; }, 'click' : function(e, t) { e.stopEvent(); return false; }, delegate : 'a.pom-link', scope : panel });
fn : function(grid) { grid.body.on({ 'mousedown' : function(e, t) { var i = t.getAttribute('index'); this.toggleExtraInfo(parseInt(i, 10)); e.stopEvent(); return false; }, 'click' : function(e, t) { e.stopEvent(); return false; }, delegate : 'a.pom-link', scope : grid }); var store = grid.getStore (); var view = grid....
Sonatype.repoServer.SearchResultGrid = function(config) { Ext.apply(this, config); this.sp = Sonatype.lib.Permissions; this.totalRecords = 0; this.defaultStore = new Sonatype.SearchStore({ grid: this }); this.store = this.defaultStore; this.colModel = new Ext.grid.ColumnModel({ columns: [ { ...
scope : this }, mouseover : { fn : this.mouseOverHandler,
Sonatype.repoServer.SearchResultGrid = function(config) { Ext.apply(this, config); this.sp = Sonatype.lib.Permissions; this.totalRecords = 0; this.defaultStore = new Sonatype.SearchStore({ grid: this }); this.store = this.defaultStore; this.colModel = new Ext.grid.ColumnModel({ columns: [ { ...
searchUrl: Sonatype.config.repos.urls.index
searchUrl: Sonatype.config.servicePath + '/data_index'
Sonatype.SearchStore = function(config) { var config = config || {}; var defaultConfig = { searchUrl: Sonatype.config.repos.urls.index }; Ext.apply(this, config, defaultConfig); Sonatype.SearchStore.superclass.constructor.call(this, { sortInfo: { field: 'groupId', direction: 'ASC' }, proxy:...
name : 'hits'
name : 'artifactHits'
Sonatype.SearchStore = function(config) { var config = config || {}; var defaultConfig = { searchUrl : Sonatype.config.servicePath + '/lucene/search' }; Ext.apply(this, config, defaultConfig); Sonatype.SearchStore.superclass.constructor.call(this, { proxy : new Ext.data.HttpProxy({ url : thi...
var v = round(x / len * range + conf.min, conf.decimals);
var isClick = e && e.originalEvent && e.originalEvent.type == "click", v = round(x / len * range + conf.min, conf.decimals);
function seek(x, e) { // fit inside the slider x = Math.min(Math.max(0, x), len); // increment in steps if (conf.step) { x = toSteps(x, conf.step, len); } // calculate value var v = round(x / len * range + conf.min, conf.decimals); // onSlide e = e || $.Event(); e.type = ...
e = e || $.Event(); e.type = "onSlide"; fire.trigger(e, [v]); if (e.isDefaultPrevented()) { return self; }
if (value !== undefined && !isClick) { e = e || $.Event(); e.type = "onSlide"; fire.trigger(e, [v]); if (e.isDefaultPrevented()) { return self; } }
function seek(x, e) { // fit inside the slider x = Math.min(Math.max(0, x), len); // increment in steps if (conf.step) { x = toSteps(x, conf.step, len); } // calculate value var v = round(x / len * range + conf.min, conf.decimals); // onSlide e = e || $.Event(); e.type = ...
var isClick = e && e.originalEvent && e.originalEvent.type == "click", speed = isClick ? conf.speed : 0, callback = isClick ? function() {
var speed = isClick ? conf.speed : 0, fn = isClick ? function() {
function seek(x, e) { // fit inside the slider x = Math.min(Math.max(0, x), len); // increment in steps if (conf.step) { x = toSteps(x, conf.step, len); } // calculate value var v = round(x / len * range + conf.min, conf.decimals); // onSlide e = e || $.Event(); e.type = ...
handle.animate({top: -(x - len)}, speed, callback);
handle.animate({top: -(x - len)}, speed, fn);
function seek(x, e) { // fit inside the slider x = Math.min(Math.max(0, x), len); // increment in steps if (conf.step) { x = toSteps(x, conf.step, len); } // calculate value var v = round(x / len * range + conf.min, conf.decimals); // onSlide e = e || $.Event(); e.type = ...
handle.animate({left: x}, speed, callback);
handle.animate({left: x}, speed, fn);
function seek(x, e) { // fit inside the slider x = Math.min(Math.max(0, x), len); // increment in steps if (conf.step) { x = toSteps(x, conf.step, len); } // calculate value var v = round(x / len * range + conf.min, conf.decimals); // onSlide e = e || $.Event(); e.type = ...
seekTo: function(i, time, fn) {
seekTo: function(i, time, fn) { if (conf.circular && i === 0 && index == -1 && time !== 0) { return self; }
seekTo: function(i, time, fn) { // check that index is sane if (!conf.circular && i < 0 || i > self.getSize()) { return self; } var item = i; if (i.jquery) { i = self.getItems().index(i); } else { item = self.getItems().eq(i); } // onBeforeSeek var e = $.Event("o...
if (!conf.circular && i < 0 || i > self.getSize()) { return self; }
if (!conf.circular && i < 0 || i > self.getSize() || i < -1) { return self; }
seekTo: function(i, time, fn) { // check that index is sane if (!conf.circular && i < 0 || i > self.getSize()) { return self; } var item = i; if (i.jquery) { i = self.getItems().index(i); } else { item = self.getItems().eq(i); } // onBeforeSeek var e = $.Event("o...
time = time || conf.speed;
if (time === undefined) { time = conf.speed; }
seekTo: function(i, time, fn) { // check that index is sane if (!conf.circular && i < 0 || i > self.getSize()) { return self; } var item = i; if (i.jquery) { i = self.getItems().index(i); } else { item = self.getItems().eq(i); } // onBeforeSeek var e = $.Event("o...
}); current = self; index = i;
});
seekTo: function(i, time, fn) { // check that index is sane if (!conf.circular && i < 0 || i > self.getSize()) { return self; } var item = i; if (i.jquery) { i = self.getItems().index(i); } else { item = self.getItems().eq(i); } // onBeforeSeek var e = $.Event("o...
input[0].valueAsDate = date;
function select(date, conf, e) { // current value value = date; currYear = date.getFullYear(); currMonth = date.getMonth(); currDay = date.getDate(); // change e = e || $.Event("api"); e.type = "change"; fire.trigger(e, [date]); if (e.isDefaultPrevented()) { return; } // forma...
selection['start'] = pos; if (pos != undefined)
selection.start = pos; if (pos !== undefined)
function selectNote(div){ var pos = div.getAttribute("charPos"); selection['start'] = pos; if (pos != undefined) { editArea.setSelection(parseInt(pos), parseInt(pos)+1); } abc_keystroke();}
data = {result: 'signal=poll' };
data = {result: '&signal=poll' };
function sendUpdate() { updateTimeout = null; var feedback; if (WT.isIEMobile) feedback = false; if (quited) { if (norestart) return; if (confirm("The application was quited, do you want to restart?")) { document.location = document.location; norestart = true; return; } else { nore...
(url + query, 'request=jsupdate&' + data.result + '&ackId=' + ackUpdateId,
(url + query, 'request=jsupdate' + data.result + '&ackId=' + ackUpdateId,
function sendUpdate() { updateTimeout = null; var feedback; if (WT.isIEMobile) feedback = false; if (quited) { if (norestart) return; if (confirm("The application was quited, do you want to restart?")) { document.location = document.location; norestart = true; return; } else { nore...
this.fastRetries = 0;
function session(){ this.transport = null; this.reconnectionAttemptFrequency = 10000; this.port = 12536; this.address = "127.0.0.1"; this.connectionTimeout = 10000; // short timeout for connections this.activityTimeout = 3600000; // long timeout for activity this.connectLock = false; // protect the...
this.connectionTimeout = 1000;
this.connectionTimeout = 10000;
function session(){ this.transport = null; this.reconnectionAttemptFrequency = 10000; this.port = 12536; this.address = "127.0.0.1"; this.connectionTimeout = 1000; // short timeout for connections this.activityTimeout = 3600000; // long timeout for activity}
this.connectLock = false;
function session(){ this.transport = null; this.reconnectionAttemptFrequency = 10000; this.port = 12536; this.address = "127.0.0.1"; this.connectionTimeout = 1000; // short timeout for connections this.activityTimeout = 3600000; // long timeout for activity}
this.port = 12537;
this.port = 12536;
function session(){ this.transport = null; this.reconnectionAttemptFrequency = 10000; this.port = 12537; this.address = "127.0.0.1"; this.connectionTimeout = 10000; // short timeout for connections this.activityTimeout = 3600000; // long timeout for activity this.connectLock = false; // protect the...
if (onchange && typeof onchange != "function") {
if (onchange && typeof onchange == "function") {
}, set: function (new_val) { /// Temporarily store the original value to be sent to the onchange function. var old_val = cur_val; cur_val = new_val; /// Optionally run a function when the value is changed. if (onchange && type...
set : function(str)
this.set = function(str)
set : function(str) { //editAreaLoader.setValue(id, str); $(this._id).value =str; },
},
};
set : function(str) { //editAreaLoader.setValue(id, str); $(this._id).value =str; },
try{ if (win === this.focusedWindow) return;
if (win === document.commandDispatcher.focusedWindow) return;
set focusedWindow(win) { try{ if (win === this.focusedWindow) return; // XXX: if win has frame, win.focus() cannot focus. if (win.frames.length) { let html = win.document.documentElement; let selection = win.getSelection(); let ranges = let(it = (function...
if (win.frames.length) {
if (win.frames.length && win !== this.focusedWindow) {
set focusedWindow(win) { try{ if (win === this.focusedWindow) return; // XXX: if win has frame, win.focus() cannot focus. if (win.frames.length) { let html = win.document.documentElement; let selection = win.getSelection(); let ranges = let(it = (function...
}catch(ex){liberator.echoerr(ex);}
set focusedWindow(win) { try{ if (win === this.focusedWindow) return; // XXX: if win has frame, win.focus() cannot focus. if (win.frames.length) { let html = win.document.documentElement; let selection = win.getSelection(); let ranges = let(it = (function...
if (loginButton === undefined || loginButton == null) return;
setAllLogins: function() { KFLog.debug("setAllLogins start"); var loginButton = this._currentWindow.document.getElementById("KeeFox_Logins-Button"); if (keeFoxInst._keeFoxStorage.get("KeePassDatabaseOpen", false)) { // start with the current root group uniqueID ...
if (newDir == "-")
if (newDir == "-") {
setCurrentDirectory: function (newDir) { newDir = newDir || "~"; if (newDir == "-") [this._cwd, this._oldcwd] = [this._oldcwd, this.getCurrentDirectory()]; else { let dir = File(newDir); if (!dir.exists() || !dir.isDirectory()) { liberator.echoerr...
else {
} else {
setCurrentDirectory: function (newDir) { newDir = newDir || "~"; if (newDir == "-") [this._cwd, this._oldcwd] = [this._oldcwd, this.getCurrentDirectory()]; else { let dir = File(newDir); if (!dir.exists() || !dir.isDirectory()) { liberator.echoerr...
return self.getCurrentDirectory();
return this.getCurrentDirectory();
setCurrentDirectory: function (newDir) { newDir = newDir || "~"; if (newDir == "-") [this._cwd, this._oldcwd] = [this._oldcwd, this.getCurrentDirectory()]; else { let dir = File(newDir); if (!dir.exists() || !dir.isDirectory()) { liberator.echoerr...
setCurrentVoice: function(staffNum, voiceNum) {
this.setCurrentVoice = function(staffNum, voiceNum) {
setCurrentVoice: function(staffNum, voiceNum) { this.staffNum = staffNum; this.voiceNum = voiceNum; for (var i = 0; i < this.lines.length; i++) { if (this.lines[i].staff) { if (this.lines[i].staff[staffNum] === undefined || this.lines[i].staff[staffNum].voices[voiceNum] === undefined || !this.containsNotes...
},
};
setCurrentVoice: function(staffNum, voiceNum) { this.staffNum = staffNum; this.voiceNum = voiceNum; for (var i = 0; i < this.lines.length; i++) { if (this.lines[i].staff) { if (this.lines[i].staff[staffNum] === undefined || this.lines[i].staff[staffNum].voices[voiceNum] === undefined || !this.containsNotes...
weeks.find(".week").each(function() {
weeks.find(css.week).each(function() {
setDate: function(year, month, day) { var date = new Date(year, month, day); // current year / month if (!year) { date = input.data("date") || new Date(); year = date.getYear() % 100 + 2000; month = date.getMonth(); day = date.getDate(); } // strings to numbers ...
var len = line.substring(start, end).gsub(" ", ""); var len_arr = len.split('/'); if (len_arr.length === 2) { var n = parseInt(len_arr[0]); var d = parseInt(len_arr[1]); if (d > 0) { var q = n / d; multilineVars.default_length = q; multilineVars.havent_set_length = false; }
var len = line.substring(start, end).gsub(" ", ""); var len_arr = len.split('/'); if (len_arr.length === 2) { var n = parseInt(len_arr[0]); var d = parseInt(len_arr[1]); if (d > 0) { var q = n / d; multilineVars.default_length = q; multilineVars.havent_set_length = false;
this.setDefaultLength = function(line, start, end) { var len = line.substring(start, end).gsub(" ", ""); var len_arr = len.split('/'); if (len_arr.length === 2) { var n = parseInt(len_arr[0]); var d = parseInt(len_arr[1]); if (d > 0) { var q = n / d; multilineVars.default_length = q; // a whole...
};
} };
this.setDefaultLength = function(line, start, end) { var len = line.substring(start, end).gsub(" ", ""); var len_arr = len.split('/'); if (len_arr.length === 2) { var n = parseInt(len_arr[0]); var d = parseInt(len_arr[1]); if (d > 0) { var q = n / d; multilineVars.default_length = q; // a whole...
if (depth == undefined)
if (depth === undefined) {
var setFieldSetDisabled = function (fieldSet, disabled, depth) { if (depth == undefined) depth = 0; //IE workaround if (!Ext.isIE || depth !== 0) { fieldSet.setDisabled(disabled); } for (var i = 0; i < fieldSet.items.length; i++) { var item = fi...
}
var setFieldSetDisabled = function (fieldSet, disabled, depth) { if (depth == undefined) depth = 0; //IE workaround if (!Ext.isIE || depth !== 0) { fieldSet.setDisabled(disabled); } for (var i = 0; i < fieldSet.items.length; i++) { var item = fi...
var setFieldSetDisabled = function (fieldSet, disabled) { fieldSet.setDisabled(disabled);
var setFieldSetDisabled = function (fieldSet, disabled, depth) { if (depth == undefined) depth = 0; if (!Ext.isIE || depth !== 0) { fieldSet.setDisabled(disabled); }
var setFieldSetDisabled = function (fieldSet, disabled) { fieldSet.setDisabled(disabled); for (var i = 0; i < fieldSet.items.length; i++) { var item = fieldSet.items.get(i); if (item.getXType() == 'fieldset') { setFieldSetDisabled(item, disabled); } else { ...
setFieldSetDisabled(item, disabled);
setFieldSetDisabled(item, disabled, depth + 1);
var setFieldSetDisabled = function (fieldSet, disabled) { fieldSet.setDisabled(disabled); for (var i = 0; i < fieldSet.items.length; i++) { var item = fieldSet.items.get(i); if (item.getXType() == 'fieldset') { setFieldSetDisabled(item, disabled); } else { ...
null,W=0,ga=false,R=null,aa=null,ja=(new Date).getTime(),ha,da=0,S={};p.prototype.preload=function(d){var c=new Image;this.images.push(c);c.onload=p.prototype.onload;c.onerror=p.prototype.onload;c.onabort=p.prototype.onload;c.imagePreloader=this;c.src=d};p.prototype.onload=function(){var d=this.imagePreloader;--d.work=...
c.onerror=p.prototype.onload;c.onabort=p.prototype.onload;c.imagePreloader=this;c.src=d};p.prototype.onload=function(){var d=this.imagePreloader;--d.work==0&&d.callback(d.images)};o.history.register(_$_INITIAL_HASH_$_,t);this._p_={ieAlternative:r,loadScript:l,onJsLoad:D,setTitle:j,update:z,quit:b,setFormObjects:functio...
null,W=0,ga=false,R=null,aa=null,ja=(new Date).getTime(),ha,da=0,S={};p.prototype.preload=function(d){var c=new Image;this.images.push(c);c.onload=p.prototype.onload;c.onerror=p.prototype.onload;c.onabort=p.prototype.onload;c.imagePreloader=this;c.src=d};p.prototype.onload=function(){var d=this.imagePreloader;--d.work=...
s);this._p_={loadScript:Y,onJsLoad:Q,setTitle:l,update:H,quit:function(){ba=true;clearTimeout(aa)},setFormObjects:function(d){T=d},saveDownPos:v,addTimerEvent:z,load:o,handleResponse:D,setServerPush:t,dragStart:G,dragDrag:P,dragEnd:a,capture:n.capture,onHashChange:s,setHash:F,ImagePreloader:g,autoJavaScript:function(){...
aa=null,T=0,ea=false,P=null,X=null,ha=(new Date).getTime(),fa,ca=0,Q={};K.prototype.preload=function(d){var c=new Image;this.images.push(c);c.onload=K.prototype.onload;c.onerror=K.prototype.onload;c.onabort=K.prototype.onload;c.imagePreloader=this;c.src=d};K.prototype.onload=function(){var d=this.imagePreloader;--d.wor...
s);this._p_={loadScript:Y,onJsLoad:Q,setTitle:l,update:H,quit:function(){ba=true;clearTimeout(aa)},setFormObjects:function(d){T=d},saveDownPos:v,addTimerEvent:z,load:o,handleResponse:D,setServerPush:t,dragStart:G,dragDrag:P,dragEnd:a,capture:n.capture,onHashChange:s,setHash:F,ImagePreloader:g,autoJavaScript:function(){...
}
},
setHTML: function (value) { let values = [[true, 1, gDisallow_classes_no_html], // plaintext [false, 0, 0], // HTML [false, 3, gDisallow_classes_no_html]]; // sanitized/simple HTML if (typeof value != "number" || value < 0 || value >...
-1&&navigator.userAgent.toLowerCase().indexOf("opera")==-1)&&navigator.userAgent.toLowerCase().indexOf("msie 6")!=-1;this.isGecko=navigator.userAgent.toLowerCase().indexOf("gecko")!=-1;this.isIEMobile=navigator.userAgent.toLowerCase().indexOf("msie 4")!=-1||navigator.userAgent.toLowerCase().indexOf("msie 5")!=-1;this.i...
-1&&navigator.userAgent.toLowerCase().indexOf("opera")==-1)&&navigator.userAgent.toLowerCase().indexOf("msie 6")!=-1;this.isGecko=navigator.userAgent.toLowerCase().indexOf("gecko")!=-1;this.isIEMobile=navigator.userAgent.toLowerCase().indexOf("msie 4")!=-1||navigator.userAgent.toLowerCase().indexOf("msie 5")!=-1;this.i...
-1&&navigator.userAgent.toLowerCase().indexOf("opera")==-1)&&navigator.userAgent.toLowerCase().indexOf("msie 6")!=-1;this.isGecko=navigator.userAgent.toLowerCase().indexOf("gecko")!=-1;this.isIEMobile=navigator.userAgent.toLowerCase().indexOf("msie 4")!=-1||navigator.userAgent.toLowerCase().indexOf("msie 5")!=-1;this.i...
-1||navigator.userAgent.toLowerCase().indexOf("msie 5")!=-1;this.isOpera=window.opera!=="undefined";this.updateDelay=this.isIE?10:51;this.setHtml=function(a,b,f){function l(o,L){var u,q,B;switch(o.nodeType){case 1:u=o.namespaceURI==null?document.createElement(o.nodeName):document.createElementNS(o.namespaceURI,o.nodeNa...
-1||navigator.userAgent.toLowerCase().indexOf("msie 5")!=-1;this.isOpera=typeof window.opera!=="undefined";this.updateDelay=this.isIE?10:51;this.setHtml=function(a,b,f){function l(o,L){var u,q,B;switch(o.nodeType){case 1:u=o.namespaceURI==null?document.createElement(o.nodeName):document.createElementNS(o.namespaceURI,o...
-1||navigator.userAgent.toLowerCase().indexOf("msie 5")!=-1;this.isOpera=window.opera!=="undefined";this.updateDelay=this.isIE?10:51;this.setHtml=function(a,b,f){function l(o,L){var u,q,B;switch(o.nodeType){case 1:u=o.namespaceURI==null?document.createElement(o.nodeName):document.createElementNS(o.namespaceURI,o.nodeNa...
this.updateDelay=this.isIE?10:51;this.setHtml=function(a,b,e){function k(n,K){var u,q,D;switch(n.nodeType){case 1:u=n.namespaceURI==null?document.createElement(n.nodeName):document.createElementNS(n.namespaceURI,n.nodeName);if(n.attributes&&n.attributes.length>0){q=0;for(D=n.attributes.length;q<D;)u.setAttribute(n.attr...
this.updateDelay=this.isIE?10:51;this.setHtml=function(a,b,e){function j(n,J){var u,q,C;switch(n.nodeType){case 1:u=n.namespaceURI==null?document.createElement(n.nodeName):document.createElementNS(n.namespaceURI,n.nodeName);if(n.attributes&&n.attributes.length>0){q=0;for(C=n.attributes.length;q<C;)u.setAttribute(n.attr...
this.updateDelay=this.isIE?10:51;this.setHtml=function(a,b,e){function k(n,K){var u,q,D;switch(n.nodeType){case 1:u=n.namespaceURI==null?document.createElement(n.nodeName):document.createElementNS(n.namespaceURI,n.nodeName);if(n.attributes&&n.attributes.length>0){q=0;for(D=n.attributes.length;q<D;)u.setAttribute(n.attr...
-1;this.isIEMobile=navigator.userAgent.toLowerCase().indexOf("msie 4")!=-1||navigator.userAgent.toLowerCase().indexOf("msie 5")!=-1;this.updateDelay=this.isIE?10:51;this.setHtml=function(a,b,f){function m(o,B){var r,t,C;switch(o.nodeType){case 1:r=o.namespaceURI==null?document.createElement(o.nodeName):document.createE...
-1&&navigator.userAgent.toLowerCase().indexOf("opera")==-1)&&navigator.userAgent.toLowerCase().indexOf("msie 6")!=-1;this.isGecko=navigator.userAgent.toLowerCase().indexOf("gecko")!=-1;this.isIEMobile=navigator.userAgent.toLowerCase().indexOf("msie 4")!=-1||navigator.userAgent.toLowerCase().indexOf("msie 5")!=-1;this.u...
-1;this.isIEMobile=navigator.userAgent.toLowerCase().indexOf("msie 4")!=-1||navigator.userAgent.toLowerCase().indexOf("msie 5")!=-1;this.updateDelay=this.isIE?10:51;this.setHtml=function(a,b,f){function m(o,B){var r,t,C;switch(o.nodeType){case 1:r=o.namespaceURI==null?document.createElement(o.nodeName):document.createE...
if (!lastId) { lastId = lid; pollerId = pollPresence.periodical(pollInterval,MBchat.updateables); if (fullPoll) pollRequest.post(myRequestOptions); } else { lastId = (lastId > lid)? lid : lastId; }
lastId = (lastId > lid)? lid : lastId;
setLastId : function(lid) { if (!lastId) { lastId = lid; pollerId = pollPresence.periodical(pollInterval,MBchat.updateables); if (fullPoll) pollRequest.post(myRequestOptions); } else { lastId = (lastId > lid)? lid : lastId; //set to earliest value } },
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...
WT_DECLARE_WT_MEMBER(1,"WGLWidget",function(r,j){jQuery.data(j,"obj",this);var f=r.WT,l=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(a){if(j.getContext){try{this.ctx=j.getContext("we...
null){j.parentNode.replaceChild(j.firstChild,j);a()}}return this.ctx};this.setLookAtParams=function(a,c,d,g,k){e=a;i=c;m=d;n=g;o=k};this.mouseDragLookAt=function(a,c){if(this.ctx!=null){var d=f.pageCoordinates(c);a=d.x-h.x;d=d.y-h.y;var g=l.create();g[0]=e[0];g[1]=e[4];g[2]=e[8];var k=b.create();b.identity(k);b.transla...
WT_DECLARE_WT_MEMBER(1,"WGLWidget",function(r,j){jQuery.data(j,"obj",this);var f=r.WT,l=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(a){if(j.getContext){try{this.ctx=j.getContext("we...
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(r,j){jQuery.data(j,"obj",this);var f=r.WT,l=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(a){if(j.getContext){try{this.ctx=j.getContext("we...
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(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(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(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...
line = tokenizer.stripComment(line); if (line === 'C') { if (multilineVars.havent_set_length === true) multilineVars.default_length = 0.125; return {type: 'common_time'}; } else if (line === 'C|') { if (multilineVars.havent_set_length === true) multilineVars.default_length = 0.125; return {type: 'cut_time'}; } else if ...
line = tokenizer.stripComment(line); if (line === 'C') { if (multilineVars.havent_set_length === true) multilineVars.default_length = 0.125; return {type: 'common_time'}; } else if (line === 'C|') { if (multilineVars.havent_set_length === true) multilineVars.default_length = 0.125; return {type: 'cut_time'}; } else if ...
this.setMeter = function(line) { line = tokenizer.stripComment(line); if (line === 'C') { if (multilineVars.havent_set_length === true) multilineVars.default_length = 0.125; return {type: 'common_time'}; } else if (line === 'C|') { if (multilineVars.havent_set_length === true) multilineVars.def...
else { var tokens = tokenizer.tokenize(line, 0, line.length); try { var parseNum = function() { var ret = { value: 0, num: "" }; var tok = tokens.shift(); if (tok.token === '(') tok = tokens.shift(); while (1) { if (tok.type !== 'number') throw "Expected top number of meter"; ret.value += parseInt(tok.token); ret.nu...
} return null; };
this.setMeter = function(line) { line = tokenizer.stripComment(line); if (line === 'C') { if (multilineVars.havent_set_length === true) multilineVars.default_length = 0.125; return {type: 'common_time'}; } else if (line === 'C|') { if (multilineVars.havent_set_length === true) multilineVars.def...
var setMeter = function(meter) { meter = tokenizer.stripComment(meter); if (meter === 'C') {
var setMeter = function(line) { line = tokenizer.stripComment(line); if (line === 'C') {
var setMeter = function(meter) { meter = tokenizer.stripComment(meter); if (meter === 'C') { multilineVars.meter = {type: 'common_time'}; multilineVars.havent_set_length = false; } else if (meter === 'C|') { multilineVars.meter = {type: 'cut_time'}; multilineVars.havent_set_length = false; } else ...
multilineVars.havent_set_length = false; } else if (meter === 'C|') {
if (multilineVars.havent_set_length === true) multilineVars.default_length = 1; } else if (line === 'C|') {
var setMeter = function(meter) { meter = tokenizer.stripComment(meter); if (meter === 'C') { multilineVars.meter = {type: 'common_time'}; multilineVars.havent_set_length = false; } else if (meter === 'C|') { multilineVars.meter = {type: 'cut_time'}; multilineVars.havent_set_length = false; } else ...
multilineVars.havent_set_length = false; } else if (meter.length === 0 || meter.toLowerCase() === 'none')
if (multilineVars.havent_set_length === true) multilineVars.default_length = 1; } else if (line.length === 0 || line.toLowerCase() === 'none') {
var setMeter = function(meter) { meter = tokenizer.stripComment(meter); if (meter === 'C') { multilineVars.meter = {type: 'common_time'}; multilineVars.havent_set_length = false; } else if (meter === 'C|') { multilineVars.meter = {type: 'cut_time'}; multilineVars.havent_set_length = false; } else ...
var a = meter.split('/'); if (a.length === 2) multilineVars.meter = {type: 'specified', num: a[0].strip(), den: a[1].strip()};
var tokens = tokenizer.tokenize(line, 0, line.length); try { var parseNum = function() { var ret = { value: 0, num: "" }; var tok = tokens.shift(); if (tok.token === '(') tok = tokens.shift(); while (1) { if (tok.type !== 'number') throw "Expected top number of meter"; ret.value += parseInt(tok.token); ret.num += to...
var setMeter = function(meter) { meter = tokenizer.stripComment(meter); if (meter === 'C') { multilineVars.meter = {type: 'common_time'}; multilineVars.havent_set_length = false; } else if (meter === 'C|') { multilineVars.meter = {type: 'cut_time'}; multilineVars.havent_set_length = false; } else ...
multilineVars.default_length = multilineVars.meter.num/multilineVars.meter.den < 0.75 ? 0.5 : 1; multilineVars.havent_set_length = false;
multilineVars.default_length = totalLength < 0.75 ? 0.5 : 1;
var setMeter = function(meter) { meter = tokenizer.stripComment(meter); if (meter === 'C') { multilineVars.meter = {type: 'common_time'}; multilineVars.havent_set_length = false; } else if (meter === 'C|') { multilineVars.meter = {type: 'cut_time'}; multilineVars.havent_set_length = false; } else ...
} catch (e) { warn(e, line, 0); }
var setMeter = function(meter) { meter = tokenizer.stripComment(meter); if (meter === 'C') { multilineVars.meter = {type: 'common_time'}; multilineVars.havent_set_length = false; } else if (meter === 'C|') { multilineVars.meter = {type: 'cut_time'}; multilineVars.havent_set_length = false; } else ...
if (popupContainer === undefined || popupContainer == null) return;
setMRUdatabases: function() { //return; // alert("set"); // get the popup menu for this list of logins and subgroups // var container = this._currentWindow.document.getElementById("KeeFox_ChangeDB-Button"); var popupContainer = this._currentWindow.document.getElementById("KeeFox_ChangeD...
d.offset.initialize=d.noop},bodyOffset:function(a){var b=a.offsetTop,e=a.offsetLeft;d.offset.initialize();if(d.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(d.curCSS(a,"marginTop",true))||0;e+=parseFloat(d.curCSS(a,"marginLeft",true))||0}return{top:b,left:e}},setOffset:function(a,b,e){if(/static/.test(d.curCSS...
c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,e=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;e+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:e}},setOffset:function(a,b,e){if(/static/.test(c.curCSS...
d.offset.initialize=d.noop},bodyOffset:function(a){var b=a.offsetTop,e=a.offsetLeft;d.offset.initialize();if(d.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(d.curCSS(a,"marginTop",true))||0;e+=parseFloat(d.curCSS(a,"marginLeft",true))||0}return{top:b,left:e}},setOffset:function(a,b,e){if(/static/.test(d.curCSS...