.hidden
will provide faster selection than :hidden
as it doesn't need to check style rules or snything else, it only has to inspect the DOM tree. It won't force a layout, works well with styling, and is battery efficient.$0
is an alias in the Chrome command line to the most recently inspected DOM node. When you select something else, it becomes "$1" and so on.$_
declares a variable for the last command so that we can use it and inspect it's DOM structure easily. This is useful in comparison to $('label')
which is an invocation, which we cannot use command line autocomplete on.console.group()
- allows you to group multiple log statements so that you can expand and contract them.dir($0)
allows you to view any element as more of an object which makes it a bit easier to read.keys(jQuery)
will give you an array of all the keys in the command line.copy($_)
gives you a string based representation of the last object and copies it to your clipboard. You can pass this through JSON.stringify()
and get a JSON representation of that data.console.count("functionName")
will show you how many times a function is invoked.anonymous function
as it is often used as a callback in a library.grunt test
work. (Selenium and PhantomJS recommended)
grunt-contib-qunit
.travis.yml
grunt deploy
work
New devs are eager to learn and build. More experience developers can either be intimidating or inspiring. Be inspiring. A new dev's best weapon is his own curiousity. Hiring passionate, curious developers goes a long way in the learning process.
canvas
that we can draw on.