This file contains hidden or 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
| [core] | |
| editor = vim | |
| excludesfile = ~/.gitignore_global | |
| # Treat spaces before tabs and all kinds of trailing whitespace as an error. | |
| # [default] trailing-space: looks for spaces at the end of a line | |
| # [default] space-before-tab: looks for spaces before tabs at the beginning of | |
| # a line | |
| whitespace = space-before-tab,-indent-with-non-tab,trailing-space | |
| # Make `git rebase` safer on OS X | |
| # More info: <http://www.git-tower.com/blog/make-git-rebase-safe-on-osx/> |
This file contains hidden or 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
| 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" |
OlderNewer