Add LibreJS license tag
This commit is contained in:
parent
09384b4d45
commit
f16377822f
4 changed files with 12 additions and 4 deletions
3
Makefile
3
Makefile
|
@ -191,6 +191,9 @@ wasm: $(WASM_TARGET)
|
||||||
$(WASM_TARGET): $(WASM_OBJECTS)
|
$(WASM_TARGET): $(WASM_OBJECTS)
|
||||||
$(EMAR) rcs $@ $^
|
$(EMAR) rcs $@ $^
|
||||||
|
|
||||||
|
javascript/olm_prefix.js: javascript/olm_prefix.js.in Makefile
|
||||||
|
sed s/@VERSION@/$(VERSION)/ javascript/olm_prefix.js.in > $@
|
||||||
|
|
||||||
# Note that the output file we give to emcc determines the name of the
|
# Note that the output file we give to emcc determines the name of the
|
||||||
# wasm file baked into the js, hence messing around outputting to olm.js
|
# wasm file baked into the js, hence messing around outputting to olm.js
|
||||||
# and then renaming it.
|
# and then renaming it.
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
var Olm = (function() {
|
|
||||||
var olm_exports = {};
|
|
||||||
var onInitSuccess;
|
|
||||||
var onInitFail;
|
|
7
javascript/olm_prefix.js.in
Normal file
7
javascript/olm_prefix.js.in
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
// @license magnet:?xt=urn:btih:8e4f440f4c65981c5bf93c76d35135ba5064d8b7&dn=apache-2.0.txt Apache-2.0
|
||||||
|
// @source: https://gitlab.matrix.org/matrix-org/olm/-/tree/@VERSION@
|
||||||
|
|
||||||
|
var Olm = (function() {
|
||||||
|
var olm_exports = {};
|
||||||
|
var onInitSuccess;
|
||||||
|
var onInitFail;
|
|
@ -34,3 +34,5 @@ if (typeof module === 'object') {
|
||||||
// level wrapper class.
|
// level wrapper class.
|
||||||
module.exports = Olm;
|
module.exports = Olm;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @license-end
|
||||||
|
|
Loading…
Reference in a new issue