Re: ODD tutorials
Lou Burnard <[email protected]>
| Newsgroups | gmane.text.tei.general |
|---|---|
| Message-ID | <[email protected]> |
Thanks Andreas for debugging this : I should probably have warned
readers that CETEICEAN works only online and only with recent browsers.
However, I've taken the liberty of copying your message to the issue
tracker at https://github.com/TEIC/CETEIcean/issues so that the
CETEICEAN developers don't forget about this particular backwards
compatibility problem.
I've also now uploaded static PDF versions of the tutorials for those
who like to print things out. Be warned though that these are dated
versions, which will not necessarily reflect the current state of the
text, since I don't plan to regenerate them every time I make a minor
typo correction. Grab them from
http://teic.github.io/PDF/
L
On 05/01/17 08:49, Andreas Wagner wrote:
> Dear David, dear list,
>
> Am 05.01.2017 um 08:13 schrieb David Maus:
>> ,----
>> | TypeError: strings[0].includes is not a function
>> | if (strings[0].includes("<")) {
>> | ---^
>> |
>> | CETEI.js (Line 742, Column 16)
>> `----
>>
>> using GNU IceCat 38.8.0
>> Build identifier: Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Firefox/38.0
>>
>> This "super cool CETEICEAN thingy" looks like a tremendous step
>> backwards in accessability and usability to me.
> As of [1], String.prototype.includes is one of the few ES6 string functions
> that the Firefox 38 engine did not yet support. However, Ff 38 is obsolete for
> more than a year now, and newer firefox releases support the function
> (Extended Support Release 45 was in March 2016).
> Yet GNU Icecat seems to have moved to 45 only in Dec 2016, and on Windows and
> Mac it is still on 38.8.0 [2]. Since you are on windows, I guess you are out
> of luck for the moment.
>
> You could bug the IceCat maintainers to hurry with their windows release, or
> maybe you (or even CETEICEAN upstream) could use indexOf() instead of
> includes() according to [3].
>
> [1] http://kangax.github.io/compat-table/es6/
> [2] https://en.wikipedia.org/wiki/GNU_IceCat#Releases
> [3]
> http://stackoverflow.com/questions/31340868/includes-not-working-in-all-browsers
>
> HTH,
> Andreas
>
>
>