add faskclick

This commit is contained in:
Matias Alejo Garcia 2014-12-03 13:53:07 -03:00 committed by Gustavo Maximiliano Cortez
parent 3627671307
commit 2f6e28f5e7
3 changed files with 3 additions and 0 deletions

View File

@ -118,6 +118,7 @@ module.exports = function(grunt) {
'lib/lodash/dist/lodash.js', 'lib/lodash/dist/lodash.js',
'lib/bitcore.js', 'lib/bitcore.js',
'lib/file-saver/FileSaver.js', 'lib/file-saver/FileSaver.js',
'lib/fastclick/lib/fastclick.js',
'lib/socket.io-client/socket.io.js', 'lib/socket.io-client/socket.io.js',
'lib/sjcl.js', 'lib/sjcl.js',
'lib/qrcode-decoder-js/lib/qrcode-decoder.min.js' 'lib/qrcode-decoder-js/lib/qrcode-decoder.min.js'

View File

@ -24,6 +24,7 @@
"angular-load": "0.2.0", "angular-load": "0.2.0",
"lodash": "~2.4.1", "lodash": "~2.4.1",
"angular-gravatar": "*", "angular-gravatar": "*",
"fastclick": "*",
"angular-touch": "~1.3.0" "angular-touch": "~1.3.0"
}, },
"resolutions": { "resolutions": {

View File

@ -111,6 +111,7 @@ angular
$keepaliveProvider.interval(30); // in seconds $keepaliveProvider.interval(30); // in seconds
}) })
.run(function($rootScope, $location, $idle, gettextCatalog, uriHandler) { .run(function($rootScope, $location, $idle, gettextCatalog, uriHandler) {
FastClick.attach(document.body);
gettextCatalog.currentLanguage = config.defaultLanguage; gettextCatalog.currentLanguage = config.defaultLanguage;
// not for mobileApp // not for mobileApp
if (!window.cordova) { if (!window.cordova) {