Do not bind context if not needed
This commit is contained in:
parent
677f6caab8
commit
65e8609fec
@ -78,16 +78,16 @@ MapController.prototype.composeCreateMapMiddleware = function ({ useTemplate = f
|
||||
useTemplate ? this.getTemplate.bind(this) : this.prepareAdapterMapConfig.bind(this),
|
||||
useTemplate ? this.instantiateLayergroup.bind(this) : this.createLayergroup.bind(this),
|
||||
this.incrementMapViewCount.bind(this),
|
||||
this.augmentLayergroupData.bind(this),
|
||||
this.augmentLayergroupData,
|
||||
this.getAffectedTables.bind(this),
|
||||
this.setCacheChannel.bind(this),
|
||||
this.setLastUpdatedTimeToLayergroup.bind(this),
|
||||
this.setCacheControl.bind(this),
|
||||
this.setCacheChannel,
|
||||
this.setLastUpdatedTimeToLayergroup,
|
||||
this.setCacheControl,
|
||||
this.setLayerStats.bind(this),
|
||||
this.setLayergroupIdHeaderBuilder(useTemplateHash),
|
||||
this.setDataviewsAndWidgetsUrlsToLayergroupMetadata.bind(this),
|
||||
this.setAnalysesMetadataToLayergroupBuilder(includeQuery),
|
||||
this.setTurboCartoMetadataToLayergroup.bind(this),
|
||||
this.setTurboCartoMetadataToLayergroup,
|
||||
this.setSurrogateKeyHeader.bind(this),
|
||||
sendResponse,
|
||||
augmentError({ label, addContext })
|
||||
|
Loading…
Reference in New Issue
Block a user