app/assets/javascripts/i18n_viz/utils.js.coffee in i18n_viz-0.3.2 vs app/assets/javascripts/i18n_viz/utils.js.coffee in i18n_viz-0.4.0

- old
+ new

@@ -1,8 +1,11 @@ # get all the textnode children for an element # edited $.fn.textNodes = () -> - $(this).contents().filter () -> - try - (this.nodeType == 3) - catch err - false + try + $(this).contents().filter () -> + try + (this.nodeType == 3) + catch err + false + catch e + $([])