{:uriI"file:///Users/kangguru/Development/railslove/i18n_viz/app/assets/javascripts/i18n_viz/processing.js.coffee?type=application/javascript&pipeline=self&id=f7bc9fdc0891790bdc021dac4b346aa12881cd14f02f7b67fc2b36569ea493b3:ET:load_pathI"J/Users/kangguru/Development/railslove/i18n_viz/app/assets/javascripts;T: filenameI"h/Users/kangguru/Development/railslove/i18n_viz/app/assets/javascripts/i18n_viz/processing.js.coffee;T: nameI"i18n_viz/processing;T:logical_pathI" i18n_viz/processing.self.js;T:content_typeI"application/javascript;T: sourceI"(function() { window.I18nViz.extractI18nKeysFromText = function(text) { var keys; keys = text.match(window.I18nViz.global_regex); if (keys) { keys.forEach(function(value, index) { return keys[index] = value.replace(/--/g, ""); }); return keys; } else { return null; } }; $.fn.enrichWithI18nData = function() { var $i18n_element, i18n_keys; $i18n_element = $(this); i18n_keys = window.I18nViz.extractI18nKeysFromText($i18n_element.text()); if (i18n_keys !== null) { $i18n_element.addClass("i18n-viz").data("i18n-keys", i18n_keys); } return $i18n_element; }; $.fn.clearI18nText = function() { var $el; $el = $(this); $el.textNodes().each(function() { return $el.text($el.text().replace(I18nViz.global_regex, "")); }); return $el; }; $.extend($.expr[':'], { 'i18n-textnode': function(el) { return window.I18nViz.regex.test($(el).textNodes().text()); }, 'i18n-value-placeholder': function(el) { return window.I18nViz.regex.test($(el).val()) || I18nViz.regex.test($(el).attr('placeholder')); } }); }).call(this); ;T: metadata{ :dependencieso:Set: @hash{ I"environment-version;TTI"environment-paths;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"vfile-digest:///Users/kangguru/Development/railslove/i18n_viz/app/assets/javascripts/i18n_viz/processing.js.coffee;TT: requiredo;;{: stubbedo;;{: linkso;;{: charsetI" utf-8;F: digest"%f ߇] .!ǁ ^/b͵V[Z_: lengthi:dependencies_digest"%Œ#Q(CYa'*^BAE̱[ A:idI"Ef7bc9fdc0891790bdc021dac4b346aa12881cd14f02f7b67fc2b36569ea493b3;F: mtimel+V