rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
var styleMap = new OpenLayers.StyleMap({'default': new OpenLayers.Style(opts.overlayStyle)}); | var styleMap = new OpenLayers.StyleMap({'default': new OpenLayers.Style(opts.overlayStyle, opts.styleContext)}); | initMap: function(mapDivID, opts) { var mapDiv = document.getElementById(mapDivID); OpenLayers.Util.extend(mapDiv.style, opts.mapDivStyle); mapDiv.className = opts.mapDivClass; var layers = []; for (var i = 0; i < opts.layers.length; i++) { var parts = opts.layers[i].sp... |
$(".selected a").filter(function() { return this.target === frame || !this.target; }) | jQuery(".selected a").filter(function() { return this.target === frame || !this.target; }) | var initn2context = function(w) { if (w.n2ctx) return w.n2ctx; try { if (w.name != "top" && w != w.parent) { w.n2ctx = initn2context(w.parent); return w.n2ctx; } } catch (e) { } w.n2ctx = { selectedPath: "/", _path: "/", selectedUrl: null, memorizedPath: null, actionType: null, // whether there is a top fr... |
options = jQuery.extend({ previewUrl: null, navigationUrl: null, force: true }, options); | options = jQuery.extend({ previewUrl: null, navigationUrl: null, force: true, showPreview: function() { var previewFrame = w.document.getElementById("previewFrame"); previewFrame.src = this.previewUrl; }, showNavigation: function(ctx) { var navigationFrame = w.document.getElementById("navigationFrame"); navigationFrame... | var initn2context = function(w) { if (w.n2ctx) return w.n2ctx; try { if (w.name != "top" && w != w.parent) { w.n2ctx = initn2context(w.parent); return w.n2ctx; } } catch (e) { } w.n2ctx = { selectedPath: "/", _path: "/", selectedUrl: null, memorizedPath: null, actionType: null, // whether there is a top fr... |
var previewFrame = w.document.getElementById("previewFrame"); previewFrame.src = options.previewUrl; | if (w.frames.preview && w.frames.preview.onPreviewing) w.frames.preview.onPreviewing(options); options.showPreview(); | var initn2context = function(w) { if (w.n2ctx) return w.n2ctx; try { if (w.name != "top" && w != w.parent) { w.n2ctx = initn2context(w.parent); return w.n2ctx; } } catch (e) { } w.n2ctx = { selectedPath: "/", _path: "/", selectedUrl: null, memorizedPath: null, actionType: null, // whether there is a top fr... |
var navigationFrame = w.document.getElementById("navigationFrame"); navigationFrame.src = this.append(options.navigationUrl, { location: this.location }); | if (w.frames.navigation && w.frames.navigation.onNavigating) w.frames.navigation.onNavigating(options); options.showNavigation(this); | var initn2context = function(w) { if (w.n2ctx) return w.n2ctx; try { if (w.name != "top" && w != w.parent) { w.n2ctx = initn2context(w.parent); return w.n2ctx; } } catch (e) { } w.n2ctx = { selectedPath: "/", _path: "/", selectedUrl: null, memorizedPath: null, actionType: null, // whether there is a top fr... |
$("a.command").click(function(e) { | $(".command a").click(function(e) { | var initn2context = function(w) { if (w.n2ctx) return w.n2ctx; try { if (w.name != "top" && w != w.parent) { w.n2ctx = initn2context(w.parent); return w.n2ctx; } } catch (e) { } w.n2ctx = { selectedPath: "/", _path: "/", selectedUrl: null, memorizedPath: null, actionType: null, // whether there is a top fr... |
* Called when store is loaded | * Called after store is loaded | TYPO3.Newsletter.Store.initNewsletterList = function() { return new Ext.data.JsonStore({ storeId: 'newsletterList', autoLoad: true, remoteSort: true, baseParams: { pid: TYPO3.Devlog.Data.Parameters.pid, M: 'web_NewsletterTxNewsletterM1', 'tx_newsletter_web_newslettertxnewsletterm1[controller]': 'Statistic', ... |
maxResolution: 156543.0339, | initOptions: function(options) { var defaults = { mapOptions: { units: 'm', maxResolution: 156543.0339, projection: "EPSG:900913", displayProjection: "EPSG:4326", maxExtent: [-20037508.34, -20037508.34, 20037508.34, 2003750... | |
console.log(c); | initPanel: function() { var c = menu.getContentNodeForEntry(menu.getEntry(0)); console.log(c); var d = new Element('div', {id: this.plugin_id + '_automatic_div'}).setStyle({width: '90%'}); var sc = new Element('div', {id: 'sel_count_div'}).addClassName('largy').update('Please make a selection of image selections:'... | |
* Called when store is loaded | * Fired after the store is loaded. * The event's name is a bit missleading as the event is fired after load. | TYPO3.Newsletter.Store.initStatistic = function() { return new Ext.data.JsonStore({ storeId: 'statistic', autoLoad: false, remoteSort: true, baseParams: { pid: TYPO3.Devlog.Data.Parameters.pid, M: 'web_NewsletterTxNewsletterM1', 'tx_newsletter_web_newslettertxnewsletterm1[controller]': 'Statistic', 'tx_new... |
* @event TYPO3.Newsletter.Store.Statistic.afterload | * @event load | TYPO3.Newsletter.Store.initStatistic = function() { return new Ext.data.JsonStore({ storeId: 'statistic', autoLoad: false, remoteSort: true, baseParams: { pid: TYPO3.Devlog.Data.Parameters.pid, M: 'web_NewsletterTxNewsletterM1', 'tx_newsletter_web_newslettertxnewsletterm1[controller]': 'Statistic', 'tx_new... |
'TYPO3.Newsletter.Store.Statistic.load': function(uid) { | 'TYPO3.Newsletter.Store.Statistic.beforeload': function(uid) { TYPO3.Newsletter.Application.fireEvent('TYPO3.Newsletter.Application.beforeload'); | TYPO3.Newsletter.Store.initStatistic = function() { return new Ext.data.JsonStore({ storeId: 'statistic', autoLoad: false, remoteSort: true, baseParams: { pid: TYPO3.Devlog.Data.Parameters.pid, M: 'web_NewsletterTxNewsletterM1', 'tx_newsletter_web_newslettertxnewsletterm1[controller]': 'Statistic', 'tx_new... |
TYPO3.Newsletter.Application.fireEvent('TYPO3.Newsletter.Application.afterload'); | TYPO3.Newsletter.Application.fireEvent('TYPO3.Newsletter.Application.afterbusy'); | TYPO3.Newsletter.Store.initStatistic = function() { return new Ext.data.JsonStore({ storeId: 'statistic', autoLoad: false, remoteSort: true, baseParams: { pid: TYPO3.Devlog.Data.Parameters.pid, M: 'web_NewsletterTxNewsletterM1', 'tx_newsletter_web_newslettertxnewsletterm1[controller]': 'Statistic', 'tx_new... |
TYPO3.Newsletter.Application.fireEvent('TYPO3.Newsletter.Application.beforeload'); | TYPO3.Newsletter.Application.fireEvent('TYPO3.Newsletter.Application.beforebusy'); | TYPO3.Newsletter.Store.initStatistic = function() { return new Ext.data.JsonStore({ storeId: 'statistic', autoLoad: false, remoteSort: true, baseParams: { pid: TYPO3.Devlog.Data.Parameters.pid, M: 'web_NewsletterTxNewsletterM1', 'tx_newsletter_web_newslettertxnewsletterm1[controller]': 'Statistic', 'tx_new... |
* The event's name is a bit missleading as the event is fired after load. | * The event's name is a bit missleading as the event is fired after loading. | TYPO3.Newsletter.Store.initStatistic = function() { return new Ext.data.JsonStore({ storeId: 'statistic', autoLoad: false, remoteSort: true, baseParams: { pid: TYPO3.Devlog.Data.Parameters.pid, M: 'web_NewsletterTxNewsletterM1', 'tx_newsletter_web_newslettertxnewsletterm1[controller]': 'Statistic', 'tx_new... |
* @event TYPO3.Newsletter.Store.Statistic.beforeload | * @event TYPO3.Newsletter.Store.Statistic.load | TYPO3.Newsletter.Store.initStatistic = function() { return new Ext.data.JsonStore({ storeId: 'statistic', autoLoad: false, remoteSort: true, baseParams: { pid: TYPO3.Devlog.Data.Parameters.pid, M: 'web_NewsletterTxNewsletterM1', 'tx_newsletter_web_newslettertxnewsletterm1[controller]': 'Statistic', 'tx_new... |
'TYPO3.Newsletter.Store.Statistic.beforeload': function(uid) { TYPO3.Newsletter.Application.fireEvent('TYPO3.Newsletter.Application.beforebusy'); | 'TYPO3.Newsletter.Store.Statistic.load': function(uid) { TYPO3.Newsletter.Application.fireEvent('TYPO3.Newsletter.Application.busy'); | TYPO3.Newsletter.Store.initStatistic = function() { return new Ext.data.JsonStore({ storeId: 'statistic', autoLoad: false, remoteSort: true, baseParams: { pid: TYPO3.Devlog.Data.Parameters.pid, M: 'web_NewsletterTxNewsletterM1', 'tx_newsletter_web_newslettertxnewsletterm1[controller]': 'Statistic', 'tx_new... |
var defStyle = Calendar._STYLES; | var defStyle = Calendar.STYLES; | initStyles : function() { var defStyle = Calendar._STYLES; this.Style = { /** * @property Style.CSS_ROW_HEADER */ CSS_ROW_HEADER: defStyle.CSS_ROW_HEADER, /** * @property Style.CSS_ROW_FOOTER */ CSS_ROW_FOOTER: defStyle.CSS_ROW_FOOTER, /** * @property Style.CSS_CELL */ CSS_CELL : defStyle.CSS... |
this.Style = { CSS_ROW_HEADER: defStyle.CSS_ROW_HEADER, CSS_ROW_FOOTER: defStyle.CSS_ROW_FOOTER, CSS_CELL : defStyle.CSS_CELL, CSS_CELL_SELECTOR : defStyle.CSS_CELL_SELECTOR, CSS_CELL_SELECTED : defStyle.CSS_CELL_SELECTED, CSS_CELL_SELECTABLE : defStyle.CSS_CELL_SELECTABLE, CSS_CELL_RESTRICTED : defStyle.CSS_CEL... | this.Style = { CSS_ROW_HEADER: defStyle.CSS_ROW_HEADER, CSS_ROW_FOOTER: defStyle.CSS_ROW_FOOTER, CSS_CELL : defStyle.CSS_CELL, CSS_CELL_SELECTOR : defStyle.CSS_CELL_SELECTOR, CSS_CELL_SELECTED : defStyle.CSS_CELL_SELECTED, CSS_CELL_SELECTABLE : defStyle.CSS_CELL_SELECTABLE, CSS_CELL_RESTRICTED : defStyle.CSS_CEL... | initStyles : function() { var defStyle = Calendar._STYLES; this.Style = { /** * @property Style.CSS_ROW_HEADER */ CSS_ROW_HEADER: defStyle.CSS_ROW_HEADER, /** * @property Style.CSS_ROW_FOOTER */ CSS_ROW_FOOTER: defStyle.CSS_ROW_FOOTER, /** * @property Style.CSS_CELL */ CSS_CELL : defStyle.CSS... |
G.addProperty(B.WEEKDAYS_MEDIUM.key,{value:B.WEEKDAYS_MEDIUM.value,handler:this.configLocale});G.addProperty(B.WEEKDAYS_LONG.key,{value:B.WEEKDAYS_LONG.value,handler:this.configLocale});var H=function(){G.refireEvent(B.LOCALE_MONTHS.key);G.refireEvent(B.LOCALE_WEEKDAYS.key);};G.subscribeToConfigEvent(B.START_WEEKDAY.ke... | G.addProperty(B.NAV_ARROW_RIGHT.key,{value:B.NAV_ARROW_RIGHT.value,handler:this.configOptions});G.addProperty(B.MONTHS_SHORT.key,{value:B.MONTHS_SHORT.value,handler:this.configLocale});G.addProperty(B.MONTHS_LONG.key,{value:B.MONTHS_LONG.value,handler:this.configLocale});G.addProperty(B.WEEKDAYS_1CHAR.key,{value:B.WEEK... | G.addProperty(B.WEEKDAYS_MEDIUM.key,{value:B.WEEKDAYS_MEDIUM.value,handler:this.configLocale});G.addProperty(B.WEEKDAYS_LONG.key,{value:B.WEEKDAYS_LONG.value,handler:this.configLocale});var H=function(){G.refireEvent(B.LOCALE_MONTHS.key);G.refireEvent(B.LOCALE_WEEKDAYS.key);};G.subscribeToConfigEvent(B.START_WEEKDAY.ke... |
if(!this.getBaseSettings().smtpConfig.scan) { Ext.getCmp('spamassassin_smtpStrengthValue').disable(); } if(!this.getBaseSettings().popConfig.scan) { Ext.getCmp('spamassassin_pop3StrengthValue').disable(); } if(!this.getBaseSettings().imapConfig.scan) { Ext.getCmp('spamassassin_imapStrengthValue').disable(); } | initSubCmps : function() { Ext.getCmp('spamassassin_smtpStrengthValue').setContainerVisible(this.isCustomStrength(this.getBaseSettings().smtpConfig.strength)); Ext.getCmp('spamassassin_pop3StrengthValue').setContainerVisible(this.isCustomStrength(this.getBaseSettings().popConfig.strength))... | |
bands[x].syncWith = (x-1); | bands[x].syncWith = 0; | TimeMap.prototype.initTimeline = function(bands) { var tm = this, x, painter; // synchronize & highlight timeline bands for (x=1; x < bands.length; x++) { if (tm.opts.syncBands) { bands[x].syncWith = (x-1); } bands[x].highlight = true; } /** * The assoc... |
var painter = this.timeline.getBand(0).getEventPainter().constructor; painter.prototype._showBubble = function(x, y, evt) { evt.item.openInfoWindow(); }; | for (x=0; x < tm.timeline.getBandCount(); x++) { var painter = this.timeline.getBand(x).getEventPainter().constructor; painter.prototype._showBubble = function(xx, yy, evt) { evt.item.openInfoWindow(); }; } | TimeMap.prototype.initTimeline = function(bands) { // synchronize & highlight timeline bands for (var x=1; x < bands.length; x++) { if (this.opts.syncBands) { bands[x].syncWith = (x-1); } bands[x].highlight = true; } /** * The associated timeline object * @t... |
$("a.command").click(function(e) { | $(".command a").click(function(e) { | initToolbar: function() { $("a.command").click(function(e) { if (this.hash == "#stop") e.preventDefault(); }); }, |
'/XCESC-GUI-logic/feed.xql' | '/js/jshash-2.2/md5-min.js', '/js/loginLogic.js', '/js/blogFeedBox.js' | function InitXCESC() { var JSDEPS=new Array( '/XCESC-GUI-logic/feed.xql' ); WidgetCommon.widgetCommonInit(JSDEPS,undefined,'');} |
WidgetCommon.widgetCommonInit(JSDEPS,undefined,''); | WidgetCommon.widgetCommonInit(JSDEPS,function() { var container = document.getElementById('rightSideContainer'); try { var loginBox = new LoginBox(container); } catch(e) { WidgetCommon.DebugMSG(e); } var contentId = 'news_content'; try { var feedBox = new BlogFeedBox(container, contentId, function(html){ var news = Wi... | function InitXCESC() { var JSDEPS=new Array( '/XCESC-GUI-logic/feed.xql' ); WidgetCommon.widgetCommonInit(JSDEPS,undefined,'');} |
var menuEl, menuAccessKeys = []; | var menuEl; | $self.insertSnippet = function(view, abbreviation, snippet) { var scimoz = view.scimoz, insert = function(snippet) { // Call Komodo's built-in functions try { Snippet_insert(snippet); } catch (e) { $toolkit.include('debug'); ko.dialogs.alert($toolkit.l10n('htmltoolkit').GetStringFromName('uncaughtE... |
itemAccessKey = (i + 1); | itemAccessKey; | $self.insertSnippet = function(view, abbreviation, snippet) { var scimoz = view.scimoz, insert = function(snippet) { // Call Komodo's built-in functions try { Snippet_insert(snippet); } catch (e) { $toolkit.include('debug'); ko.dialogs.alert($toolkit.l10n('htmltoolkit').GetStringFromName('uncaughtE... |
for (var j = 0; j < availableSnippets[i].name.length; j ++) { | if (i < 9) itemAccessKey = i + 1; else if (i === 9) itemAccessKey = 0; else itemAccessKey = String.fromCharCode('A'.charCodeAt(0) + (i - 9)); | $self.insertSnippet = function(view, abbreviation, snippet) { var scimoz = view.scimoz, insert = function(snippet) { // Call Komodo's built-in functions try { Snippet_insert(snippet); } catch (e) { $toolkit.include('debug'); ko.dialogs.alert($toolkit.l10n('htmltoolkit').GetStringFromName('uncaughtE... |
var currentKey = availableSnippets[i].name.charAt(j); if (menuAccessKeys.indexOf(currentKey) < 0) { itemAccessKey = currentKey.toUpperCase(); menuAccessKeys.push(currentKey); break; } } itemEl.setAttribute('label', itemAccessKey + ' ' + availableSnippets[i].name); | itemEl.setAttribute('class', 'menuitem-iconic'); itemEl.setAttribute('image', 'chrome: itemEl.setAttribute('label', availableSnippets[i].name); itemEl.setAttribute('acceltext', itemAccessKey); | $self.insertSnippet = function(view, abbreviation, snippet) { var scimoz = view.scimoz, insert = function(snippet) { // Call Komodo's built-in functions try { Snippet_insert(snippet); } catch (e) { $toolkit.include('debug'); ko.dialogs.alert($toolkit.l10n('htmltoolkit').GetStringFromName('uncaughtE... |
var menuPosition = Math.max(scimoz.anchor, scimoz.currentPos), isContextMenu, attributesOverride; | var menuAnchor = Math.min(scimoz.anchor, scimoz.currentPos), menuPosition = Math.max(scimoz.anchor, scimoz.currentPos), isContextMenu; | $self.insertSnippet = function(view, abbreviation, snippet) { var scimoz = view.scimoz, insert = function(snippet) { // Call Komodo's built-in functions try { Snippet_insert(snippet); } catch (e) { $toolkit.include('debug'); ko.dialogs.alert($toolkit.l10n('htmltoolkit').GetStringFromName('uncaughtE... |
menuEl.openPopup(view.scintilla, 'before_start', view.boxObject.x + scimoz.pointXFromPosition(menuPosition), view.boxObject.y + scimoz.pointYFromPosition(menuPosition) + scimoz.textHeight(scimoz.lineFromPosition(menuPosition)), isContextMenu = true, attributesOverride = false); menuEl.focus(); | menuEl.openPopupAtScreen(view.boxObject.screenX + scimoz.pointXFromPosition(menuAnchor) - 1, view.boxObject.screenY + scimoz.pointYFromPosition(menuPosition) + scimoz.textHeight(scimoz.lineFromPosition(menuPosition) - 1), isContextMenu = true); | $self.insertSnippet = function(view, abbreviation, snippet) { var scimoz = view.scimoz, insert = function(snippet) { // Call Komodo's built-in functions try { Snippet_insert(snippet); } catch (e) { $toolkit.include('debug'); ko.dialogs.alert($toolkit.l10n('htmltoolkit').GetStringFromName('uncaughtE... |
},_replaceClass:function(y,x){var Y,AB,AA,G=false,z;if(y&&x){AB=x.from;AA=x.to;if(!AA){G=false;}else{if(!AB){G=E.Dom._addClass(y,x.to);}else{if(AB!==AA){z=E.Dom.getAttribute(y,F)||J;Y=(B+z.replace(E.Dom._getClassRegex(AB),B+AA)).split(E.Dom._getClassRegex(AA));Y.splice(1,0,B+AA);E.Dom.setAttribute(y,F,A(Y.join(J)));G=t... | this.width=this.right-this.left;this.height=this.bottom-this.top;};YAHOO.util.Region.prototype.contains=function(A){return(A.left>=this.left&&A.right<=this.right&&A.top>=this.top&&A.bottom<=this.bottom);};YAHOO.util.Region.prototype.getArea=function(){return((this.bottom-this.top)*(this.right-this.left));};YAHOO.util.R... | },_replaceClass:function(y,x){var Y,AB,AA,G=false,z;if(y&&x){AB=x.from;AA=x.to;if(!AA){G=false;}else{if(!AB){G=E.Dom._addClass(y,x.to);}else{if(AB!==AA){z=E.Dom.getAttribute(y,F)||J;Y=(B+z.replace(E.Dom._getClassRegex(AB),B+AA)).split(E.Dom._getClassRegex(AA));Y.splice(1,0,B+AA);E.Dom.setAttribute(y,F,A(Y.join(J)));G=t... |
},_replaceClass:function(y,x){var Y,AB,AA,G=false,z;if(y&&x){AB=x.from;AA=x.to;if(!AA){G=false;}else{if(!AB){G=E.Dom._addClass(y,x.to);}else{if(AB!==AA){z=E.Dom.getAttribute(y,F)||J;Y=(B+z.replace(E.Dom._getClassRegex(AB),B+AA)).split(E.Dom._getClassRegex(AA));Y.splice(1,0,B+AA);E.Dom.setAttribute(y,F,A(Y.join(J)));G=t... | this.width=this.right-this.left;this.height=this.bottom-this.top;};YAHOO.util.Region.prototype.contains=function(A){return(A.left>=this.left&&A.right<=this.right&&A.top>=this.top&&A.bottom<=this.bottom);};YAHOO.util.Region.prototype.getArea=function(){return((this.bottom-this.top)*(this.right-this.left));};YAHOO.util.R... | },_replaceClass:function(y,x){var Y,AB,AA,G=false,z;if(y&&x){AB=x.from;AA=x.to;if(!AA){G=false;}else{if(!AB){G=E.Dom._addClass(y,x.to);}else{if(AB!==AA){z=E.Dom.getAttribute(y,F)||J;Y=(B+z.replace(E.Dom._getClassRegex(AB),B+AA)).split(E.Dom._getClassRegex(AA));Y.splice(1,0,B+AA);E.Dom.setAttribute(y,F,A(Y.join(J)));G=t... |
$.ajax({ url:url, type:type, dataType:'json', timeout:timeout, data:data, success:function(resp) | var xhr = Titanium.Network.createHTTPClient(); xhr.onreadystatechange = function() { if (this.readyState == 4) | TiDev.invokeCloudService = function(name,data,type,sCallback,fCallback){ // if offline, don't attempt if (Titanium.Network.online == false) { $('#tiui_cloud_on').css('display','none'); $('#tiui_cloud_off').css('display','inline'); if (typeof(fCallback) == 'function') { fCallback({offline:true}); } return; } va... |
$('#tiui_cloud_on').css('display','inline'); $('#tiui_cloud_off').css('display','none'); if (typeof(sCallback) == 'function') { sCallback(resp); } if (name == 'sso-login') { xhrAuth(data); } }, error:function(resp,ex) { $('#tiui_cloud_on').css('display','none'); $('#tiui_cloud_off').css('display','inline'); if (t... | var resp = swiss.evalJSON(this.responseText); if (this.status == 200) { $('#tiui_cloud_on').css('display','inline'); $('#tiui_cloud_off').css('display','none'); if (typeof(sCallback) == 'function') { sCallback(resp); } if (name == 'sso-login') { xhrAuth(data); } } else { $('#tiui_cloud_on').css('display','none');... | TiDev.invokeCloudService = function(name,data,type,sCallback,fCallback){ // if offline, don't attempt if (Titanium.Network.online == false) { $('#tiui_cloud_on').css('display','none'); $('#tiui_cloud_off').css('display','inline'); if (typeof(fCallback) == 'function') { fCallback({offline:true}); } return; } va... |
}); | }; xhr.open(type,url); var qs = ''; for (var p in data) { var v = typeof(data[p])=='undefined' ? '' : String(data[p]); qs+=p+'='+encodeURIComponent(v)+'&'; } xhr.send(qs); | TiDev.invokeCloudService = function(name,data,type,sCallback,fCallback){ // if offline, don't attempt if (Titanium.Network.online == false) { $('#tiui_cloud_on').css('display','none'); $('#tiui_cloud_off').css('display','inline'); if (typeof(fCallback) == 'function') { fCallback({offline:true}); } return; } va... |
$.ajax({ url:u, type:'POST', dataType:'json', timeout:10000, data:d, success:function(resp) | var xhr = Titanium.Network.createHTTPClient(); xhr.onreadystatechange = function() { if (this.readyState == 4) | TiDev.invokeCloudService = function(name,data,type,sCallback,fCallback){ // if offline, don't attempt if (Titanium.Network.online == false) { $('#tiui_cloud_on').css('display','none'); $('#tiui_cloud_off').css('display','inline'); if (typeof(fCallback) == 'function') { fCallback({offline:true}); } return; } va... |
if (resp.success == true) { Projects.userSID = resp.sid; Projects.userToken = resp.token; Projects.userUID = resp.uid; Projects.userUIDT = resp.uidt; TiDev.isCommunity = resp.community; TiDev.setAdURLs(); TiDev.setPermissions(resp.permissions); TiDev.attributes = resp.attributes; if (UserProfile) UserProfile.update... | if (this.status == 200) { var resp = swiss.evalJSON(this.responseText); if (resp.success == true) { Projects.userSID = resp.sid; Projects.userToken = resp.token; Projects.userUID = resp.uid; Projects.userUIDT = resp.uidt; TiDev.isCommunity = resp.community; TiDev.setAdURLs(); TiDev.setPermissions(resp.permissions);... | TiDev.invokeCloudService = function(name,data,type,sCallback,fCallback){ // if offline, don't attempt if (Titanium.Network.online == false) { $('#tiui_cloud_on').css('display','none'); $('#tiui_cloud_off').css('display','inline'); if (typeof(fCallback) == 'function') { fCallback({offline:true}); } return; } va... |
$('#tiui_shield_off').css('display','none'); $('#tiui_shield_on').css('display','inline'); xhrAuth(d); runIt(); return; } else { | TiDev.invokeCloudService = function(name,data,type,sCallback,fCallback){ // if offline, don't attempt if (Titanium.Network.online == false) { $('#tiui_cloud_on').css('display','none'); $('#tiui_cloud_off').css('display','inline'); if (typeof(fCallback) == 'function') { fCallback({offline:true}); } return; } va... | |
} }, error:function(resp) { $('#tiui_shield_on').css('display','none'); $('#tiui_shield_off').css('display','inline'); TiDev.setConsoleMessage(TiDev.cloudRequestRejected,5000); | } | TiDev.invokeCloudService = function(name,data,type,sCallback,fCallback){ // if offline, don't attempt if (Titanium.Network.online == false) { $('#tiui_cloud_on').css('display','none'); $('#tiui_cloud_off').css('display','inline'); if (typeof(fCallback) == 'function') { fCallback({offline:true}); } return; } va... |
}); | }; xhr.open('POST',u); var qs = ''; for (var p in data) { var v = typeof(data[p])=='undefined' ? '' : String(data[p]); qs+=p+'='+encodeURIComponent(v)+'&'; } xhr.send(qs); | TiDev.invokeCloudService = function(name,data,type,sCallback,fCallback){ // if offline, don't attempt if (Titanium.Network.online == false) { $('#tiui_cloud_on').css('display','none'); $('#tiui_cloud_off').css('display','inline'); if (typeof(fCallback) == 'function') { fCallback({offline:true}); } return; } va... |
$('#tiui_happy_on').css('display','none'); $('#tiui_happy_off').css('display','inline'); | TiDev.invokeCloudService = function(name,data,type,sCallback,fCallback){ // if offline, don't attempt if (Titanium.Network.online == false) { $('#tiui_cloud_on').css('display','none'); $('#tiui_cloud_off').css('display','inline'); if (typeof(fCallback) == 'function') { fCallback({offline:true}); } return; } va... | |
return !(strength == 50 || strength == 43 || strength == 35 || strength == 33 || strength == 30) | return !(strength == 50 || strength == 43 || strength == 35 || strength == 33 || strength == 30); | isCustomStrength : function(strength) { return !(strength == 50 || strength == 43 || strength == 35 || strength == 33 || strength == 30) }, |
return !Ung.Util.equals(this.getLanguageSettings(), this.initialLanguageSettings) || !Ung.Util.equals(this.getTimeZone(), this.initialTimeZone) || !Ung.Util.equals(this.getAccessSettings(), this.initialAccessSettings) || !Ung.Util.equals(this.getMiscSettings(), this.initialMiscSettings) || this.isHttpLoaded() && !Ung.U... | if (this.record !== null) { if (this.inputLines) { for (var i = 0; i < this.inputLines.length; i++) { var inputLine = this.inputLines[i]; if(inputLine instanceof Ext.form.Field) { if (this.record.get(inputLine.dataIndex) != inputLine.getValue()) { return true; } } else if (inputLine instanceof Ext.Panel) { for (var j =... | isDirty : function() { return !Ung.Util.equals(this.getLanguageSettings(), this.initialLanguageSettings) || !Ung.Util.equals(this.getTimeZone(), this.initialTimeZone) || !Ung.Util.equals(this.getAccessSettings(), this.initialAccessSettings) || !Ung.Util.eq... |
|| !Ung.Util.equals(this.pageParameters, this.initialPageParameters ) | isDirty : function() { return !Ung.Util.equals(this.getBaseSettings(), this.initialBaseSettings) || this.gridCaptureRules.isDirty() || this.gridPassedClients.isDirty() || this.gridPassedServers.isDirty(); } | |
return OP.toString.apply(o) === FUNCTION_TOSTRING; | return (typeof o === 'function') || OP.toString.apply(o) === FUNCTION_TOSTRING; | isFunction: function(o) { return OP.toString.apply(o) === FUNCTION_TOSTRING; }, |
var checkbox = $("input.fuzzycheck"); var checked = checkbox.attr("checked"); if (checked == undefined || checked == false) { return false; } else { return true; } | return !!$("input.fuzzycheck").attr("checked"); | isFuzzy: function() { var checkbox = $("input.fuzzycheck"); var checked = checkbox.attr("checked"); if (checked == undefined || checked == false) { return false; } else { return true; } }, |
return (obj instanceof BiwaScheme.Pair); | if(obj === BiwaScheme.nil) return true; if(!(obj instanceof BiwaScheme.Pair)) return false; return BiwaScheme.isList(obj.cdr); | BiwaScheme.isList = function(obj){ return (obj instanceof BiwaScheme.Pair); // should check it is proper and not cyclic..}; |
if(e.keyCode === 27){ $options.trigger('close'); | switch(e.keyCode){ case 27: case 38: $options.trigger('close'); break; case 40: case 0: $options.trigger('toggle'); break; | keypress: function(e){ if(e.keyCode === 27){ // esc $options.trigger('close'); }; }, |
}; | } | keypress: function(e){ switch(e.keyCode){ case 27: // esc case 38: // up $options.trigger('close'); break; case 40: // down case 0: // space $options.trigger('toggle'); break; }; }, |
this.setPanoramaBasedOnAnchor(this.anchors[index]); | this.panorama.set(index, false); | keyScroll: function(event) { switch (event.keyCode) { case FixedPanorama.Keys.ScrollUp: var index = this.clampIndex(this.currentIndex - 1); this.setPanoramaBasedOnAnchor(this.anchors[index]); break; case FixedPanorama.Keys.ScrollDown: ... |
case 9: $options.trigger('close'); $select.next(':input').focus(); break; | keyup: function(e){ switch(e.keyCode){ case 9: // tab $options.trigger('close'); $select.next(':input').focus(); break; case 27: // esc $options.trigger('close'); break; case 38: // up case 40: // down case 37: // left case 39: // right $options.trigger('tr... | |
}; | } | keyup: function(e){ switch(e.keyCode){ case 27: // esc $options.trigger('close'); break; case 38: // up case 40: // down case 37: // left case 39: // right $options.trigger('traverse', [this, e.keyCode]); break; case 13: // enter e.preventDefault(); $(t... |
options.format = OpenLayers.Format.KML; options.projection = 'EPSG:4326'; | Drupal.openlayers.layer.kml = function(title, map, options) { // Get styles var styleMap = Drupal.openlayers.getStyleMap(map, options.drupalID); // Format options if (options.maxExtent !== undefined) { options.maxExtent = OpenLayers.Bounds.fromArray(options.maxExtent); } options.format = OpenLayers.Format.KM... | |
var layer = new OpenLayers.Layer.GML(title, options.url, options); | var layer = new OpenLayers.Layer.Vector( title, { strategies: [new OpenLayers.Strategy.Fixed()], protocol: new OpenLayers.Protocol.HTTP({ url: options.url, format: new OpenLayers.Format.KML({ extractStyles: true, extractAttributes: true }) }) } ); | Drupal.openlayers.layer.kml = function(title, map, options) { // Get styles var styleMap = Drupal.openlayers.getStyleMap(map, options.drupalID); // Format options if (options.maxExtent !== undefined) { options.maxExtent = OpenLayers.Bounds.fromArray(options.maxExtent); } options.format = OpenLayers.Format.KM... |
if (options.maxExtent !== undefined) { options.maxExtent = OpenLayers.Bounds.fromArray(options.maxExtent); } | Drupal.openlayers.layer.kml = function(title, map, options) { // Get styles var styleMap = Drupal.openlayers.getStyleMap(map, options.drupalID); // Format options if (options.maxExtent !== undefined) { options.maxExtent = OpenLayers.Bounds.fromArray(options.maxExtent); } // Create layer var layer = new Open... | |
options.projection = 'EPSG:' + options.projection; | Drupal.openlayers.layer.kml = function(title, map, options) { // Get styles var styleMap = Drupal.openlayers.getStyleMap(map, options.drupalID); // Format options if (options.maxExtent !== undefined) { options.maxExtent = OpenLayers.Bounds.fromArray(options.maxExtent); } // Create layer var layer = new Open... | |
{ | $.extend(options, { | Drupal.openlayers.layer.kml = function(title, map, options) { // Get styles var styleMap = Drupal.openlayers.getStyleMap(map, options.drupalID); // Format options if (options.maxExtent !== undefined) { options.maxExtent = OpenLayers.Bounds.fromArray(options.maxExtent); } // Create layer var layer = new Open... |
} | }) | Drupal.openlayers.layer.kml = function(title, map, options) { // Get styles var styleMap = Drupal.openlayers.getStyleMap(map, options.drupalID); // Format options if (options.maxExtent !== undefined) { options.maxExtent = OpenLayers.Bounds.fromArray(options.maxExtent); } // Create layer var layer = new Open... |
var layer = new OpenLayers.Layer.GML('KML', options.url, options); | var layer = new OpenLayers.Layer.GML(name, options.url, options); | Drupal.openlayers.layer.kml = function(name, map, options) { // Get styles var styleMap = Drupal.openlayers.getStyleMap(map, name); // Format options if (options.maxExtent !== undefined) { options.maxExtent = OpenLayers.Bounds.fromArray(options.maxExtent) || new OpenLayers.Bounds(-20037508.34, -20037508.34, 20... |
options.maxExtent = OpenLayers.Bounds.fromArray(options.maxExtent) || new OpenLayers.Bounds(-20037508.34, -20037508.34, 20037508.34, 20037508.34); | options.maxExtent = OpenLayers.Bounds.fromArray(options.maxExtent); | Drupal.openlayers.layer.kml = function(name, map, options) { // Get styles var styleMap = Drupal.openlayers.getStyleMap(map, name); // Format options if (options.maxExtent !== undefined) { options.maxExtent = OpenLayers.Bounds.fromArray(options.maxExtent) || new OpenLayers.Bounds(-20037508.34, -20037508.34, 20... |
options.formatOptions = {extractStyles: true, extractAttributes: true}; var layer_projection = options.custom_projection || options.projection; options.projection = new OpenLayers.Projection('EPSG:' + layer_projection); | options.projection = new OpenLayers.Projection('EPSG:4326'); | Drupal.openlayers.layer.kml = function(name, map, options) { // Get styles var styleMap = Drupal.openlayers.getStyleMap(map, name); // Format options if (options.maxExtent !== undefined) { options.maxExtent = OpenLayers.Bounds.fromArray(options.maxExtent) || new OpenLayers.Bounds(-20037508.34, -20037508.34, 20... |
}, | } | label: function(feature) { return (feature.cluster && feature.cluster.length > 1) ? feature.cluster.length : ''; }, |
if (!L.isArray(d)) { | if (d && !L.isArray(d)) { | later: function(when, o, fn, data, periodic) { when = when || 0; o = o || {}; var m=fn, d=data, f, r; if (L.isString(fn)) { m = o[fn]; } if (!m) { throw new TypeError("method undefined"); } if (!L.isArray(d)) { d = [data]; ... |
m.apply(o, d); | m.apply(o, d || NOTHING); | later: function(when, o, fn, data, periodic) { when = when || 0; o = o || {}; var m=fn, d=data, f, r; if (L.isString(fn)) { m = o[fn]; } if (!m) { throw new TypeError("method undefined"); } if (!L.isArray(d)) { d = [data]; ... |
this.grouper = new WireIt.Grouper(this, this.options.grouper.baseConfigFunction); | if(WireIt.Grouper) { this.grouper = new WireIt.Grouper(this, this.options.grouper.baseConfigFunction); | WireIt.Layer = function(options) { this.setOptions(options); /** * List of all the WireIt.Container (or subclass) instances in this layer * @property containers * @type {Array} */ this.containers = []; /** * List of all the WireIt.Wire (or subclass) instances in this layer * @property... |
var rb = this.grouper.rubberband; var self = this; this.el.onmousedown = function(event) { return rb.layerMouseDown.call(rb, event); } var grouper = this.grouper; this.el.addEventListener("mouseup", function (event) { rb.finish(); grouper.rubberbandSelect.call(grouper); }, false); | var rb = this.grouper.rubberband; var self = this; this.el.onmousedown = function(event) { return rb.layerMouseDown.call(rb, event); } var grouper = this.grouper; this.el.addEventListener("mouseup", function (event) { rb.finish(); grouper.rubberbandSelect.call(grouper); }, false); } | WireIt.Layer = function(options) { this.setOptions(options); /** * List of all the WireIt.Container (or subclass) instances in this layer * @property containers * @type {Array} */ this.containers = []; /** * List of all the WireIt.Wire (or subclass) instances in this layer * @property... |
{ id: "layoutImage", selector: that.options.selectors.layoutImage } | { id: "layoutThumb", selector: that.options.selectors.layoutThumb } | up.LayoutSelector = function (container, options) { var that, cutpoints; that = fluid.initView("up.LayoutSelector", container, options); cutpoints = [ { id: "layoutContainer:", selector: that.options.selectors.layoutContainer }, { id: "layout", selector: th... |
this.maxRows = null; this.sortSet = []; | this.maxRows = null; this.totalRows = null; this.sortSet = []; | Limit : function (id) { this.id = id; this.page = null; this.maxRows = null; this.sortSet = []; this.filterSet = []; this.exportType = null; }, |
url || (url = "."); var action = url.split(/#|\?/)[0]; if (this.getPermission(action)) { if (!text) { action === "." && (action = this._id); text = gettext(action.capitalize()); | if (url && text) { var action = url.split(/#|\?/)[0]; if (this.getPermission(action)) { renderLink.call(global, param, url, text, this); | HopObject.prototype.link_macro = function(param, url, text) { url || (url = "."); var action = url.split(/#|\?/)[0]; if (this.getPermission(action)) { if (!text) { action === "." && (action = this._id); text = gettext(action.capitalize()); } renderLink.call(global, param, url, text,... |
renderLink.call(global, param, url, text, this); | } else { res.write("[Insufficient link parameters]"); | HopObject.prototype.link_macro = function(param, url, text) { url || (url = "."); var action = url.split(/#|\?/)[0]; if (this.getPermission(action)) { if (!text) { action === "." && (action = this._id); text = gettext(action.capitalize()); } renderLink.call(global, param, url, text,... |
Admin.prototype.link_macro = function(param, action, id, text) { | Admin.prototype.link_macro = function(param, action, text, id) { | Admin.prototype.link_macro = function(param, action, id, text) { switch (action) { case "delete": case "edit": if (req.action === "users" && (id === session.user._id)) { return; } if (req.action === "sites" && (id === root._id)) { return; } text = gettext(action.capi... |
if (req.action === "users" && (id === session.user._id)) { return; | if (id) { if (req.action === "users" && (id === session.user._id)) { return; } if (req.action === "sites" && (id === root._id)) { return; } action = req.action + "?action=" + action + "&id=" + id; if (req.queryParams.page) { action += "&page=" + req.queryParams.page; } action += "#" + id; | Admin.prototype.link_macro = function(param, action, id, text) { switch (action) { case "delete": case "edit": if (req.action === "users" && (id === session.user._id)) { return; } if (req.action === "sites" && (id === root._id)) { return; } text = gettext(action.capi... |
if (req.action === "sites" && (id === root._id)) { return; } text = gettext(action.capitalize()); action = req.action + "?action=" + action + "&id=" + id; if (req.queryParams.page) { action += "&page=" + req.queryParams.page; } action += "#" + id; | Admin.prototype.link_macro = function(param, action, id, text) { switch (action) { case "delete": case "edit": if (req.action === "users" && (id === session.user._id)) { return; } if (req.action === "sites" && (id === root._id)) { return; } text = gettext(action.capi... | |
default: text = id; | Admin.prototype.link_macro = function(param, action, id, text) { switch (action) { case "delete": case "edit": if (req.action === "users" && (id === session.user._id)) { return; } if (req.action === "sites" && (id === root._id)) { return; } text = gettext(action.capi... | |
(includes ? includes[1] : 'builder,effects,dragdrop,controls,slider,sound').split(',').each( | (includes ? includes[1] : '').split(',').each( | load: function() { function convertVersionString(versionString) { var v = versionString.replace(/_.*|\./g, ''); v = parseInt(v + '0'.times(4-v.length)); return versionString.indexOf('_') > -1 ? v-1 : v; } if((typeof Prototype=='undefined') || (typeof Element == 'undefined') || (typ... |
engine.put(engine.FILENAME, oldFilename); | engine.put(engine.FILENAME, oldFilename); streamClose(stream); | function load(str) { var stream = inStream(str); var bstream = new BufferedInputStream(stream); var reader = new BufferedReader(new InputStreamReader(bstream)); var oldFilename = engine.get(engine.FILENAME); engine.put(engine.FILENAME, str); try { engine.eval(reader); } finally { engine.put(engine.FILENAME, oldFilen... |
streamClose(stream); | function load(str) { var stream = inStream(str); var bstream = new BufferedInputStream(stream); var reader = new BufferedReader(new InputStreamReader(bstream)); var oldFilename = engine.get(engine.FILENAME); engine.put(engine.FILENAME, str); try { engine.eval(reader); } finally { engine.put(engine.FILENAME, oldFilen... | |
_loadCommitInfo( jQuery('#commit-tree .message').get() ); | var cells = jQuery('#commit-tree .message').get(); if(cells.length > 0) _loadCommitInfo( cells ); | function loadCommitInfo() { _loadCommitInfo( jQuery('#commit-tree .message').get() );} |
var filename = unescape( cell.find('.js-data').text() ); | var filename = cell.find('.js-data').text(); | function loadCommitInfo() { jQuery('#commit-tree .message').each(function() { var cell = jQuery(this); var filename = unescape( cell.find('.js-data').text() ); jQuery.getJSON(uriFor('file_commit_info') + '/' + filename, {}, function(commitInfo) { cell.empty(); cell.html('<a href="'+uriFor('commi... |
if (linksArray.length != 0) | if (linksArray.length !== 0) | function loadData() { TiUI.setBackgroundColor('#1c1c1c'); // if we have data show it, otherwise show no data page if (linksArray.length != 0) { // set ui state $('#links_view').css('display','block'); $('#no_links_view').css('display','none'); // public link $('#public_links_anchor').get(0).href = appPag... |
if (i%2==0) | if (i%2===0) | function loadData() { TiUI.setBackgroundColor('#1c1c1c'); // if we have data show it, otherwise show no data page if (linksArray.length != 0) { // set ui state $('#links_view').css('display','block'); $('#no_links_view').css('display','none'); // public link $('#public_links_anchor').get(0).href = appPag... |
html += '</div>' | html += '</div>'; | function loadData() { TiUI.setBackgroundColor('#1c1c1c'); // if we have data show it, otherwise show no data page if (linksArray.length != 0) { // set ui state $('#links_view').css('display','block'); $('#no_links_view').css('display','none'); // public link $('#public_links_anchor').get(0).href = appPag... |
}; | } | function loadData() { TiUI.setBackgroundColor('#1c1c1c'); // if we have data show it, otherwise show no data page if (linksArray.length != 0) { // set ui state $('#links_view').css('display','block'); $('#no_links_view').css('display','none'); // public link $('#public_links_anchor').get(0).href = appPag... |
if (Automne.context.path == undefined && window.location.pathname.indexOf('/automne/admin/') >= 1) { Automne.context = []; Automne.context.path = window.location.pathname.substr(0, window.location.pathname.indexOf('/automne/admin/')); } | loadFrameInfos: function() { if (this.id != 'public' && this.getEl().isMasked()) { //remove mask on frame this.getEl().unmask(); } if (this.disabled) { this.setDisabled(false); } try { //get frame and document from event this.loadFrameDocument(); var win = this.getWin(); Automne.catchF5(this.getDoc(... | |
if ($(jq(newItem)).find("img").length == 0) { helplink = $(jq(newItem)).find("a.helplink"); if (helplink.is(":visible")) helplink.click(); } | function loadItem(newItem) { // record in access log pageTracker._trackPageview("/item/" + newItem); if (newItem != "intro") { var imgEl = $(jq(newItem) + " img"); // choose image based on current theme // uncomment this to use local images: //imageSrcBase = ""; var fname = imageSrcBase + "plots/" + theme + "/... | |
if ($(jq(newItem) + " .loading").length == 0) { imgEl.before('<div class="loading">Loading...</div>'); | var fname = imageSrcBase + "plots/" + theme + "/" + newItem + ".png"; if (imgEl.attr("src") != fname) { if ($(jq(newItem) + " .loading").length == 0) { imgEl.before('<div class="loading">Loading...</div>'); } loadEl = $(jq(newItem) + " .loading"); loadEl.hide().show("fast"); imgEl.fadeTo("fast", 0.5); imgEl.load(fun... | function loadItem(newItem) { if (newItem != "intro") { var imgEl = $(jq(newItem) + " img"); // add "loading" message first if ($(jq(newItem) + " .loading").length == 0) { imgEl.before('<div class="loading">Loading...</div>'); } loadEl = $(jq(newItem) + " .loading"); loadEl.hide().show("fast"); imgEl.fadeTo("fast... |
loadEl = $(jq(newItem) + " .loading"); loadEl.hide().show("fast"); imgEl.fadeTo("fast", 0.5) var fname = imageSrcBase + "plots/" + theme + "/" + newItem + ".png"; imgEl.load(function(e) { loadEl.hide("fast"); imgEl.fadeTo("fast", 1); }); imgEl.attr("src", fname); | function loadItem(newItem) { if (newItem != "intro") { var imgEl = $(jq(newItem) + " img"); // add "loading" message first if ($(jq(newItem) + " .loading").length == 0) { imgEl.before('<div class="loading">Loading...</div>'); } loadEl = $(jq(newItem) + " .loading"); loadEl.hide().show("fast"); imgEl.fadeTo("fast... | |
var newRecurringMonthJob = getJob({id: 1, name: "testnamn8", type: JOBTYPE_RECURRING_MONTH, startdate: "2010-01-01", lastrun: 0, device: 1, method: 1, value: ""}); | var newRecurringMonthJob = getJob({id: 3, name: "testnamn10", type: JOBTYPE_RECURRING_MONTH, startdate: "2010-01-01", lastrun: 0, device: 1, method: 1, value: ""}); | function loadJobs(){ print("Loading jobs"); //TODO temp - creating events var newRecurringMonthJob = getJob({id: 1, name: "testnamn8", type: JOBTYPE_RECURRING_MONTH, startdate: "2010-01-01", lastrun: 0, device: 1, method: 1, value: ""}); newRecurringMonthJob.addEvent(new Event(2)); newRecurringMonthJob.save(... |
print("Jobbdata: " + jobdata.name); print("JOBBET: " + job.v.name); | function loadJobs(){ print("Loading jobs"); //TODO temp - creating events var newRecurringMonthJob = getJob({id: 1, name: "testnamn8", type: JOBTYPE_RECURRING_MONTH, startdate: "2010-01-01", lastrun: 0, device: 1, method: 1, value: ""}); newRecurringMonthJob.addEvent(new Event(2)); newRecurringMonthJob.save(... | |
updateLastRun(newRecurringMonthJob.v.id, "2005-05-05"); | function loadJobs(){ print("Loading jobs"); //TODO temp - creating events var newRecurringMonthJob = getJob({id: 1, name: "testnamn8", type: JOBTYPE_RECURRING_MONTH, startdate: "2010-01-01", lastrun: 0, device: 1, method: 1, value: ""}); newRecurringMonthJob.addEvent(new Event(2)); newRecurringMonthJob.save(... | |
var newRecurringMonthJob = getJob({id: 4, name: "testnamn12", type: JOBTYPE_RECURRING_DAY, startdate: "2010-01-01", lastrun: 0, device: 1, method: 1, value: ""}); newRecurringMonthJob.addEvent(new Event({id: 0, value: 10, fuzzinessBefore: 0, fuzzinessAfter: 0, type: EVENTTYPE_SUNSET, offset: 0, time: 0})); | var newRecurringMonthJob = getJob({id: 4, name: "testnamn14", type: JOBTYPE_RECURRING_WEEK, startdate: "2010-01-01", lastrun: 0, device: 1, method: 1, value: ""}); newRecurringMonthJob.addEvent(new Event({id: 0, value: 3, fuzzinessBefore: 0, fuzzinessAfter: 0, type: EVENTTYPE_SUNSET, offset: 0, time: 0})); | function loadJobs(){ print("Loading jobs"); //TODO hur ska id på event och job sättas för nya jobb/events? //eventid är bara unika inom respektive jobb... //TODO temp - creating events /* var newRecurringMonthJob = getJob({id: 4, name: "testnamn12", type: JOBTYPE_RECURRING_DAY, startdate: "2010-01-01", lastrun: ... |
var newAbsoluteJob = getJob({id: 5, name: "testnamn11", type: JOBTYPE_ABSOLUTE, startdate: "2010-01-01", lastrun: 0, device: 1, method: 1, value: ""}); newAbsoluteJob.addEvent(new Event({id: 1, value: new Date(2010,11,22).getTime(), fuzzinessBefore: 0, fuzzinessAfter: 30, type: EVENTTYPE_SUNSET, offset: 0, time: 0})); ... | var newAbsoluteJob = getJob({id: 5, name: "testnamn15", type: JOBTYPE_RECURRING_MONTH, startdate: "2010-01-01", lastrun: 0, device: 1, method: 1, value: ""}); newAbsoluteJob.addEvent(new Event({id: 1, value: "11-24", fuzzinessBefore: 0, fuzzinessAfter: 30, type: EVENTTYPE_ABSOLUTE, offset: 0, time: 43200})); newAbsolut... | function loadJobs(){ print("Loading jobs"); //TODO hur ska id på event och job sättas för nya jobb/events? //eventid är bara unika inom respektive jobb... //TODO temp - creating events /* var newRecurringMonthJob = getJob({id: 4, name: "testnamn12", type: JOBTYPE_RECURRING_DAY, startdate: "2010-01-01", lastrun: ... |
*/ | function loadJobs(){ print("Loading jobs"); //TODO temp - creating events var newRecurringMonthJob = getJob({id: 3, name: "testnamn10", type: JOBTYPE_RECURRING_MONTH, startdate: "2010-01-01", lastrun: 0, device: 1, method: 1, value: ""}); newRecurringMonthJob.addEvent(new Event(2)); newRecurringMonthJob.save()... | |
var newRecurringMonthJob = getJob({id: 3, name: "testnamn10", type: JOBTYPE_RECURRING_MONTH, startdate: "2010-01-01", lastrun: 0, device: 1, method: 1, value: ""}); newRecurringMonthJob.addEvent(new Event(2)); | var newRecurringMonthJob = getJob({id: 4, name: "testnamn12", type: JOBTYPE_RECURRING_DAY, startdate: "2010-01-01", lastrun: 0, device: 1, method: 1, value: ""}); newRecurringMonthJob.addEvent(new Event({id: 0, value: 10, fuzzinessBefore: 0, fuzzinessAfter: 0, type: EVENTTYPE_SUNSET, offset: 0, time: 0})); | function loadJobs(){ print("Loading jobs"); //TODO temp - creating events /* var newRecurringMonthJob = getJob({id: 3, name: "testnamn10", type: JOBTYPE_RECURRING_MONTH, startdate: "2010-01-01", lastrun: 0, device: 1, method: 1, value: ""}); newRecurringMonthJob.addEvent(new Event(2)); newRecurringMonthJob.sa... |
*/ | function loadJobs(){ print("Loading jobs"); //TODO temp - creating events /* var newRecurringMonthJob = getJob({id: 3, name: "testnamn10", type: JOBTYPE_RECURRING_MONTH, startdate: "2010-01-01", lastrun: 0, device: 1, method: 1, value: ""}); newRecurringMonthJob.addEvent(new Event(2)); newRecurringMonthJob.sa... | |
var tmp = eval(s); | var tmp = JSON.parse(s); | function loadOptions() { if (!globalStorage || document.domain == "") return false; try { var store = globalStorage[document.domain]; if ("graphOptions" in store) { var s = (store["graphOptions"]).toString(); var tmp = eval(s); // don't clobber newly defined o... |
this.loadPanel.hide(); | if(this.loadPanel) { this.loadPanel.hide(); } | loadPipe: function(name) { if(!this.isSaved()) { if( !confirm("Warning: Your work is not saved yet ! Press ok to continue anyway.") ) { return; } } try { this.preventLayerChangedEvent = true; this.loadPanel.hide(); var wiring = this.getPipeByName(name), i; if(!wiring) { this.alert("The w... |
if(this.loadPanel) { this.loadPanel.hide(); } var wiring = this.getPipeByName(name), i; | this.loadPanel.hide(); | loadPipe: function(name) { if(!this.isSaved()) { if( !confirm("Warning: Your work is not saved yet ! Press ok to continue anyway.") ) { return; } } try { this.preventLayerChangedEvent = true; if(this.loadPanel) { this.loadPanel.hide(); } var wiring = this.getPipeByName(name), i; if... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.