Sha256: 4c989f9084e84addfe5c718661bd32b1a208d3441b690fb5b6de241041bd149f
Contents?: true
Size: 396 Bytes
Versions: 1
Compression:
Stored size: 396 Bytes
Contents
<script> window.Cobot = window.Cobot || {}; window.Cobot.iframeResize = function() { if(window.socket) { window.socket.postMessage($('body').outerHeight()); } } easyXDM.query = <%== xdm_params.to_json %>; window.socket = new easyXDM.Socket({ onReady: function() { setTimeout(function() { window.Cobot.iframeResize(); }, 100); } }); </script>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cobot_client-0.2.0 | app/views/cobot_client/_resize_script.html.erb |