Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(516)

Unified Diff: app/config-debug.js

Issue 7554047: Allow passing app config through app to subapps.
Patch Set: Allow passing app config through app to subapps. Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « app/assets/javascripts/app-subapp-extension.js ('k') | app/config-prod.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/config-debug.js
=== modified file 'app/config-debug.js'
--- app/config-debug.js 2013-03-13 17:59:29 +0000
+++ app/config-debug.js 2013-03-14 19:18:17 +0000
@@ -1,11 +1,16 @@
var juju_config = {
- consoleEnabled: true,
+ // These are blacklisted config items not passed into subapps mounted into
+ // the main App.
serverRouting: false,
html5: true,
container: '#main',
viewContainer: '#main',
// FIXME: turn off transitions until they are fixed.
transitions: false,
+
+ // These are the main application config items used and passed down into all
+ // SubApps.
+ consoleEnabled: true,
charm_store_url: 'http://jujucharms.com/',
// The config has three socket settings. socket_port and socket_protocol
// modify the current application url to determine the websocket url (always
« no previous file with comments | « app/assets/javascripts/app-subapp-extension.js ('k') | app/config-prod.js » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b