You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/01/29 20:07:51 UTC

[35/37] js commit: [all] Remove remaining usage of builder.

[all] Remove remaining usage of builder.

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

Branch: refs/heads/symbolmapping
Commit: 673d225d60b7ff36abc2fb08d876cea11acee464
Parents: 6a30e43
Author: Andrew Grieve <ag...@chromium.org>
Authored: Fri Jan 25 16:03:19 2013 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Mon Jan 28 19:57:05 2013 -0500

----------------------------------------------------------------------
 lib/scripts/bootstrap.js |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/673d225d/lib/scripts/bootstrap.js
----------------------------------------------------------------------
diff --git a/lib/scripts/bootstrap.js b/lib/scripts/bootstrap.js
index 45c70aa..4206c60 100644
--- a/lib/scripts/bootstrap.js
+++ b/lib/scripts/bootstrap.js
@@ -35,12 +35,7 @@
                  * Create all cordova objects once page has fully loaded and native side is ready.
                  */
                 channel.join(function() {
-                    var builder = require('cordova/builder'),
-                        platform = require('cordova/platform');
-
-                    builder.buildIntoButDoNotClobber(platform.defaults, context);
-                    builder.buildIntoAndClobber(platform.clobbers, context);
-                    builder.buildIntoAndMerge(platform.merges, context);
+                    var platform = require('cordova/platform');
 
                     // Call the platform-specific initialization
                     platform.initialize();