Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
grunt-monty-python
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
b7140c57
authored
2016-05-24 14:13:10 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Turn off jshint error about Function eval.
1 parent
9f524f72
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
grunt-monty-python.js
grunt-monty-python.js
View file @
b7140c5
...
...
@@ -441,6 +441,7 @@ module.exports = function (grunt) {
var
stringify
=
require
(
'node-stringify'
);
//templateOptions.requireConfig.callback = eval('(' + stringify(callbackBuilder) + ')(' + JSON.stringify(mpConfig.base) + ')');
/*jshint -W054*/
templateOptions
.
requireConfig
.
callback
=
new
Function
(
stringify
(
instrumentationCallback
)
+
'('
+
JSON
.
stringify
(
mpConfig
.
base
)
+
');'
);
templateOptions
=
{
...
...
Please
register
or
sign in
to post a comment