Fix string split in embedded javascript as part of fixRequireConfig
task.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -116,7 +116,7 @@ module.exports = function (grunt) { | ... | @@ -116,7 +116,7 @@ module.exports = function (grunt) { |
116 | ' for (prop in overlay) {', | 116 | ' for (prop in overlay) {', |
117 | ' value = overlay[prop];', | 117 | ' value = overlay[prop];', |
118 | ' ptr = require;', | 118 | ' ptr = require;', |
119 | ' list = split(".", prop);', | 119 | ' list = prop.split(".");', |
120 | ' for (i = 0; i < list.length; i++) {', | 120 | ' for (i = 0; i < list.length; i++) {', |
121 | ' if (!ptr[list[i]]) ptr[list[i]] = {};', | 121 | ' if (!ptr[list[i]]) ptr[list[i]] = {};', |
122 | ' ptr = ptr[list[i]];', | 122 | ' ptr = ptr[list[i]];', | ... | ... |
-
Please register or sign in to post a comment