Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 105BA1015A for ; Tue, 2 Dec 2014 16:14:50 +0000 (UTC) Received: (qmail 23138 invoked by uid 500); 2 Dec 2014 16:14:49 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 23095 invoked by uid 500); 2 Dec 2014 16:14:49 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 23082 invoked by uid 99); 2 Dec 2014 16:14:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2014 16:14:49 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mmocny@google.com designates 209.85.220.177 as permitted sender) Received: from [209.85.220.177] (HELO mail-vc0-f177.google.com) (209.85.220.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2014 16:14:44 +0000 Received: by mail-vc0-f177.google.com with SMTP id ij19so5707358vcb.8 for ; Tue, 02 Dec 2014 08:12:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=jL1aBPOyXw2h2OYgXziZ0a+bn2ANSZ79WeCZcoROyg8=; b=iesnTw/eQmqqDEz3rUwWxWM6vc4vGiYOMyUilRYsLsjDiUkvSRL36yhaDt20PMiyzt pTJDvV7/f40A13HTbejY1HAyBEcPIbkUPS/WI0PlC//qAZ0tdlU/j2uxsJrwdjl6JugP e5F7oOSqUKdWj2Y8SGyJ3sUEFDwxQ55SV+/hGHNkCemLH5wFcq3BayVjyVP0JplRDWUs ir/Ojud3NFso2FL0VtQiGVdZl8wCOUiupPfwxF4EPLjduDbruGHUB8vHss5H+/9++id6 wEs84gHiw7SQGIdz+TpcmGRBxB+8MAVDXLgTHUmzOulvvkI4+UTPP8HUXQ2x1snb4yOS 8h1A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=jL1aBPOyXw2h2OYgXziZ0a+bn2ANSZ79WeCZcoROyg8=; b=TSVAoJZtKmB7ABTKxW/r3z+FJsgADo3rEMVvFRpIosrCaHoZbiObaKfbq46xUFovg8 SQE8Pvi1Jjfj6T4h4r5t+OhZm2j/xbQ+dg6/WzGYvnxBrUIeHkI5UOAB58Y5ueYU6ESz Y2cRu8cmcH8kO0TAA6DSoeG0/Mi40hsbGcnN0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:content-type; bh=jL1aBPOyXw2h2OYgXziZ0a+bn2ANSZ79WeCZcoROyg8=; b=C7FO502dykP51ELFGFrX1iA44o5SZKx65Ahc+1AjZIYXj/qcbfVAaLW6bIjdWAnRq1 ay4JjQEb6mjHpSizGtLPDovY9VNiWpbDueUij8Pf94I4DBUxj3CndP75I+cRjfC0Nm4/ AFsgxYC8it9ArW10slvEeClX9IG/+qs+KortDpraNOqzsE5b9jsQEcnIpsBtdjlARp5L Y/A6tWI7mqvq0DR1yNGnK3sBYMwG7FSe0GEPnn880Dt3P5NYuEPpLttnc3MT7+so/8pp AcMoMbz4QNvEyg7ot7Og1zqcDaew37PpGdkZ/Et3liSMuIMHXouRT36u9ctouec/eKe6 ELEQ== X-Gm-Message-State: ALoCoQnt5PSrek9nltOWsXo6SPATc5zlODqoOo944kLrGIVqqiofjOpdQ6yJdEi2bQF+ZO6eicad X-Received: by 10.52.63.226 with SMTP id j2mr61537vds.34.1417536728556; Tue, 02 Dec 2014 08:12:08 -0800 (PST) MIME-Version: 1.0 Sender: mmocny@google.com Received: by 10.52.135.212 with HTTP; Tue, 2 Dec 2014 08:11:48 -0800 (PST) In-Reply-To: References: From: Michal Mocny Date: Tue, 2 Dec 2014 11:11:48 -0500 X-Google-Sender-Auth: Bx0lM4lEf60h6QwXRU_phZcT05o Message-ID: Subject: Re: [Android] MozillaView Update: PoC is working To: dev Content-Type: multipart/alternative; boundary=001a1136b558298b3605093dfdb8 X-Virus-Checked: Checked by ClamAV on apache.org --001a1136b558298b3605093dfdb8 Content-Type: text/plain; charset=UTF-8 Also and implies runs. is especially useful for startup work that has to delay deviceready. On Tue, Dec 2, 2014 at 10:40 AM, Andrew Grieve wrote: > It's used in some core plugins as a reference: > > $ grep -r ' cordova-plugin-battery-status/plugin.xml: > cordova-plugin-battery-status/plugin.xml: > cordova-plugin-camera/plugin.xml: > cordova-plugin-camera/plugin.xml: > cordova-plugin-contacts/plugin.xml: > cordova-plugin-device-motion/plugin.xml: > cordova-plugin-device-motion/plugin.xml: > cordova-plugin-device-orientation/plugin.xml: > cordova-plugin-device-orientation/plugin.xml: > cordova-plugin-device/plugin.xml: > cordova-plugin-dialogs/plugin.xml: > cordova-plugin-file-transfer/plugin.xml: > cordova-plugin-file-transfer/plugin.xml: > cordova-plugin-file/plugin.xml: > cordova-plugin-file/plugin.xml: > cordova-plugin-geolocation/plugin.xml: > cordova-plugin-globalization/plugin.xml: > cordova-plugin-globalization/plugin.xml: > cordova-plugin-media/plugin.xml: > cordova-plugin-network-information/plugin.xml: > cordova-plugin-splashscreen/plugin.xml: > cordova-plugin-statusbar/plugin.xml: > cordova-plugin-vibration/plugin.xml: > > On Mon, Dec 1, 2014 at 6:12 PM, Joe Bowser wrote: > > > On Thu Nov 27 2014 at 11:44:52 AM Andrew Grieve > > wrote: > > > > > > > > Likely clobbers won't work for this since most modules access exec() > via > > a > > > require(). You can actually swap out the module though, using: > > > > > > define.remove('cordova/exec') > > > define('cordova/exec', function(...)) > > > > > > and use to make it run before symbols are mapped. > > > > > > > > > > > I have no idea how this would work. Do we have any plugins that use > /> currently? I've never seen this used. This is the last piece that's > > blocking this from actually being done. > > > > > the define.remove() stuff isn't being done anywhere. Just happen to know > that it exists. > --001a1136b558298b3605093dfdb8--