Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 75CC7E5A0 for ; Wed, 27 Feb 2013 21:09:58 +0000 (UTC) Received: (qmail 20665 invoked by uid 500); 27 Feb 2013 21:09:57 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 20593 invoked by uid 500); 27 Feb 2013 21:09:57 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 20115 invoked by uid 99); 27 Feb 2013 21:09:57 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2013 21:09:57 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id CF6F91038A; Wed, 27 Feb 2013 21:09:56 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: gtanner@apache.org To: commits@cordova.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [6/31] js commit: [win8] modulemapper refactor for App plugin. Message-Id: <20130227210956.CF6F91038A@tyr.zones.apache.org> Date: Wed, 27 Feb 2013 21:09:56 +0000 (UTC) [win8] modulemapper refactor for App plugin. https://issues.apache.org/jira/browse/CB-2227 Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/4c8d451b Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/4c8d451b Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/4c8d451b Branch: refs/heads/next Commit: 4c8d451b82982b7e0f2dccc9c47a062f99b786bd Parents: c5865e2 Author: Andrew Grieve Authored: Fri Jan 25 15:48:17 2013 -0500 Committer: Andrew Grieve Committed: Wed Feb 20 15:13:26 2013 -0500 ---------------------------------------------------------------------- lib/windows8/platform.js | 7 ----- lib/windows8/plugin/windows8/console/symbols.js | 24 ++++++++++++++++++ 2 files changed, 24 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-js/blob/4c8d451b/lib/windows8/platform.js ---------------------------------------------------------------------- diff --git a/lib/windows8/platform.js b/lib/windows8/platform.js index 03d83bc..f3626db 100755 --- a/lib/windows8/platform.js +++ b/lib/windows8/platform.js @@ -75,13 +75,6 @@ module.exports = { path: 'cordova/commandProxy' } } - }, - navigator: { - children: { - console: { - path: "cordova/plugin/windows8/console" - } - } } } }; http://git-wip-us.apache.org/repos/asf/cordova-js/blob/4c8d451b/lib/windows8/plugin/windows8/console/symbols.js ---------------------------------------------------------------------- diff --git a/lib/windows8/plugin/windows8/console/symbols.js b/lib/windows8/plugin/windows8/console/symbols.js new file mode 100644 index 0000000..c91f429 --- /dev/null +++ b/lib/windows8/plugin/windows8/console/symbols.js @@ -0,0 +1,24 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * +*/ + + +var modulemapper = require('cordova/modulemapper'); + +modulemapper.clobbers('cordova/plugin/windows8/console', 'navigator.console');