You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mm...@apache.org on 2013/02/25 14:40:50 UTC
[28/50] 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/cded0ad0
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/cded0ad0
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/cded0ad0
Branch: refs/heads/multipart_plugin_result
Commit: cded0ad0826489ca07ae8bdd33905a37d40f3adf
Parents: c169dea
Author: Andrew Grieve <ag...@chromium.org>
Authored: Fri Jan 25 16:03:19 2013 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Wed Feb 20 15:13:27 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/cded0ad0/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();