start() { if (!this.stop && this.options.show !== false) { this.stop = keypress.listen(this, this.keypress.bind(this)); this.once('close', this.stop); } }
constructor(session) { this.session = session; this.session.dispatcher.addListener('GLADYS_GATEWAY_CONNECTED', this.emptyQueue.bind(this)); this.queue = []; }
apply( compiler ) { compiler.hooks.thisCompilation.tap( 'LodashReplacementPlugin', ( compilation ) => { this.compilation = compilation; } ); compiler.hooks.normalModuleFactory.tap( 'LodashReplacementPlugin', ( nmf ) => { this.moduleResolver = this.moduleResolver || nmf.getResolver( 'normal' ); this.init = this.init || this.initBaseLodashData(); nmf.hooks.beforeResolve.tapPromise( 'LodashReplacementPlugin', this.modifyResult.bind( this ) ); } ); }
initializeMiddleware(options) { const checkAuthMiddleware = options.checkAuthMiddleware || this.checkAuth.bind(this); this.checkAuthFn = options.checkAuth || this.defaultCheckAuth.bind(this); const requestContextMiddleware = this.requestContextMiddleware.bind(this); const requestLoggerMiddleware = options.requestLoggerMiddleware || this.requestLogger.bind(this); this.requestMiddleware = [checkAuthMiddleware, requestContextMiddleware, requestLoggerMiddleware]; }
createOrchestratorApi(options) { options = options || {}; return new OrchestratorApi(options.getDriver || this.getDriver.bind(this), this.logger, { redisPrefix: options.redisPrefix || process.env.CUBEJS_APP, externalDriverFactory: options.getExternalDriverFactory, ...(options.orchestratorOptions || this.options.orchestratorOptions) }); }
constructor(props) { super(props) this.state = { navOpen: false, modal: false, providers: null } this.toggleModal = this.toggleModal.bind(this) }
constructor(props) { super(props); this.state = { loading: true }; this.selectFeature = this.selectFeature.bind(this); this.addFeature = this.addFeature.bind(this); this.deleteFeature = this.deleteFeature.bind(this); this.updateDeviceProperty = this.updateDeviceProperty.bind(this); this.updateFeatureProperty = this.updateFeatureProperty.bind(this); this.saveDevice = this.saveDevice.bind(this); }
constructor(props) { super(props) this.handleSignoutSubmit = this.handleSignoutSubmit.bind(this) }
constructor(...serviceConfig) { super(...serviceConfig); this.isRequestPending = false; this.lastResponseTimestamp = 0; this.pendingRequests = []; this.sendDefferedMethodCall = this.sendDefferedMethodCall.bind(this); this.sendMethodCall = this.sendMethodCall.bind(this); this.methodCall = this.methodCall.bind(this); }
constructor(props) { super(props); this.state = { loading: true }; this.selectFeature = this.selectFeature.bind(this); this.addFeature = this.addFeature.bind(this); this.deleteFeature = this.deleteFeature.bind(this); this.updateDeviceProperty = this.updateDeviceProperty.bind(this); this.updateFeatureProperty = this.updateFeatureProperty.bind(this); this.saveDevice = this.saveDevice.bind(this); }
constructor(props) { super(props); this.state = { loading: true }; this.selectFeature = this.selectFeature.bind(this); this.addFeature = this.addFeature.bind(this); this.deleteFeature = this.deleteFeature.bind(this); this.updateDeviceProperty = this.updateDeviceProperty.bind(this); this.updateFeatureProperty = this.updateFeatureProperty.bind(this); this.saveDevice = this.saveDevice.bind(this); }
constructor(props) { super(props); this.state = { loading: true }; this.selectFeature = this.selectFeature.bind(this); this.addFeature = this.addFeature.bind(this); this.deleteFeature = this.deleteFeature.bind(this); this.updateDeviceProperty = this.updateDeviceProperty.bind(this); this.updateFeatureProperty = this.updateFeatureProperty.bind(this); this.saveDevice = this.saveDevice.bind(this); }
constructor(session) { this.session = session; this.session.dispatcher.addListener('GLADYS_GATEWAY_CONNECTED', this.emptyQueue.bind(this)); this.queue = []; }