You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2013/05/18 01:14:11 UTC
git commit: split hten join, not join then join
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 <ma...@gmail.com>
Authored: Fri May 17 16:14:08 2013 -0700
Committer: Fil Maj <ma...@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];