Real unit test (isolation, no children render)
Calls:
- constructor
- render
[06:45:34] <relrod> Do not ask me to rant about CS education. https://images.srv1.elrod.me/do-not-ask-me-to-rant-about-cs-education.png | |
[06:45:39] <relrod> bad idea for everyone | |
[06:45:40] <relrod> :slightly_smiling_face: | |
[12:30:07] *** Joins: caraballo114 ([email protected]) | |
[12:53:11] <djday01> CS education in general or at YSU? | |
[13:08:24] <tonymorris> they still teaching you the object oriented woowoo magix? | |
[22:16:27] <mrdegenova> I mean, they teach it, but they don't claim its magic, just another tool in the toolbox and one that is widely used in the world. | |
[22:17:46] <mrdegenova> @relrod This one was made with you in mind :joy: https://imgs.xkcd.com/comics/team_chat.png | |
[22:36:05] <tonymorris> haha, I used to lecture OO nonsense 15 years ago. http://blog.higher-order.com/blog/2008/12/04/no-such-thing/ | |
[23:22:53] <mrdegenova> Just because there is no strict definition of OO, doesn't mean that its style isn't used. It is indeed widely used, and YSU focuses on "teaching for the job/real world" |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
This entire guide is based on an old version of Homebrew/Node and no longer applies. It was only ever intended to fix a specific error message which has since been fixed. I've kept it here for historical purposes, but it should no longer be used. Homebrew maintainers have fixed things and the options mentioned don't exist and won't work.
I still believe it is better to manually install npm separately since having a generic package manager maintain another package manager is a bad idea, but the instructions below don't explain how to do that.
Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.
var parser = document.createElement('a'); | |
parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
parser.protocol; // => "http:" | |
parser.hostname; // => "example.com" | |
parser.port; // => "3000" | |
parser.pathname; // => "/pathname/" | |
parser.search; // => "?search=test" | |
parser.hash; // => "#hash" | |
parser.host; // => "example.com:3000" |
// swap the keybindings for paste and paste_and_indent | |
{ "keys": ["super+v"], "command": "paste_and_indent" }, | |
{ "keys": ["super+shift+v"], "command": "paste" } |