Updated Branches: refs/heads/master2 d30ffea0a -> 5011b0caf
2.8.14. fixed `serve` command. Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/5011b0ca Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/5011b0ca Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/5011b0ca Branch: refs/heads/master2 Commit: 5011b0caf89d65ce675688f4481a488f68969dfc Parents: d30ffea Author: Fil Maj <[email protected]> Authored: Mon Jun 10 11:44:23 2013 -0700 Committer: Fil Maj <[email protected]> Committed: Mon Jun 10 11:44:23 2013 -0700 ---------------------------------------------------------------------- package.json | 2 +- src/serve.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/5011b0ca/package.json ---------------------------------------------------------------------- diff --git a/package.json b/package.json index 8171370..9df54cb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova", - "version": "2.8.13", + "version": "2.8.14", "preferGlobal": "true", "description": "Cordova command line interface tool", "main": "cordova", http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/5011b0ca/src/serve.js ---------------------------------------------------------------------- diff --git a/src/serve.js b/src/serve.js index b5036de..7a2b1d4 100644 --- a/src/serve.js +++ b/src/serve.js @@ -1,4 +1,3 @@ - /** Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file @@ -122,7 +121,7 @@ module.exports.config = function (platform, port, callback) { // Top-level www directory. result.paths.push(cordova_util.projectWww(projectRoot)); - var parser = platforms[platform].parser(path.join(projectRoot, 'platforms', platform)); + var parser = new platforms[platform].parser(path.join(projectRoot, 'platforms', platform)); // Update the related platform project from the config parser.update_project(cfg, function() {
