aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/vaadinBootstrap.js
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-01-02 14:26:39 +0200
committerLeif Åstrand <leif@vaadin.com>2012-01-02 14:26:39 +0200
commitdd99cac73f34d36d22f5f3fe1af6ef8f48055b34 (patch)
tree497ccaca0a0450e2b8f0ed8d442366ee3e1aff42 /WebContent/VAADIN/vaadinBootstrap.js
parent66d21cff9844bc7626f4a8d42e3bc44e053f96d4 (diff)
downloadvaadin-framework-dd99cac73f34d36d22f5f3fe1af6ef8f48055b34.tar.gz
vaadin-framework-dd99cac73f34d36d22f5f3fe1af6ef8f48055b34.zip
#8190 Recorder no longer waits for Vaadin application to load
Diffstat (limited to 'WebContent/VAADIN/vaadinBootstrap.js')
-rw-r--r--WebContent/VAADIN/vaadinBootstrap.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/WebContent/VAADIN/vaadinBootstrap.js b/WebContent/VAADIN/vaadinBootstrap.js
index f8eedb8fd1..6adcb86c99 100644
--- a/WebContent/VAADIN/vaadinBootstrap.js
+++ b/WebContent/VAADIN/vaadinBootstrap.js
@@ -72,6 +72,14 @@
throw "Application " + appId + " already initialized";
}
log("init application", appId, config);
+
+ var testbenchId = appId.replace(/-\d+$/, '');
+ window.vaadin.clients[testbenchId] = {
+ isActive: function() {
+ return true;
+ }
+ }
+
var getConfig = function(name) {
var value = config[name];
if (value === undefined) {
@@ -176,6 +184,7 @@
return app;
},
+ clients: {},
getApp: function(appId) {
var app = apps[appId];
return app;