To save the uncommitted changes:
# Either without a name $ git stash # Or with a stash name: $ git stash save funny-stash
To save the uncommitted changes:
# Either without a name $ git stash # Or with a stash name: $ git stash save funny-stash
When we have $ctrl
created by $componentController
, how to mock static members of a class?
let $ctrl = $componentController("funny-component", null);
Today I had one of the weirdest bugs of the year. With kendo combobox, whenever a dropdown arrow is clicked, the dropdown would roll up immediately and page would automatically focus on another input.
Where to find:
*All the references of the talk are in the Author’s note part under each slide.
That was a very vague error message when installing certain gems. What we need to do is:
For people who use Angular, calling $timeout(fn)
without a second parameter is a very familiar way of deferring execution.
But what about in plain JavaScript?
Angular testing can be confusing. To make it less confusing, lets talk about a major part: $componentController
.
Sometimes when we pull from upstream origin in terminal, we see git prompting to enter vim. And if we left it hanging there and went ahead committing somewhere else, it would treat all those changes in master as your own contribution, because merge didn’t happen before commit.