vendor/assets/javascripts/polyfills/polyfills.coffee in tao_on_rails-0.6.9 vs vendor/assets/javascripts/polyfills/polyfills.coffee in tao_on_rails-0.6.10
- old
+ new
@@ -1,7 +1,7 @@
#= require ./native-shim
#= require ./custom-elements
#= require jquery3
#= require_self
-customElements.polyfillWrapFlushCallback? (flush) ->
+window.customElements?.polyfillWrapFlushCallback? (flush) ->
$ -> flush()