lib/hyperstack-hotloader-config.js.erb in hyperstack-config-1.0.alpha1.8 vs lib/hyperstack-hotloader-config.js.erb in hyperstack-config-1.0.0.pre.alpha1
- old
+ new
@@ -1,7 +1,7 @@
+console.log('hotloader config doing its thing')
if ((typeof(window) !== 'undefined') && (window.Hyperstack==undefined || window.Hyperstack.hotloader==undefined)) {
window.Hyperstack = { hotloader: function(port, ping) { }}
}
//if (typeof(Hyperstack) === 'undefined') { Hyperstack = {} }
Hyperstack.hotloader.port = <%= Hyperstack.hotloader_port %>
-Hyperstack.hotloader.ping = <%= Hyperstack.hotloader_ping ? Hyperstack.hotloader_ping : false %>
-Hyperstack.hotloader.ignore_callback_mapping = <%= !(!Hyperstack.hotloader_ignore_callback_mapping && Rails.configuration.assets.debug) %>
+Hyperstack.hotloader.ping = <%= !!Hyperstack.hotloader_ping %>