File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ module.exports = function(grunt) {
153153 dest : '<%= paths.build %>/' ,
154154 options : {
155155 process : function ( content ) {
156- var scriptsRegex = / < ! - - b e g i n - s c r i p t s - - > (?: .* \r ? \n \s ) * < ! - - e n d - s c r i p t s - - > / ,
156+ let scriptsRegex = / < ! - - b e g i n - s c r i p t s - - > (?: .* \r ? \n \s ) * < ! - - e n d - s c r i p t s - - > / ,
157157 builtScriptTag = '<script type="text/javascript" src="../<%= files.cat %>"></script>' ;
158158 return content . replace ( scriptsRegex , grunt . template . process ( builtScriptTag ) ) ;
159159 }
@@ -261,7 +261,7 @@ module.exports = function(grunt) {
261261
262262 // custom task to build the gh-pages index.md file
263263 grunt . registerTask ( 'build:gh-pages' , 'Create the gh-pages markdown.' , function ( ) {
264- var template = grunt . file . read ( 'doc/gh-pages.template.md' ) ,
264+ let template = grunt . file . read ( 'doc/gh-pages.template.md' ) ,
265265 data = {
266266 pkg : grunt . file . readJSON ( 'package.json' ) ,
267267 doc : grunt . file . read ( 'doc/README.md' ) ,
You can’t perform that action at this time.
0 commit comments