lib/opal/builder_processors.rb in opal-1.0.5 vs lib/opal/builder_processors.rb in opal-1.1.0.rc1

- old
+ new

@@ -22,10 +22,10 @@ attr_reader :extensions def handles(*extensions) @extensions = extensions matches = extensions.join('|') - matches = "(#{matches})" if extensions.size == 1 + matches = "(#{matches})" unless extensions.size == 1 @match_regexp = Regexp.new "\\.#{matches}#{REGEXP_END}" ::Opal::Builder.register_processor(self, extensions) nil end