]> source.dussan.org Git - vaadin-framework.git/commitdiff
Set vaadin.debug to make ?debug in the URL work
authorLeif Åstrand <leif@vaadin.com>
Thu, 24 Nov 2011 14:57:53 +0000 (16:57 +0200)
committerLeif Åstrand <leif@vaadin.com>
Thu, 24 Nov 2011 14:57:53 +0000 (16:57 +0200)
WebContent/VAADIN/vaadinBootstrap.js

index 917aa2aa4ad01bab70544c87103ee96c8a9c255a..0aec37efe79d58659f717a04bb541e7eeabc2a14 100644 (file)
                                }
                        }
                        
+                       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