angular.io
Moderator: trava90
Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
-
- Lunatic
- Posts: 350
- Joined: 2011-11-18, 20:38
- Location: Scotland
Re: angular.io
Confirmed on a windows 8.1 (x64) PM 27.7.1 (x64) also.
Link working on Slimjet
Link working on Slimjet
-
- Lunatic
- Posts: 399
- Joined: 2016-12-27, 00:12
Re: angular.io
set - et voilà!
Code: Select all
javascript.options.strict = true
-
- Lunatic
- Posts: 399
- Joined: 2016-12-27, 00:12
Re: angular.io
Strict mode - JavaScript
This site, like some others, is completely written on JS. In the scripts of this site, there is an indication of a strict mode
В скриптах этого сайта , стоит указание на строгий режим
I do not know the reason, but we can assume that PM does not handle this instruction correctly. But this setting forced PM to use "strict mode" JS.
Причину я не знаю, но можно предположить что PM неправильно обрабатывает это указание. И настройка принудительно включает строгий режим в обработке JS
This site, like some others, is completely written on JS. In the scripts of this site, there is an indication of a strict mode
В скриптах этого сайта , стоит указание на строгий режим
Code: Select all
https://angular.io/main.579e733255738eda4ef4.bundle.js
Причину я не знаю, но можно предположить что PM неправильно обрабатывает это указание. И настройка принудительно включает строгий режим в обработке JS
-
- Pale Moon guru
- Posts: 35647
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: angular.io
Pale moon handles it just fine, as long as it's properly placed in the preamble, as well as the actual scripting including the statement where needed -- otherwise quirks/sloppy mode is used which will behave slightly differently.jars_ wrote:but we can assume that PM does not handle this instruction correctly.
Angular is a terrible framework though. It doesn't work half the time and the authors don't care about web client compatibility.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: angular.io
Pushlog (for other developers):
https://hg.mozilla.org/mozilla-central/ ... a33a99643e
https://hg.mozilla.org/mozilla-central/ ... a33a99643e
-
- Lunatic
- Posts: 399
- Joined: 2016-12-27, 00:12
Re: angular.io
Ok, understood. I was also a little bit confused, when I saw that every(almost) function has "use strict".
I do not know much about JS and thought that you should specify "use strict" at the beginning once and that's enough. And here it is ...
I do not know much about JS and thought that you should specify "use strict" at the beginning once and that's enough. And here it is ...
-
- Pale Moon guru
- Posts: 35647
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: angular.io
Pushlog is pointless, because angular is not interested in providing any sort of web client stability -- what pushlog you get that provides exactly the feature set they want to use today may be different tomorrow.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Pale Moon guru
- Posts: 35647
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: angular.io
What most likely happens here is that enforcing strict mode makes something in their script fail that passes in sloppy mode, so the required feature set changes and we satisfy what they require then. It's just nothing that we can rely on to target.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: angular.io
Thanks. I know what is strict mode in JS, but this is new to me that Palemoon can enable or disable it browser-wide. I was sure the only way to enable it is to put "use strict" in a script itself.Strict mode - JavaScript
This site, like some others, is completely written on JS. In the scripts of this site, there is an indication of a strict mode
...
This is entirely correct! Although, in this particular case, using of "use strict" seems to be fine (at least at the first glance). It's OK to use strict-mode on per-function basis. So I think this is actually Palemoon bug.Angular is a terrible framework though. It doesn't work half the time and the authors don't care about web client compatibility.
Re: angular.io
Is there another recommended client side framework that has better cross browser support?