File tree Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ module.exports = function(grunt) {
31
31
jasmine : {
32
32
dist : {
33
33
options : {
34
- specs : 'tests/*Spec.js' ,
34
+ specs : 'tests/*Spec.js'
35
35
} ,
36
36
src : minDistPath
37
37
}
@@ -41,14 +41,9 @@ module.exports = function(grunt) {
41
41
development : {
42
42
options : {
43
43
banner : banner ,
44
- nonull : true ,
45
-
46
- process : function ( src , filepath ) {
47
- return '\t' + src . replace ( / \n / g, '\n\t' ) ; // indent each source file, which is placed inside the UMD block
48
- }
44
+ nonull : true
49
45
} ,
50
46
src : [
51
- 'src/umdBegin.js' ,
52
47
'src/Autolinker.js' ,
53
48
'src/Util.js' ,
54
49
'src/HtmlParser.js' ,
@@ -58,10 +53,9 @@ module.exports = function(grunt) {
58
53
'src/match/Email.js' ,
59
54
'src/match/Twitter.js' ,
60
55
'src/match/Url.js' ,
61
- 'src/umdEnd.js'
62
56
] ,
63
- dest : distPath ,
64
- } ,
57
+ dest : distPath
58
+ }
65
59
} ,
66
60
67
61
uglify : {
@@ -70,7 +64,7 @@ module.exports = function(grunt) {
70
64
banner : banner
71
65
} ,
72
66
src : [ distPath ] ,
73
- dest : minDistPath ,
67
+ dest : minDistPath
74
68
}
75
69
} ,
76
70
@@ -117,8 +111,6 @@ module.exports = function(grunt) {
117
111
grunt . registerTask ( 'doc' , "Builds the documentation." , [ 'jshint' , 'jsduck' ] ) ;
118
112
grunt . registerTask ( 'serve' , [ 'connect:server:keepalive' ] ) ;
119
113
120
-
121
-
122
114
/**
123
115
* Creates the banner comment with license header that is placed over the concatenated/minified files.
124
116
*
You can’t perform that action at this time.
0 commit comments