diff options
Diffstat (limited to 'lib/twine/formatters/jquery.rb')
-rw-r--r-- | lib/twine/formatters/jquery.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/twine/formatters/jquery.rb b/lib/twine/formatters/jquery.rb index bfe8d4c..658b4d2 100644 --- a/lib/twine/formatters/jquery.rb +++ b/lib/twine/formatters/jquery.rb @@ -9,12 +9,8 @@ module Twine '.json' end - def can_handle_directory?(path) - Dir.entries(path).any? { |item| /^.+\.json$/.match(item) } - end - def default_file_name - return 'localize.json' + 'localize.json' end def determine_language_given_path(path) |