cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject git commit: split hten join, not join then join
Date Fri, 17 May 2013 23:14:11 GMT
Updated Branches:
  refs/heads/wp 0bddb5373 -> f088528ea


split hten join, not join then join


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/f088528e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/f088528e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/f088528e

Branch: refs/heads/wp
Commit: f088528ea90facb8b4a73778996f68a7b5e44fd0
Parents: 0bddb53
Author: Fil Maj <maj.fil@gmail.com>
Authored: Fri May 17 16:14:08 2013 -0700
Committer: Fil Maj <maj.fil@gmail.com>
Committed: Fri May 17 16:14:08 2013 -0700

----------------------------------------------------------------------
 src/util/csproj.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/f088528e/src/util/csproj.js
----------------------------------------------------------------------
diff --git a/src/util/csproj.js b/src/util/csproj.js
index 33ca3a7..12ed5db 100644
--- a/src/util/csproj.js
+++ b/src/util/csproj.js
@@ -13,7 +13,7 @@ csproj.prototype = {
         fs.writeFileSync(this.location, this.xml.write({indent:4}), 'utf-8');
     },
     addSourceFile:function(relative_path) {
-        relative_path = relative_path.join('/').join('\\');
+        relative_path = relative_path.split('/').join('\\');
         var item = new et.Element('ItemGroup');
         var compile = new et.Element('Compile');
         compile.attrib.Include = relative_path;
@@ -21,7 +21,7 @@ csproj.prototype = {
         this.xml.getroot().append(item);
     },
     removeSourceFile:function(relative_path) {
-        relative_path = relative_path.join('/').join('\\');
+        relative_path = relative_path.split('/').join('\\');
         var groups = this.xml.findall('ItemGroup');
         for (var i = 0, l = groups.length; i < l; i++) {
             var group = groups[i];


Mime
View raw message