cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [15/24] js commit: [android] modulemapper refactor for navigator.app.
Date Tue, 12 Feb 2013 19:32:41 GMT
[android] modulemapper refactor for navigator.app.

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/01664398
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/01664398
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/01664398

Branch: refs/heads/master
Commit: 01664398448cef2a8d9261100bf8041b5d7c5db2
Parents: 051c7b4
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Fri Jan 25 15:22:14 2013 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Tue Feb 12 13:44:50 2013 -0500

----------------------------------------------------------------------
 lib/android/platform.js                   |    9 ---------
 lib/android/plugin/android/app/symbols.js |   24 ++++++++++++++++++++++++
 2 files changed, 24 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/01664398/lib/android/platform.js
----------------------------------------------------------------------
diff --git a/lib/android/platform.js b/lib/android/platform.js
index e4e80fb..5e2cfe8 100644
--- a/lib/android/platform.js
+++ b/lib/android/platform.js
@@ -88,14 +88,5 @@ module.exports = {
         channel.join(function() {
             exec(null, null, "App", "show", []);
         }, [channel.onCordovaReady]);
-    },
-    clobbers: {
-        navigator: {
-            children: {
-                app:{
-                    path: "cordova/plugin/android/app"
-                }
-            }
-        }
     }
 };

http://git-wip-us.apache.org/repos/asf/cordova-js/blob/01664398/lib/android/plugin/android/app/symbols.js
----------------------------------------------------------------------
diff --git a/lib/android/plugin/android/app/symbols.js b/lib/android/plugin/android/app/symbols.js
new file mode 100644
index 0000000..d75c58f
--- /dev/null
+++ b/lib/android/plugin/android/app/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/android/app', 'navigator.app');


Mime
View raw message