-
Notifications
You must be signed in to change notification settings - Fork 279
Conversation
since it is not available on iOS 9.3.5 (i.e. old iPads e.g.) see resoai#530, @anthony2856
Can you try this instead: #557 ? I haven't tried it on a device that doesn't support URLSearchParams but looking at the generated code, it looks like something like a polyfill is added. Please try first without switching to |
And the motivation for doing it the way I did is that it's better to handle this transparently through babel than explicitly through a third-party package. |
I see the advantage. But I can't test it. I get an |
Not sure where you getting this --- a/scripts/globals.js
+++ b/scripts/globals.js
@@ -26,6 +26,8 @@ window.onerror = function (error, file, line, char) {
'Line: ' + line + ':' + char,
].join('<br>');
+ alert(text);
+
Noty.addObject({
type: Noty.ERROR,
title: 'JS error', |
I've added an extra commit that fixes notifications not working when there is a syntax error in the config. This should ensure that the user will be able to see where the actual error is. |
And BTW, I also have an old iPad with iOS 9 and I was able to verify that this fixes the issue. But I'd like you to confirm that also. :) |
It's not on the tablet, but on my desktop Firefox. I get this: From master. 2f9cee8 is still ok. |
With |
yarn build |
Did you make sure to run |
tried now to run |
still the same. but since you oviously don't have that... I'll check if there's something offending in my config... |
Yeah, I don't see that with my config. Neither on Firefox nor Chrome. |
Got it. I have that in my
I'll probably open an issue on it, when I still consider that to be allowable tomorrow morning. :-) |
Interesting case. It feels a bit wrong to specify the defaults for two "different" tiles at once. But it might make sense for cases when we want to provide different defaults for a given tile, depending on where it's used. We still have to recursively merge in some cases, like when the user provides a |
I've merged my change after confirming that it's working on iOS 9. |
since it is not available on iOS 9.3.5 (i.e. old iPads e.g.)
see #530, @anthony2856