summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/vaadinBootstrap.js
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2011-11-24 16:57:53 +0200
committerLeif Åstrand <leif@vaadin.com>2011-11-24 16:57:53 +0200
commit58f5ab84c4bbeb94f9d552aa0db333524e025895 (patch)
treebeedda6eb895c174fb190187c1b6647055b9bcb2 /WebContent/VAADIN/vaadinBootstrap.js
parent0b4297ddd24758e2a7235c5afdbcc0c94613c298 (diff)
downloadvaadin-framework-58f5ab84c4bbeb94f9d552aa0db333524e025895.tar.gz
vaadin-framework-58f5ab84c4bbeb94f9d552aa0db333524e025895.zip
Set vaadin.debug to make ?debug in the URL work
Diffstat (limited to 'WebContent/VAADIN/vaadinBootstrap.js')
-rw-r--r--WebContent/VAADIN/vaadinBootstrap.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/WebContent/VAADIN/vaadinBootstrap.js b/WebContent/VAADIN/vaadinBootstrap.js
index 917aa2aa4a..0aec37efe7 100644
--- a/WebContent/VAADIN/vaadinBootstrap.js
+++ b/WebContent/VAADIN/vaadinBootstrap.js
@@ -90,6 +90,11 @@
}
}
+ if (getConfig("debug")) {
+ // TODO debug state is now global for the entire page, but should somehow only be set for the current application
+ window.vaadin.debug = true;
+ }
+
//Export public data
var app = {
'getConfig': getConfig