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
function getPerformanceData() { | |
var perf = window.performance || window.msPerformance || window.webkitPerformance || window.mozPerformance; | |
if (perf) { | |
var t = perf.timing; | |
return [ | |
// Time required for domain lookup. | |
t.domainLookupEnd - t.domainLookupStart, | |
// Time to establish a connection to server. | |
t.connectEnd - t.connectStart, |
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
UTIL = { | |
exec: function( controller, action ) { | |
var ns = SITENAME, | |
action = ( action === undefined ) ? "init" : action; | |
if ( controller !== "" && ns[controller] && typeof ns[controller][action] == "function" ) { | |
ns[controller][action](); | |
} | |
}, | |
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
Show hidden characters
{ | |
//Turn on tab completing over hitting enter | |
"auto_complete_commit_on_tab": true, | |
//Auto indenting on new line within block | |
"auto_indent": true, | |
//Mine is Solarized Dark | |
"color_scheme": "Your theme of choice", |
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
{ | |
"auto_complete_commit_on_tab": true, | |
"auto_indent": true, | |
"color_scheme": "Packages/Color Scheme - Default/Solarized (Dark).tmTheme", | |
"dictionary": "Packages/Language - English/en_GB.dic", | |
"draw_minimap_border": false, | |
"draw_white_space": "all", | |
"fallback_encoding": "UTF-8", | |
"folder_exclude_patterns": | |
[ |
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
{ | |
"auto_complete_commit_on_tab": true, | |
"auto_indent": true, | |
"color_scheme": "Packages/Color Scheme - Default/Solarized (Dark).tmTheme", | |
"dictionary": "Packages/Language - English/en_GB.dic", | |
"draw_minimap_border": false, | |
"draw_white_space": "all", | |
"fallback_encoding": "UTF-8", | |
"font_size": 14.0, | |
"highlight_line": true, |
NewerOlder