refact: use shorthand method and property syntax
This commit is contained in:
parent
babd154596
commit
76f31aeb2b
44 changed files with 520 additions and 514 deletions
|
|
@ -19,7 +19,7 @@ BR.tracksLoader = function (map, layersControl, routing, pois) {
|
|||
},
|
||||
},
|
||||
|
||||
_initContainer: function () {
|
||||
_initContainer() {
|
||||
var thisLoader = this.loader;
|
||||
|
||||
var fileInput;
|
||||
|
|
@ -60,7 +60,7 @@ BR.tracksLoader = function (map, layersControl, routing, pois) {
|
|||
return dummy;
|
||||
},
|
||||
|
||||
_keydownListener: function (e) {
|
||||
_keydownListener(e) {
|
||||
if (
|
||||
BR.Util.keyboardShortcutsAllowed(e) &&
|
||||
e.keyCode === this.options.shortcut.open &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue