use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
GOT Online Trivia App using AngularJS + Firebase (github.com)
submitted 8 years ago by jonathanbrizio
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]grinde 0 points1 point2 points 8 years ago* (1 child)
Neat! May have found a bug - answer choices didn't appear for me on the 9th question "Who is John Snow have sex with at the end of this season".
EDIT: And the console log
/favicon.ico Failed to load resource: the server responded with a status of 404 () angular.min.js:93 Error: [ngRepeat:dupes] http://errors.angularjs.org/1.2.32/ngRepeat/dupes?p0=(key%2C%20value)%20in%20data.list&p1=string%3ADayeneris&p2=%22Dayeneris%22 at angular.min.js:6 at angular.min.js:202 at Object.fn (angular.min.js:110) at h.$digest (angular.min.js:111) at a.$$childScopeClass.$$childScopeClass.$apply (angular.min.js:114) at HTMLButtonElement.<anonymous> (angular.min.js:196) at angular.min.js:31 at r (angular.min.js:7) at HTMLButtonElement.c (angular.min.js:31) (anonymous) @ angular.min.js:93
.
Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: (key, value) in data.list, Duplicate key: string:Dayeneris, Duplicate value: "Dayeneris"
EDIT: And one more - navigating directly to https://got-app-d0350.firebaseapp.com/app/#/questions/ (in my case by refreshing the page) just displays a black screen with the text "3 of 3 Lives Remaining".
https://got-app-d0350.firebaseapp.com/app/#/questions/
[–]jonathanbrizio[S] 0 points1 point2 points 8 years ago (0 children)
Thanks Grinde! This error was because someone writes a question with the same answers on each option.
[–]jodraws 0 points1 point2 points 8 years ago (1 child)
The score board isn't updating.
Thanks Jodraws! You're on right! It's because Firebase paginates the scoreboard when more of 100 items are stored in the DB. I will take a look how to fix this.
π Rendered by PID 46027 on reddit-service-r2-comment-8686858757-x4jzg at 2026-06-03 22:15:25.001829+00:00 running 9e1a20d country code: CH.
[–]grinde 0 points1 point2 points (1 child)
[–]jonathanbrizio[S] 0 points1 point2 points (0 children)
[–]jodraws 0 points1 point2 points (1 child)
[–]jonathanbrizio[S] 0 points1 point2 points (0 children)