mirror of
https://github.com/LibreOffice/online.git
synced 2025-07-25 16:04:48 +00:00

It is a flexible bundling of the loleafet source files and each platform (ANDROID, IOS, DESKTOP) can prevent to bundle some files that is not necessary. (i.e Mouse handling in native mobile devices) Change-Id: If018bcc8682df5ae4bf5dd9943aa977e18c0de36 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89734 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Tested-by: Henry Castro <hcastro@collabora.com> Reviewed-by: Henry Castro <hcastro@collabora.com>
14 lines
507 B
Plaintext
14 lines
507 B
Plaintext
m4_changequote([,])m4_dnl
|
|
m4_dnl# m4_foreachq(x, `item_1, item_2, ..., item_n', stmt)
|
|
m4_dnl# quoted list, alternate improved version
|
|
m4_define([m4_foreachq],[m4_ifelse([$2],[],[],[m4_pushdef([$1])_$0([$1],[$3],[],$2)m4_popdef([$1])])])m4_dnl
|
|
m4_define([_m4_foreachq],[m4_ifelse([$#],[3],[],[m4_define([$1],[$4])$2[]$0([$1],[$2],m4_shift(m4_shift(m4_shift($@))))])])m4_dnl
|
|
m4_dnl
|
|
m4_include(COPYRIGHT)m4_dnl
|
|
|
|
(function (window) {
|
|
|
|
m4_foreachq([fileJS],[LOLEAFLET_JS],[m4_syscmd([cat ]fileJS)])
|
|
|
|
}(window));
|