loleaflet/src/map/Clipboard.js | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit c8d15408e9cb7e59d592aad5a2f642d426246373
Author: Tor Lillqvist <[email protected]>
AuthorDate: Fri Mar 27 16:53:17 2020 +0200
Commit: Tor Lillqvist <[email protected]>
CommitDate: Fri Mar 27 16:20:07 2020 +0100
Add another "pseudo assertion"
Like in 09821236ef237711bb38b46c47b3d123d2adc9bf.
Change-Id: I10509b2ad4819a9b7f3d9c59c87ecd3bc7432d7e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91224
Tested-by: Jenkins CollaboraOffice <[email protected]>
Reviewed-by: Tor Lillqvist <[email protected]>
diff --git a/loleaflet/src/map/Clipboard.js b/loleaflet/src/map/Clipboard.js
index 68e5e4b1c..218c3dfd0 100644
--- a/loleaflet/src/map/Clipboard.js
+++ b/loleaflet/src/map/Clipboard.js
@@ -835,5 +835,7 @@ L.Clipboard = L.Class.extend({
});
L.clipboard = function(map) {
+ if (window.ThisIsAMobileApp)
+ console.log('======> Assertion failed!? No L.Clipboard object
should be needed in a mobile app');
return new L.Clipboard(map);
};
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits