##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; | |
} |
1) Copy the /MyNameSpace/ folder in your /app/libraries/ directory | |
2) Create below listed files in /app/libraries/MyNameSpace/ directory and write your code. | |
3) Add "app/libraries" to autoload classmap object in composer.json file | |
4) Run "composer dump-autoload" command with your CLI. | |
5) Add Route::get('test', function() { return Myclass::myMethod(); }); closure function to your app/routes.php file. | |
6) Visit to page http://laravel/index.php/test and see the code in action. |
window.navigator.standalone |
##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