You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2014/09/24 05:44:22 UTC
[08/21] js commit: Removed old comment
Removed old comment
Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/8520c662
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/8520c662
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/8520c662
Branch: refs/heads/cb-7219
Commit: 8520c66281fd2727d27c6601dbb44a966d3d1892
Parents: de45d81
Author: Suraj Pindoria <su...@yahoo.com>
Authored: Tue Aug 26 10:17:07 2014 -0700
Committer: Suraj Pindoria <su...@yahoo.com>
Committed: Tue Aug 26 10:17:07 2014 -0700
----------------------------------------------------------------------
tasks/lib/require-tr.js | 2 --
1 file changed, 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-js/blob/8520c662/tasks/lib/require-tr.js
----------------------------------------------------------------------
diff --git a/tasks/lib/require-tr.js b/tasks/lib/require-tr.js
index ed0e95d..c71ab98 100644
--- a/tasks/lib/require-tr.js
+++ b/tasks/lib/require-tr.js
@@ -105,8 +105,6 @@ function _updateRequires(code) {
// Uglify is not able to recognize Windows style paths using '\' instead of '/'
// So replacing all of the '/' back to Windows '\'
-
- // FIXME: need to better handle cases of modulemapper replace
if (node.args[0].value !== undefined && node.args[0].value.indexOf(root) !== -1 && process.platform === 'win32') {
node.args[0].value = node.args[0].value.replace(/\//g, '\\');
}