cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [26/26] wp7 commit: updated built js
Date Wed, 20 Feb 2013 22:20:29 GMT
Updated Branches:
  refs/heads/master b3c7b81bc -> bdead5b5e
Updated Tags:  refs/tags/2.5.0rc1 [created] bdead5b5e


updated built js


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

Branch: refs/heads/master
Commit: bdead5b5e0ace19de3b9175408a6223ccd7dfaf0
Parents: 896f3cb
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Wed Feb 20 14:17:34 2013 -0800
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Wed Feb 20 14:17:34 2013 -0800

----------------------------------------------------------------------
 example/CordovaSourceDictionary.xml       |    2 +-
 example/www/cordova-2.5.0.js              |   88 +++++++++++++-----------
 templates/full/www/cordova-2.5.0.js       |   88 +++++++++++++-----------
 templates/standalone/www/cordova-2.5.0.js |   88 +++++++++++++-----------
 4 files changed, 142 insertions(+), 124 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/bdead5b5/example/CordovaSourceDictionary.xml
----------------------------------------------------------------------
diff --git a/example/CordovaSourceDictionary.xml b/example/CordovaSourceDictionary.xml
index 1754c86..175432e 100644
--- a/example/CordovaSourceDictionary.xml
+++ b/example/CordovaSourceDictionary.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- This file is auto-generated, do not edit! -jm -->
 <CordovaSourceDictionary>
-    <FilePath Value="www\cordova-2.4.0.js"/>
+    <FilePath Value="www\cordova-2.5.0.js"/>
     <FilePath Value="www\cordova-current.js"/>
     <FilePath Value="www\network.html"/>
     <FilePath Value="www\notification.html"/>

http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/bdead5b5/example/www/cordova-2.5.0.js
----------------------------------------------------------------------
diff --git a/example/www/cordova-2.5.0.js b/example/www/cordova-2.5.0.js
index 8131fca..4e7229d 100644
--- a/example/www/cordova-2.5.0.js
+++ b/example/www/cordova-2.5.0.js
@@ -1,8 +1,8 @@
 // Platform: windowsphone
 
-// commit cded0ad0826489ca07ae8bdd33905a37d40f3adf
+// commit 521bbd64ed729ca76b6646d25bb01b76ee8a54b5
 
-// File generated at :: Wed Feb 20 2013 12:30:34 GMT-0800 (Pacific Standard Time)
+// File generated at :: Wed Feb 20 2013 13:57:19 GMT-0800 (Pacific Standard Time)
 
 /*
  Licensed to the Apache Software Foundation (ASF) under one
@@ -934,23 +934,53 @@ define("cordova/platform", function(require, exports, module) {
 var cordova = require('cordova'),
       exec = require('cordova/exec');
 
+// specifically require the following patches :
+
+// localStorage+SessionStorage APIs
+require("cordova/plugin/windowsphone/DOMStorage");
+
+// Fix XHR calls to local file-system
+require("cordova/plugin/windowsphone/XHRPatch");
+
+
 module.exports = {
     id: "windowsphone",
     initialize:function() {
         var modulemapper = require('cordova/modulemapper');
 
-        modulemapper.loadMatchingModules(/cordova.*\/plugininit$/);
-
         modulemapper.loadMatchingModules(/cordova.*\/symbols$/);
-        modulemapper.clobbers('/cordova/plugin/windowsphone/CordovaCommandResult', 'CordovaCommandResult');
-
         modulemapper.mapModules(window);
 
+        window.alert = window.alert || require("cordova/plugin/notification").alert;
+        window.confirm = window.confirm || require("cordova/plugin/notification").confirm;
+
         // Inject a listener for the backbutton, and tell native to override the flag (true/false)
when we have 1 or more, or 0, listeners
         var backButtonChannel = cordova.addDocumentEventHandler('backbutton');
         backButtonChannel.onHasSubscribersChange = function() {
             exec(null, null, "CoreEvents", "overridebackbutton", [this.numHandlers == 1]);
         };
+    },
+    clobbers: {
+        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'
+        },
+        open : {
+            path: 'cordova/plugin/InAppBrowser'
+        }
     }
 };
 
@@ -4200,6 +4230,7 @@ var modulemapper = require('cordova/modulemapper'),
 symbolshelper(modulemapper.defaults);
 modulemapper.clobbers('cordova/plugin/File', 'File');
 modulemapper.clobbers('cordova/plugin/FileReader', 'FileReader');
+modulemapper.clobbers('cordova/plugin/windowsphone/FileTransfer', 'FileTransfer');
 
 });
 
@@ -4835,16 +4866,6 @@ modulemapper.clobbers('cordova/plugin/GlobalizationError', 'GlobalizationError')
 
 });
 
-// file: lib\windowsphone\plugin\inappbrowser\symbols.js
-define("cordova/plugin/inappbrowser/symbols", function(require, exports, module) {
-
-
-var modulemapper = require('cordova/modulemapper');
-
-modulemapper.clobbers('cordova/plugin/InAppBrowser', 'open');
-
-});
-
 // file: lib\common\plugin\logger.js
 define("cordova/plugin/logger", function(require, exports, module) {
 
@@ -5456,8 +5477,8 @@ module.exports = function(args) {
 
 });
 
-// file: lib\windowsphone\plugin\windowsphone\DOMStorage\plugininit.js
-define("cordova/plugin/windowsphone/DOMStorage/plugininit", function(require, exports, module)
{
+// file: lib\windowsphone\plugin\windowsphone\DOMStorage.js
+define("cordova/plugin/windowsphone/DOMStorage", function(require, exports, module) {
 
 (function(win,doc) {
 
@@ -5781,8 +5802,8 @@ module.exports = FileUploadOptions;
 
 });
 
-// file: lib\windowsphone\plugin\windowsphone\XHRPatch\plugininit.js
-define("cordova/plugin/windowsphone/XHRPatch/plugininit", function(require, exports, module)
{
+// file: lib\windowsphone\plugin\windowsphone\XHRPatch.js
+define("cordova/plugin/windowsphone/XHRPatch", function(require, exports, module) {
 
 // TODO: the build process will implicitly wrap this in a define() call
 // with a closure of its own; do you need this extra closure?
@@ -6051,26 +6072,6 @@ module.exports = debugConsole;
 
 });
 
-// file: lib\windowsphone\plugin\windowsphone\console\symbols.js
-define("cordova/plugin/windowsphone/console/symbols", function(require, exports, module)
{
-
-
-var modulemapper = require('cordova/modulemapper');
-
-modulemapper.clobbers('cordova/plugin/windowsphone/console', 'navigator.console');
-modulemapper.clobbers('cordova/plugin/windowsphone/console', 'console');
-
-});
-
-// file: lib\windowsphone\plugin\windowsphone\notification\plugininit.js
-define("cordova/plugin/windowsphone/notification/plugininit", function(require, exports,
module) {
-
-window.alert = window.alert || require("cordova/plugin/notification").alert;
-window.confirm = window.confirm || require("cordova/plugin/notification").confirm;
-
-
-});
-
 // file: lib\common\symbols.js
 define("cordova/symbols", function(require, exports, module) {
 
@@ -6351,7 +6352,12 @@ window.cordova = require('cordova');
                  * Create all cordova objects once page has fully loaded and native side
is ready.
                  */
                 channel.join(function() {
-                    var platform = require('cordova/platform');
+                    var builder = require('cordova/builder'),
+                        platform = require('cordova/platform');
+
+                    builder.buildIntoButDoNotClobber(platform.defaults, context);
+                    builder.buildIntoAndClobber(platform.clobbers, context);
+                    builder.buildIntoAndMerge(platform.merges, context);
 
                     // Call the platform-specific initialization
                     platform.initialize();

http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/bdead5b5/templates/full/www/cordova-2.5.0.js
----------------------------------------------------------------------
diff --git a/templates/full/www/cordova-2.5.0.js b/templates/full/www/cordova-2.5.0.js
index 8131fca..4e7229d 100644
--- a/templates/full/www/cordova-2.5.0.js
+++ b/templates/full/www/cordova-2.5.0.js
@@ -1,8 +1,8 @@
 // Platform: windowsphone
 
-// commit cded0ad0826489ca07ae8bdd33905a37d40f3adf
+// commit 521bbd64ed729ca76b6646d25bb01b76ee8a54b5
 
-// File generated at :: Wed Feb 20 2013 12:30:34 GMT-0800 (Pacific Standard Time)
+// File generated at :: Wed Feb 20 2013 13:57:19 GMT-0800 (Pacific Standard Time)
 
 /*
  Licensed to the Apache Software Foundation (ASF) under one
@@ -934,23 +934,53 @@ define("cordova/platform", function(require, exports, module) {
 var cordova = require('cordova'),
       exec = require('cordova/exec');
 
+// specifically require the following patches :
+
+// localStorage+SessionStorage APIs
+require("cordova/plugin/windowsphone/DOMStorage");
+
+// Fix XHR calls to local file-system
+require("cordova/plugin/windowsphone/XHRPatch");
+
+
 module.exports = {
     id: "windowsphone",
     initialize:function() {
         var modulemapper = require('cordova/modulemapper');
 
-        modulemapper.loadMatchingModules(/cordova.*\/plugininit$/);
-
         modulemapper.loadMatchingModules(/cordova.*\/symbols$/);
-        modulemapper.clobbers('/cordova/plugin/windowsphone/CordovaCommandResult', 'CordovaCommandResult');
-
         modulemapper.mapModules(window);
 
+        window.alert = window.alert || require("cordova/plugin/notification").alert;
+        window.confirm = window.confirm || require("cordova/plugin/notification").confirm;
+
         // Inject a listener for the backbutton, and tell native to override the flag (true/false)
when we have 1 or more, or 0, listeners
         var backButtonChannel = cordova.addDocumentEventHandler('backbutton');
         backButtonChannel.onHasSubscribersChange = function() {
             exec(null, null, "CoreEvents", "overridebackbutton", [this.numHandlers == 1]);
         };
+    },
+    clobbers: {
+        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'
+        },
+        open : {
+            path: 'cordova/plugin/InAppBrowser'
+        }
     }
 };
 
@@ -4200,6 +4230,7 @@ var modulemapper = require('cordova/modulemapper'),
 symbolshelper(modulemapper.defaults);
 modulemapper.clobbers('cordova/plugin/File', 'File');
 modulemapper.clobbers('cordova/plugin/FileReader', 'FileReader');
+modulemapper.clobbers('cordova/plugin/windowsphone/FileTransfer', 'FileTransfer');
 
 });
 
@@ -4835,16 +4866,6 @@ modulemapper.clobbers('cordova/plugin/GlobalizationError', 'GlobalizationError')
 
 });
 
-// file: lib\windowsphone\plugin\inappbrowser\symbols.js
-define("cordova/plugin/inappbrowser/symbols", function(require, exports, module) {
-
-
-var modulemapper = require('cordova/modulemapper');
-
-modulemapper.clobbers('cordova/plugin/InAppBrowser', 'open');
-
-});
-
 // file: lib\common\plugin\logger.js
 define("cordova/plugin/logger", function(require, exports, module) {
 
@@ -5456,8 +5477,8 @@ module.exports = function(args) {
 
 });
 
-// file: lib\windowsphone\plugin\windowsphone\DOMStorage\plugininit.js
-define("cordova/plugin/windowsphone/DOMStorage/plugininit", function(require, exports, module)
{
+// file: lib\windowsphone\plugin\windowsphone\DOMStorage.js
+define("cordova/plugin/windowsphone/DOMStorage", function(require, exports, module) {
 
 (function(win,doc) {
 
@@ -5781,8 +5802,8 @@ module.exports = FileUploadOptions;
 
 });
 
-// file: lib\windowsphone\plugin\windowsphone\XHRPatch\plugininit.js
-define("cordova/plugin/windowsphone/XHRPatch/plugininit", function(require, exports, module)
{
+// file: lib\windowsphone\plugin\windowsphone\XHRPatch.js
+define("cordova/plugin/windowsphone/XHRPatch", function(require, exports, module) {
 
 // TODO: the build process will implicitly wrap this in a define() call
 // with a closure of its own; do you need this extra closure?
@@ -6051,26 +6072,6 @@ module.exports = debugConsole;
 
 });
 
-// file: lib\windowsphone\plugin\windowsphone\console\symbols.js
-define("cordova/plugin/windowsphone/console/symbols", function(require, exports, module)
{
-
-
-var modulemapper = require('cordova/modulemapper');
-
-modulemapper.clobbers('cordova/plugin/windowsphone/console', 'navigator.console');
-modulemapper.clobbers('cordova/plugin/windowsphone/console', 'console');
-
-});
-
-// file: lib\windowsphone\plugin\windowsphone\notification\plugininit.js
-define("cordova/plugin/windowsphone/notification/plugininit", function(require, exports,
module) {
-
-window.alert = window.alert || require("cordova/plugin/notification").alert;
-window.confirm = window.confirm || require("cordova/plugin/notification").confirm;
-
-
-});
-
 // file: lib\common\symbols.js
 define("cordova/symbols", function(require, exports, module) {
 
@@ -6351,7 +6352,12 @@ window.cordova = require('cordova');
                  * Create all cordova objects once page has fully loaded and native side
is ready.
                  */
                 channel.join(function() {
-                    var platform = require('cordova/platform');
+                    var builder = require('cordova/builder'),
+                        platform = require('cordova/platform');
+
+                    builder.buildIntoButDoNotClobber(platform.defaults, context);
+                    builder.buildIntoAndClobber(platform.clobbers, context);
+                    builder.buildIntoAndMerge(platform.merges, context);
 
                     // Call the platform-specific initialization
                     platform.initialize();

http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/bdead5b5/templates/standalone/www/cordova-2.5.0.js
----------------------------------------------------------------------
diff --git a/templates/standalone/www/cordova-2.5.0.js b/templates/standalone/www/cordova-2.5.0.js
index 8131fca..4e7229d 100644
--- a/templates/standalone/www/cordova-2.5.0.js
+++ b/templates/standalone/www/cordova-2.5.0.js
@@ -1,8 +1,8 @@
 // Platform: windowsphone
 
-// commit cded0ad0826489ca07ae8bdd33905a37d40f3adf
+// commit 521bbd64ed729ca76b6646d25bb01b76ee8a54b5
 
-// File generated at :: Wed Feb 20 2013 12:30:34 GMT-0800 (Pacific Standard Time)
+// File generated at :: Wed Feb 20 2013 13:57:19 GMT-0800 (Pacific Standard Time)
 
 /*
  Licensed to the Apache Software Foundation (ASF) under one
@@ -934,23 +934,53 @@ define("cordova/platform", function(require, exports, module) {
 var cordova = require('cordova'),
       exec = require('cordova/exec');
 
+// specifically require the following patches :
+
+// localStorage+SessionStorage APIs
+require("cordova/plugin/windowsphone/DOMStorage");
+
+// Fix XHR calls to local file-system
+require("cordova/plugin/windowsphone/XHRPatch");
+
+
 module.exports = {
     id: "windowsphone",
     initialize:function() {
         var modulemapper = require('cordova/modulemapper');
 
-        modulemapper.loadMatchingModules(/cordova.*\/plugininit$/);
-
         modulemapper.loadMatchingModules(/cordova.*\/symbols$/);
-        modulemapper.clobbers('/cordova/plugin/windowsphone/CordovaCommandResult', 'CordovaCommandResult');
-
         modulemapper.mapModules(window);
 
+        window.alert = window.alert || require("cordova/plugin/notification").alert;
+        window.confirm = window.confirm || require("cordova/plugin/notification").confirm;
+
         // Inject a listener for the backbutton, and tell native to override the flag (true/false)
when we have 1 or more, or 0, listeners
         var backButtonChannel = cordova.addDocumentEventHandler('backbutton');
         backButtonChannel.onHasSubscribersChange = function() {
             exec(null, null, "CoreEvents", "overridebackbutton", [this.numHandlers == 1]);
         };
+    },
+    clobbers: {
+        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'
+        },
+        open : {
+            path: 'cordova/plugin/InAppBrowser'
+        }
     }
 };
 
@@ -4200,6 +4230,7 @@ var modulemapper = require('cordova/modulemapper'),
 symbolshelper(modulemapper.defaults);
 modulemapper.clobbers('cordova/plugin/File', 'File');
 modulemapper.clobbers('cordova/plugin/FileReader', 'FileReader');
+modulemapper.clobbers('cordova/plugin/windowsphone/FileTransfer', 'FileTransfer');
 
 });
 
@@ -4835,16 +4866,6 @@ modulemapper.clobbers('cordova/plugin/GlobalizationError', 'GlobalizationError')
 
 });
 
-// file: lib\windowsphone\plugin\inappbrowser\symbols.js
-define("cordova/plugin/inappbrowser/symbols", function(require, exports, module) {
-
-
-var modulemapper = require('cordova/modulemapper');
-
-modulemapper.clobbers('cordova/plugin/InAppBrowser', 'open');
-
-});
-
 // file: lib\common\plugin\logger.js
 define("cordova/plugin/logger", function(require, exports, module) {
 
@@ -5456,8 +5477,8 @@ module.exports = function(args) {
 
 });
 
-// file: lib\windowsphone\plugin\windowsphone\DOMStorage\plugininit.js
-define("cordova/plugin/windowsphone/DOMStorage/plugininit", function(require, exports, module)
{
+// file: lib\windowsphone\plugin\windowsphone\DOMStorage.js
+define("cordova/plugin/windowsphone/DOMStorage", function(require, exports, module) {
 
 (function(win,doc) {
 
@@ -5781,8 +5802,8 @@ module.exports = FileUploadOptions;
 
 });
 
-// file: lib\windowsphone\plugin\windowsphone\XHRPatch\plugininit.js
-define("cordova/plugin/windowsphone/XHRPatch/plugininit", function(require, exports, module)
{
+// file: lib\windowsphone\plugin\windowsphone\XHRPatch.js
+define("cordova/plugin/windowsphone/XHRPatch", function(require, exports, module) {
 
 // TODO: the build process will implicitly wrap this in a define() call
 // with a closure of its own; do you need this extra closure?
@@ -6051,26 +6072,6 @@ module.exports = debugConsole;
 
 });
 
-// file: lib\windowsphone\plugin\windowsphone\console\symbols.js
-define("cordova/plugin/windowsphone/console/symbols", function(require, exports, module)
{
-
-
-var modulemapper = require('cordova/modulemapper');
-
-modulemapper.clobbers('cordova/plugin/windowsphone/console', 'navigator.console');
-modulemapper.clobbers('cordova/plugin/windowsphone/console', 'console');
-
-});
-
-// file: lib\windowsphone\plugin\windowsphone\notification\plugininit.js
-define("cordova/plugin/windowsphone/notification/plugininit", function(require, exports,
module) {
-
-window.alert = window.alert || require("cordova/plugin/notification").alert;
-window.confirm = window.confirm || require("cordova/plugin/notification").confirm;
-
-
-});
-
 // file: lib\common\symbols.js
 define("cordova/symbols", function(require, exports, module) {
 
@@ -6351,7 +6352,12 @@ window.cordova = require('cordova');
                  * Create all cordova objects once page has fully loaded and native side
is ready.
                  */
                 channel.join(function() {
-                    var platform = require('cordova/platform');
+                    var builder = require('cordova/builder'),
+                        platform = require('cordova/platform');
+
+                    builder.buildIntoButDoNotClobber(platform.defaults, context);
+                    builder.buildIntoAndClobber(platform.clobbers, context);
+                    builder.buildIntoAndMerge(platform.merges, context);
 
                     // Call the platform-specific initialization
                     platform.initialize();


Mime
View raw message