Commit 4379b1e8 authored by Juan Corona's avatar Juan Corona

Create flags in options to conditionally enable multi frame support

parent 68e85f01
......@@ -326,6 +326,7 @@ gulp.task('serve-live-reload', ['serve-package'], function () {
var LiveReloadServer = require('./scripts/gulp/live-reload-server');
liveReloadServer = new LiveReloadServer(3000, {
clientUrl: `http://${packageServerHostname()}:3001/hypothesis`,
enableMultiFrameSupport: !!process.env.MULTI_FRAME_SUPPORT,
});
});
......
......@@ -81,6 +81,8 @@ module.exports = class Guest extends Delegator
this.anchors = []
cfOptions =
enableMultiFrameSupport: config.enableMultiFrameSupport
embedScriptUrl: config.embedScriptUrl
on: (event, handler) =>
this.subscribe(event, handler)
emit: (event, args...) =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment