Skip to content
This repository was archived by the owner on May 25, 2019. It is now read-only.

Commit d11f93d

Browse files
committed
Merge pull request #79 from angular-ui/chore-grunt-use-ng-annotate
chore(grunt): update from ngmin to ngannotate
2 parents 946f52a + 7ba4c8a commit d11f93d

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

gruntFile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = function (grunt) {
66
// Default task.
77
grunt.registerTask('default', ['jshint', 'karma:unit']);
88
grunt.registerTask('serve', ['connect:continuous', 'karma:continuous', 'watch']);
9-
grunt.registerTask('dist', ['ngmin', 'uglify']);
9+
grunt.registerTask('dist', ['ngAnnotate', 'uglify']);
1010

1111
// HACK TO ACCESS TO THE COMPONENT-PUBLISHER
1212
function fakeTargetTask(prefix){
@@ -126,7 +126,7 @@ module.exports = function (grunt) {
126126
}
127127
},
128128

129-
ngmin: {
129+
ngAnnotate: {
130130
main: {
131131
expand: true,
132132
cwd: 'src',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"grunt-contrib-watch": "~0.6.0",
1818
"grunt-conventional-changelog": "~1.1.0",
1919
"grunt-karma": "~0.9.0",
20-
"grunt-ngmin": "0.0.3",
20+
"grunt-ng-annotate": "0.8.0",
2121
"karma": "~0.12.0",
2222
"karma-chrome-launcher": "~0.1.1",
2323
"karma-coffee-preprocessor": "~0.2.1",

src/ui-codemirror.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ angular.module('ui.codemirror', [])
77
.constant('uiCodemirrorConfig', {})
88
.directive('uiCodemirror', uiCodemirrorDirective);
99

10+
/**
11+
* @ngInject
12+
*/
1013
function uiCodemirrorDirective($timeout, uiCodemirrorConfig) {
1114

1215
return {

0 commit comments

Comments
 (0)