This is a refined version of @AndrewHathaway's and @DannyLePage's javascript site pattern.
Has global methods, site wide methods, and page-specific methods.
/* | |
SublimeLinter default settings | |
*/ | |
{ | |
/* | |
Sets the mode in which SublimeLinter runs: | |
true - Linting occurs in the background as you type (the default). | |
false - Linting only occurs when you initiate it. | |
"load-save" - Linting occurs only when a file is loaded and saved. |
$this = $('.my-swipe-area'); | |
var touch = { | |
start: false, | |
stop: false | |
}; | |
$this.on('touchstart', function(e){ | |
touch.start = e.originalEvent.touches[0].pageX; | |
}); |
This is a refined version of @AndrewHathaway's and @DannyLePage's javascript site pattern.
Has global methods, site wide methods, and page-specific methods.