1
0
mirror of https://github.com/moparisthebest/mail synced 2025-02-16 15:10:10 -05:00

added lib ngTagsInput to the app

This commit is contained in:
Mario Volke 2014-09-15 12:01:13 +02:00
parent da246d4a03
commit ad5617dc7d
4 changed files with 75 additions and 56 deletions

View File

@ -123,7 +123,8 @@ module.exports = function(grunt) {
'axe-logger/axe.js', 'axe-logger/axe.js',
'dompurify/purify.js', 'dompurify/purify.js',
'jquery/dist/jquery.min.js', 'jquery/dist/jquery.min.js',
'ng-infinite-scroll/build/ng-infinite-scroll.min.js' 'ng-infinite-scroll/build/ng-infinite-scroll.min.js',
'ng-tags-input/build/ng-tags-input.min.js'
], ],
dest: 'src/lib/' dest: 'src/lib/'
}, },

View File

@ -8,7 +8,17 @@
"type": "git", "type": "git",
"url": "https://github.com/whiteout-io/mail-html5.git" "url": "https://github.com/whiteout-io/mail-html5.git"
}, },
"keywords": ["email", "mail", "client", "app", "openpgp", "pgp", "gpg", "imap", "smtp"], "keywords": [
"email",
"mail",
"client",
"app",
"openpgp",
"pgp",
"gpg",
"imap",
"smtp"
],
"engines": { "engines": {
"node": ">=0.10" "node": ">=0.10"
}, },
@ -29,7 +39,8 @@
"ng-infinite-scroll": "~1.1.2", "ng-infinite-scroll": "~1.1.2",
"pgpbuilder": "~0.4.0", "pgpbuilder": "~0.4.0",
"pgpmailer": "~0.4.0", "pgpmailer": "~0.4.0",
"requirejs": "~2.1.14" "requirejs": "~2.1.14",
"ng-tags-input": "~2.1.1-1"
}, },
"devDependencies": { "devDependencies": {
"angularjs": "https://github.com/whiteout-io/angular.js/tarball/npm-version", "angularjs": "https://github.com/whiteout-io/angular.js/tarball/npm-version",

View File

@ -27,7 +27,8 @@ requirejs([
'fastclick', 'fastclick',
'angularRoute', 'angularRoute',
'angularAnimate', 'angularAnimate',
'ngInfiniteScroll' 'ngInfiniteScroll',
'ngTagsInput'
], function( ], function(
angular, angular,
DialogCtrl, DialogCtrl,
@ -70,7 +71,8 @@ requirejs([
'login-new-device', 'login-new-device',
'privatekey-upload', 'privatekey-upload',
'popover', 'popover',
'infinite-scroll' 'infinite-scroll',
'ngTagsInput'
]); ]);
// set router paths // set router paths

View File

@ -16,6 +16,7 @@
angularRoute: 'angular/angular-route.min', angularRoute: 'angular/angular-route.min',
angularAnimate: 'angular/angular-animate.min', angularAnimate: 'angular/angular-animate.min',
ngInfiniteScroll: 'ng-infinite-scroll.min', ngInfiniteScroll: 'ng-infinite-scroll.min',
ngTagsInput: 'ng-tags-input.min',
uuid: 'uuid/uuid', uuid: 'uuid/uuid',
forge: 'forge/forge.min', forge: 'forge/forge.min',
punycode: 'punycode.min', punycode: 'punycode.min',
@ -45,6 +46,10 @@
exports: 'angular', exports: 'angular',
deps: ['jquery', 'angular'] deps: ['jquery', 'angular']
}, },
ngTagsInput: {
exports: 'angular',
deps: ['angular']
},
lawnchair: { lawnchair: {
exports: 'Lawnchair' exports: 'Lawnchair'
}, },