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 A4D7EEA0F for ; Tue, 12 Feb 2013 19:33:08 +0000 (UTC) Received: (qmail 61779 invoked by uid 500); 12 Feb 2013 19:33:07 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 61721 invoked by uid 500); 12 Feb 2013 19:33:07 -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 61627 invoked by uid 99); 12 Feb 2013 19:33:07 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Feb 2013 19:33:07 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 34E6C51661; Tue, 12 Feb 2013 19:33:07 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: agrieve@apache.org To: commits@cordova.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [45/50] js commit: [windowsphone] modulemapper refactor for console. Message-Id: <20130212193307.34E6C51661@tyr.zones.apache.org> Date: Tue, 12 Feb 2013 19:33:07 +0000 (UTC) [windowsphone] modulemapper refactor for console. 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/b0b6259a Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/b0b6259a Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/b0b6259a Branch: refs/heads/symbolmapping Commit: b0b6259ac64137f3a2b4ecc746f11b46663831b7 Parents: c2354b2 Author: Andrew Grieve Authored: Fri Jan 25 16:01:22 2013 -0500 Committer: Andrew Grieve Committed: Tue Feb 12 14:24:33 2013 -0500 ---------------------------------------------------------------------- lib/windowsphone/platform.js | 11 ------ .../plugin/windowsphone/console/symbols.js | 25 +++++++++++++++ 2 files changed, 25 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-js/blob/b0b6259a/lib/windowsphone/platform.js ---------------------------------------------------------------------- diff --git a/lib/windowsphone/platform.js b/lib/windowsphone/platform.js index e36f21a..2fb103c 100644 --- a/lib/windowsphone/platform.js +++ b/lib/windowsphone/platform.js @@ -42,17 +42,6 @@ module.exports = { CordovaCommandResult: { path:"cordova/plugin/windowsphone/CordovaCommandResult" }, - navigator: { - children: { - console: { - path: "cordova/plugin/windowsphone/console" - - } - } - }, - console:{ - path: "cordova/plugin/windowsphone/console" - }, FileTransfer: { path: 'cordova/plugin/windowsphone/FileTransfer' }, http://git-wip-us.apache.org/repos/asf/cordova-js/blob/b0b6259a/lib/windowsphone/plugin/windowsphone/console/symbols.js ---------------------------------------------------------------------- diff --git a/lib/windowsphone/plugin/windowsphone/console/symbols.js b/lib/windowsphone/plugin/windowsphone/console/symbols.js new file mode 100644 index 0000000..5990b72 --- /dev/null +++ b/lib/windowsphone/plugin/windowsphone/console/symbols.js @@ -0,0 +1,25 @@ +/* + * 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/windowsphone/console', 'navigator.console'); +modulemapper.clobbers('cordova/plugin/windowsphone/console', 'console');