Commit eb1b8beb authored by Gerben's avatar Gerben Committed by Aron Carroll

Prettify coffeescript

parent 0629b888
......@@ -108,5 +108,4 @@ class CrossFrameBridge
options = $.extend {}, options, {origin: '*'}
channel = Channel.build(options)
if typeof angular != 'undefined'
angular.module('h').value('CrossFrameBridge', CrossFrameBridge)
angular?.module('h').value('CrossFrameBridge', CrossFrameBridge)
......@@ -107,5 +107,4 @@ class CrossFrameDiscovery
discovered = true
return {reply: reply, discovered: discovered, token: token}
if typeof angular != 'undefined'
angular.module('h').value('CrossFrameDiscovery', CrossFrameDiscovery)
angular?.module('h').value('CrossFrameDiscovery', CrossFrameDiscovery)
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