##Disable
document.onmousewheel = function(){ stopWheel(); } /* IE7, IE8 */
if(document.addEventListener){ /* Chrome, Safari, Firefox */
document.addEventListener('DOMMouseScroll', stopWheel, false);
}
function stopWheel(e){
body { | |
-webkit-text-size-adjust: none; | |
} |
##Disable
document.onmousewheel = function(){ stopWheel(); } /* IE7, IE8 */
if(document.addEventListener){ /* Chrome, Safari, Firefox */
document.addEventListener('DOMMouseScroll', stopWheel, false);
}
function stopWheel(e){
factory('cometd', function($rootScope) { | |
var cometd = $.cometd; | |
// Configure cometd | |
cometd.configure({ | |
url: location.protocol + '//' + location.host + config.contextPath + '/cometd', | |
logLevel: 'info' | |
}); | |
// Add a listener for the handshake *TODO* what should be done if message fails ? |
@font-face { | |
/* ... */ | |
unicode-range: U+10D0-10F0; | |
} |
var keyCode = {
/**
* keypress event key-codes
*/
'keyPress': {
'GraveAccent': 96, // `
'One': 49, // 1
'Two': 50, // 2
Default options for Prettier - https://prettier.io/docs/en/options.html
.prettierrc
:
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,