diff --git a/spec/fixtures/graphs/Clock.json b/spec/fixtures/graphs/Clock.json
index a592275..c6b4d9f 100644
--- a/spec/fixtures/graphs/Clock.json
+++ b/spec/fixtures/graphs/Clock.json
@@ -1,7 +1,7 @@
{
"properties": {
"environment": {
- "runtime": "noflo-browser",
+ "type": "noflo-browser",
"content": "
",
"width": 300,
"height": 300,
diff --git a/spec/fixtures/package.json b/spec/fixtures/package.json
index beb6073..f1da3d7 100644
--- a/spec/fixtures/package.json
+++ b/spec/fixtures/package.json
@@ -21,8 +21,7 @@
"noflo-css": "^0.0.2"
},
"devDependencies": {
- "noflo-runtime-iframe": "^0.8.0",
- "noflo-runtime-webrtc": "^0.8.0"
+ "noflo-runtime-postmessage": "^0.8.0"
},
"keywords": [
"noflo"
diff --git a/tasks/noflo_browser.js b/tasks/noflo_browser.js
index def3555..2b180a0 100644
--- a/tasks/noflo_browser.js
+++ b/tasks/noflo_browser.js
@@ -72,11 +72,8 @@ module.exports = function(grunt) {
signalserver: 'https://api.flowhub.io'
});
- if (options.debug && !options.exposed_modules['noflo-runtime-webrtc']) {
- options.exposed_modules['noflo-runtime-webrtc'] = 'noflo-runtime-webrtc';
- }
- if (options.debug && !options.exposed_modules['noflo-runtime-iframe']) {
- options.exposed_modules['noflo-runtime-iframe'] = 'noflo-runtime-iframe';
+ if (options.debug && !options.exposed_modules['noflo-runtime-postmessage']) {
+ options.exposed_modules['noflo-runtime-postmessage'] = 'noflo-runtime-postmessage';
}
// Force task to async mode
diff --git a/templates/graphDebug.html b/templates/graphDebug.html
index 7d88af8..ded122e 100644
--- a/templates/graphDebug.html
+++ b/templates/graphDebug.html
@@ -4,7 +4,6 @@
<%= name %><% _.forEach(scripts, function (path) { %>
<% }); %>
-