69da8842 by Adam Heath

Fix string split in embedded javascript as part of fixRequireConfig

task.
1 parent 49c5b765
...@@ -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]];',
......