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,9 +19,9 @@
|
|||
touch = touchScreenDetectable ? touchScreen : L.Browser.touch;
|
||||
|
||||
BR.Browser = {
|
||||
touchScreen: touchScreen,
|
||||
touchScreenDetectable: touchScreenDetectable,
|
||||
touch: touch,
|
||||
touchScreen,
|
||||
touchScreenDetectable,
|
||||
touch,
|
||||
download:
|
||||
'Blob' in window &&
|
||||
'FileReader' in window &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue