We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83756a1 commit 585ef70Copy full SHA for 585ef70
grunt.js
@@ -82,7 +82,9 @@ function stripBanner( files ) {
82
}
83
84
function stripDirectory( file ) {
85
- return file.replace( /.+\/(.+)$/, "$1" );
+ // TODO: we're receiving the directive, so we need to strip the trailing >
86
+ // we should be receving a clean path without the directive
87
+ return file.replace( /.+\/(.+?)>?$/, "$1" );
88
89
// allow access from banner template
90
global.stripDirectory = stripDirectory;
@@ -138,7 +140,7 @@ grunt.initConfig({
138
140
src: [
139
141
"AUTHORS.txt",
142
"GPL-LICENSE.txt",
- "jquery-1.7.1.js",
143
+ "jquery-*.js",
144
"MIT-LICENSE.txt",
145
"README.md",
146
"grunt.js",
0 commit comments