Hacker Newsnew | past | comments | ask | show | jobs | submit | mmabbq's commentslogin

Turns out I was curious too, so I tried to de-minify it myself. Now I get to see how close I was.

https://pastebin.com/FKyz20LG


I think there's a minor typo in the trimming examples:

  "  Trim Me  ".trim() // "Trim"
should be

  "  Trim Me  ".trim() // "Trim Me"


Thank you! I've fixed it.


Yeah the JSON file with key mappings (http://s.cdpn.io/190177/keyboard_.json) appears to have an incorrect mapping for ';'.

It says 186, but console.log(code) returns 59 for me. If I update the javascript to replace the 186 with 59 the sound will play, but to get proper CSS effects I think the JSON file needs to be corrected.


I feel kinda bad that you're being downvoted. I also felt the presentation was a little jarring. The right panel seemed to change at strange times related to the content I was reading. Perhaps it was an overuse of the "change things while the user is scrolling to make it seem cool" theme I've been seeing a lot.

On the other hand, I actually found the content pretty great, but I'm not a web developer so take that with a grain of salt...


  setTimeout(function(){
  	topito.go( 50 );
  }, 1000);
I think that's intended. I also use 27.0.1 and if you click the buttons the progress works fine.


This is pretty neat, but I find it pretty annoying that my eyes have to keep shifting up and down to read the explanation for each command. It would be nice if the explanation text popped up closer to where my eyes are already focused.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: