window
,navigator
- BOM - Browser Object Model
navigator
represents the the browser basic code (or kernel) and properties, like version, user agent string, language, geolocation options and so on.window
is a "god object" containing all browser components, such as the address bar (window.location
), modal dialogues (alert()
,prompt()
) and the window being displayed on screen itself. It's also the top object where all global variables are assigned to.
- BOM - Browser Object Model
document
- DOM - Document Object Model
- Contains all of the content being displayed - in other words, whatever is inside the
window
.
- The
document
represents all content as nodes - tags, text, images, and so on.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
start=`date +%s` | |
bold=$(tput bold) | |
normal=$(tput sgr0) | |
red=`tput setaf 1` | |
green=`tput setaf 2` | |
reset=`tput sgr0` |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/