Simplify default export

This removes unnecessary variable declarations where the default object is an object.
This commit is contained in:
Frederic Junod
2017-12-15 15:08:33 +01:00
parent 4c5f570e86
commit 0bc28323c8
21 changed files with 39 additions and 54 deletions

View File

@@ -1,13 +1,12 @@
/**
* @module ol/source/WMTSRequestEncoding
*/
/**
* Request encoding. One of 'KVP', 'REST'.
* @enum {string}
*/
var _ol_source_WMTSRequestEncoding_ = {
export default {
KVP: 'KVP', // see spec §8
REST: 'REST' // see spec §10
};
export default _ol_source_WMTSRequestEncoding_;