[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-librejs] [LibreJS] zlib/libpng license and ES6 syntax support
From: |
Arthur Hoaro |
Subject: |
[Bug-librejs] [LibreJS] zlib/libpng license and ES6 syntax support |
Date: |
Sun, 12 Mar 2017 13:05:05 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 |
Hi,
We'd like to make Shaarli (https://github.com/shaarli/Shaarli)
compatible with LibreJS.
However I'm facing 2 issues:
* the license zlib/libpng isn't supported:
- license text: http://zlib.net/zlib_license.html
- example:
https://raw.githubusercontent.com/shaarli/Shaarli/master/tpl/default/js/shaarli.js
* LibreJS doesn't seem to support ES6 syntax and the following piece
of code results in "error parsing":
let autofocusElements = document.querySelectorAll('.autofocus');
for (let autofocusElement of autofocusElements) {
if (autofocusElement.value == '') {
autofocusElement.focus();
break;
}
}
Regards,
--
Arthur Hoaro
0x00F82964.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-librejs] [LibreJS] zlib/libpng license and ES6 syntax support,
Arthur Hoaro <=