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/02/08 00:07:23 UTC

[1/2] git commit: Revert "Add a check to config_parser that root tag is ."

Updated Branches:
  refs/heads/master d55087fd6 -> 53093ae6c


Revert "Add a check to config_parser that root tag is <widget>."

This reverts commit 837e8e367ae4feed4854f9ac95a8e906c893d818.


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

Branch: refs/heads/master
Commit: 134aa64055965a5119aafc87d74ce4031dc0b80a
Parents: d55087f
Author: Steven Gill <st...@gmail.com>
Authored: Fri Feb 7 15:05:57 2014 -0800
Committer: Steven Gill <st...@gmail.com>
Committed: Fri Feb 7 15:05:57 2014 -0800

----------------------------------------------------------------------
 src/config_parser.js | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/134aa640/src/config_parser.js
----------------------------------------------------------------------
diff --git a/src/config_parser.js b/src/config_parser.js
index 4267d30..b6293d8 100644
--- a/src/config_parser.js
+++ b/src/config_parser.js
@@ -27,11 +27,6 @@ function config_parser(path) {
     } catch (e) {
         throw new Error("Parsing "+path+" failed:\n"+e.message);
     }
-    var r = this.doc.getroot();
-    var xmlns ='http://www.w3.org/ns/widgets';
-    if((r.tag !== 'widget') || !r.attrib || (r.attrib.xmlns !== xmlns)) {
-        throw new Error("This file does not seem to be a cordova config.xml file: " + path);
-    }
     this.access = new access(this);
     this.preference = new preference(this);
 }


[2/2] git commit: CB-5992: reverting commit until 3.4.0

Posted by st...@apache.org.
CB-5992: reverting commit until 3.4.0


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

Branch: refs/heads/master
Commit: 53093ae6c2415790b29a3aaeadc10b41346be1fc
Parents: 134aa64
Author: Steven Gill <st...@gmail.com>
Authored: Fri Feb 7 15:07:18 2014 -0800
Committer: Steven Gill <st...@gmail.com>
Committed: Fri Feb 7 15:07:18 2014 -0800

----------------------------------------------------------------------
 package.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/53093ae6/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index d85674e..72daaa6 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "cordova",
-  "version": "3.3.1-0.3.2-dev",
+  "version": "3.3.1-0.4.0",
   "preferGlobal": "true",
   "description": "Cordova command line interface tool",
   "main": "cordova",