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
69da8842
authored
2015-12-15 16:08:51 -0600
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fix string split in embedded javascript as part of fixRequireConfig
task.
1 parent
49c5b765
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
grunt-monty-python.js
grunt-monty-python.js
View file @
69da884
...
...
@@ -116,7 +116,7 @@ module.exports = function (grunt) {
' for (prop in overlay) {'
,
' value = overlay[prop];'
,
' ptr = require;'
,
' list =
split(".", prop
);'
,
' list =
prop.split("."
);'
,
' for (i = 0; i < list.length; i++) {'
,
' if (!ptr[list[i]]) ptr[list[i]] = {};'
,
' ptr = ptr[list[i]];'
,
...
...
Please
register
or
sign in
to post a comment