[Libreoffice-commits] online.git: loleaflet/src
Tor Lillqvist
tml at collabora.com
Thu Jul 5 13:06:37 UTC 2018
loleaflet/src/dom/DomEvent.js | 1 +
loleaflet/src/dom/Draggable.js | 1 +
loleaflet/src/map/handler/Map.Tap.js | 1 +
loleaflet/src/map/handler/Map.TouchZoom.js | 1 +
4 files changed, 4 insertions(+)
New commits:
commit ed69ecf81f8c39deeab188dc7eac310fff29bd67
Author: Tor Lillqvist <tml at collabora.com>
Date: Thu Jul 5 12:53:35 2018 +0300
Add Emacs mode lines to get the indent level right
It's irritating to have to manually align lines even when just adding
temporary console.debug() calls. Sure, these mode lines should be
added in all .js files; these are just some I happened to be touching
now.
Change-Id: I13b3a62e66e4430878713fd64a459c72c014ded1
diff --git a/loleaflet/src/dom/DomEvent.js b/loleaflet/src/dom/DomEvent.js
index 59a7ce559..67e04c4ce 100644
--- a/loleaflet/src/dom/DomEvent.js
+++ b/loleaflet/src/dom/DomEvent.js
@@ -1,3 +1,4 @@
+/* -*- js-indent-level: 8 -*- */
/*
* L.DomEvent contains functions for working with DOM events.
* Inspired by John Resig, Dean Edwards and YUI addEvent implementations.
diff --git a/loleaflet/src/dom/Draggable.js b/loleaflet/src/dom/Draggable.js
index 99cd6a95f..f7aa5b31a 100644
--- a/loleaflet/src/dom/Draggable.js
+++ b/loleaflet/src/dom/Draggable.js
@@ -1,3 +1,4 @@
+/* -*- js-indent-level: 8 -*- */
/*
* L.Draggable allows you to add dragging capabilities to any element. Supports mobile devices too.
*/
diff --git a/loleaflet/src/map/handler/Map.Tap.js b/loleaflet/src/map/handler/Map.Tap.js
index bc0b27e6e..d5d25d570 100644
--- a/loleaflet/src/map/handler/Map.Tap.js
+++ b/loleaflet/src/map/handler/Map.Tap.js
@@ -1,3 +1,4 @@
+/* -*- js-indent-level: 8 -*- */
/*
* L.Map.Tap is used to enable mobile hacks like quick taps and long hold.
*/
diff --git a/loleaflet/src/map/handler/Map.TouchZoom.js b/loleaflet/src/map/handler/Map.TouchZoom.js
index 43f758947..5e33162dd 100644
--- a/loleaflet/src/map/handler/Map.TouchZoom.js
+++ b/loleaflet/src/map/handler/Map.TouchZoom.js
@@ -1,3 +1,4 @@
+/* -*- js-indent-level: 8 -*- */
/*
* L.Handler.TouchZoom is used by L.Map to add pinch zoom on supported mobile browsers.
*/
More information about the Libreoffice-commits
mailing list