Hi David,

This problem neither happen with tiddlywiki itself nor with other sevral 
plugins I use or have tried.

I am afraid, it comes from the 10% of Cardo written in javascript. By 
looking at the source file, I have found it into tiddler:

$:/plugins/Cardo/filters/fieldContains.js
--> text.includes(operator.operand)

Since it is the only place you seem to use it perhaps you can juste change 
this test or insert the polyfill in the beginning of this tiddler?

Maybe some skillfull developper on this forum can give some help on this 
matter?

For information this function is far from being supported by all browsers:

Chrome     Firefox (Gecko)     Internet Explorer     Edge     Opera     
Safari
41     40 (40)     No support     Yes     No support     9
Android     Chrome for Android     Firefox Mobile (Gecko)     IE Mobile     
Opera Mobile     Safari Mobile
No support     No support     40.0 (40)     No support     No support     
No support

Best regards.

Eskha

Le mardi 7 février 2017 17:07:52 UTC+1, David Szego a écrit :
>
> Thomas - Thank you!
>
> Eskha - Not sure what that is, nor how I could include it - I'm doing 90% 
> of Cardo using TW macros... I think you may want to talk to Jeremy about 
> polyfill, as it seems it would be deep in the base of TW rather than my 
> macros.
>
> On Tuesday, 7 February 2017 10:18:48 UTC-5, Eskha wrote:
>>
>> Hi David,
>>
>> Could you include the polyfill proposed by mozilla for "text.includes" 
>> which is not supported by several browers (old versions or recent mobile 
>> versions)?
>>
>>
>> https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/includes
>>
>> Best regards.
>>
>> Eskha
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1221c5bf-5705-4fdc-af62-9cb6ded41c04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to