Angular tutorial doesn't work in Pale Moon

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
jez9999
Fanatic
Fanatic
Posts: 106
Joined: 2015-05-30, 19:35
Location: UK

Angular tutorial doesn't work in Pale Moon

Unread post by jez9999 » 2018-04-22, 10:36

This Angular tutorial just displays a blank page and gives the error "|this| is undefined" in console (works in Chrome):

https://angular.io/tutorial/toh-pt0

Nightbird
Lunatic
Lunatic
Posts: 279
Joined: 2016-07-18, 21:12

Re: Angular tutorial doesn't work in Pale Moon

Unread post by Nightbird » 2018-04-22, 11:16

Its works.

about:config
accept the warning
preference : javascript.options.strict
toogle the value : false => true
Last edited by Nightbird on 2018-04-22, 11:17, edited 1 time in total.
Diversity is key.

Those who forget the past are doomed to repeat it.

jez9999
Fanatic
Fanatic
Posts: 106
Joined: 2015-05-30, 19:35
Location: UK

Re: Angular tutorial doesn't work in Pale Moon

Unread post by jez9999 » 2018-04-22, 11:24

OK so 2 questions:

Why does turning a property on that is meant to display more warnings actually reduce the strictness of JS and prevent an error?

That page is spitting out loads of JS warnings. Is this really poor JS? Google obviously thinks it's OK.
Last edited by jez9999 on 2018-04-22, 11:24, edited 1 time in total.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35475
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Angular tutorial doesn't work in Pale Moon

Unread post by Moonchild » 2018-04-22, 11:51

Jez, please use search. This has already been explained in other threads.
"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

jez9999
Fanatic
Fanatic
Posts: 106
Joined: 2015-05-30, 19:35
Location: UK

Re: Angular tutorial doesn't work in Pale Moon

Unread post by jez9999 » 2018-04-22, 13:59

Care to link it? I see people discussing the setting but not answering my questions.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35475
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Angular tutorial doesn't work in Pale Moon

Unread post by Moonchild » 2018-04-22, 14:01

jez9999 wrote:Care to link it?
The whole point of my previous post was so you'd actually put some effort into searching. :P I'm not going to search for you.
"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

coffeebreak
Moon Magic practitioner
Moon Magic practitioner
Posts: 2986
Joined: 2015-09-26, 04:51
Location: U.S.

Re: Angular tutorial doesn't work in Pale Moon

Unread post by coffeebreak » 2018-04-22, 18:57

jez9999 wrote: I see people discussing the setting but not answering my questions.

Try searching on angular.io rather than on the setting.

The explanation is specifically in one thread, and that particular thread has javascript.options.strict only in a code box - apparently the forum's search engine doesn't pick it up.
Last edited by coffeebreak on 2018-04-22, 19:06, edited 1 time in total.

Locked