Andy E

United Kingdom

whattheheadsaid.com

Age: 32

I'm mainly a JavaScript coder, with some experience in other languages.

4h
comment How to open all modified files with git?
@edi9999 --porcelain is not relative to the current working directory, which may be a valid reason to use --short instead.
11h
comment Shortened syntax wastes memory?
@bm_i: you're right, of course. I've updated along with a couple of newer options for ES 2015.
11h
revised Shortened syntax wastes memory?
added 724 characters in body
Aug
23
comment Empty files uploaded in Android Native browser
@jacob, glad you got it working. I'm away at the moment so I can't update the answer but feel free to hit the edit button. I'll take your advice and use carriage return in my own code when I get back. Cheers ;-)
Aug
17
comment Leaflet Google Map plugin freezes on pinch zoom
This fixed the problem I was having, thanks.
Aug
13
awarded Good Answer
Aug
13
comment finding out if console is available
@matpop: scripts that were written before window.console was a thing could accidentally override the variable with a global called console. That's a pretty unlikely scenario these days so I've edited my post to simplify the answer.
Aug
13
revised finding out if console is available
added 18 characters in body
Aug
12
awarded Nice Answer
Aug
11
revised Sleep in javascript - no setTimeout
edited tags
Aug
3
awarded Famous Question
Aug
3
awarded Guru
Jul
30
awarded Great Question
Jul
24
awarded Great Answer
Jul
22
awarded Autobiographer
Jul
21
comment Retrieve the position (X,Y) of an HTML element
@DanDascalescu see the second part of my answer, where an element's position is compared to the body element's position.
Jul
17
awarded Supporter
Jul
15
awarded Good Question
Jul
15
comment How to build & deploy a Samsung SmartTV app without the IDE (e.g: on Linux)
Interesting, that looks pretty cool!
Jul
15
revised Access object child properties using a dot notation string
added 250 characters in body
1 2 3 4 5