minitech

Canada

Age: 18

If you don’t use code formatting for emphasis, we can probably be friends.

6h
comment Why is this object undefined?
Putting this.someVariable; alone in a statement doesn’t “declare” it or anything of the sort, so don’t do that.
8h
comment How to use prototypal inheritance?
No, you would have to do Object.create(o.prototype). prototype is meaningless there, too, since o isn’t a function.
12h
comment Browserify - global vars
require-compatible things generally won’t do their usual global assignment when required.
12h
comment Retaining Git Commit History in commit message when Merging branches in Git
Is git merge --log what you’re looking for?
16h
comment Not recommended to write out "use strict" with ES6?
ES6 modules and classes are strict by default.
16h
revised Python retrieve individual item from fetchone()
typo
1d
comment Understanding inner function with this in Javascript
Not passing anything to call is a bit redundant; you can just do .bind(this)(). (If it’s for clarity’s sake… maybe assign it to something instead.)
1d
answered Understanding inner function with this in Javascript
1d
comment Why `return` doesn't interrupt the function?
Function declaration hosting on MDN
1d
comment How to show an element and hide when click on another
You don’t have to select the element using the id you just extracted from it. id = this.id; $(this).removeClass("hidden");
1d
comment Transition Effect onClick
You’re trying to transition between images? That’s not very easy, unfortunately; you’ll need to create a second image, position it over top of the other, and animate its opacity.
1d
comment Is it possible to get a Print Screen of a Blue Screen of Death?
No, that’s not possible. Take a picture using a camera.
1d
comment Checking if an object is a promising function
I said in the parentheses that and why it isn’t. Can’t you check its return value when it’s called?
1d
comment Checking if an object is a promising function
Are those the only two options you need to distinguish (function or string)? That’s much more straightforward/possible. (Yes, determining whether a function returns a promise is impossible, because you can make a function that only returns a promise sometimes.)
1d
comment Checking if an object is a promising function
Do you want to check the function, or what it returns?
2d
revised Append input text field with value of a div
Clearer!
2d
answered Extra byte when creating dynamic string
2d
comment How to send "<" characters to Word documents (.doc, docx) using Sendkeys method
What does “decreasing characters punto only” mean?
2d
answered PhantomJS running a script against a specific HTML file?
2d
awarded Supporter
1 2 3 4 5