lib/nilac/compile_hashes.rb in nilac-0.0.4.3.9.5 vs lib/nilac/compile_hashes.rb in nilac-0.0.4.3.9.6

- old
+ new

@@ -66,10 +66,10 @@ end def compile_inline_hashes(input_file_contents) - javascript_regexp = /(if |while |for |function |function\(|%[qQw]*\{)/ + javascript_regexp = /(if |while |for |function |function\(|%[qQw]*\{|lambda\s*\{|\s*->\s*\{)/ modified_file_contents = input_file_contents.clone.collect {|element| replace_strings(element)} possible_inline_hashes = modified_file_contents.reject {|element| element.count("{") != 1} \ No newline at end of file