Sha256: 848476466beebba3bb34977a469b4609ece73e0d3d44811c53304df2bf96e36d

Contents?: true

Size: 203 Bytes

Versions: 14

Compression:

Stored size: 203 Bytes

Contents

module Distil
  
  class JsonFile < JavascriptFile
    
    extension 'json'
    content_type 'js'
    
    def minified_content(source=content)
      super("(#{source})")[1..-3]
    end
  
  end
  
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
distil-0.14.5.a lib/distil/source-file/json-file.rb
distil-0.14.4 lib/distil/source-file/json-file.rb
distil-0.14.3 lib/distil/source-file/json-file.rb
distil-0.14.2 lib/distil/source-file/json-file.rb
distil-0.14.2.a lib/distil/source-file/json-file.rb
distil-0.14.1 lib/distil/source-file/json-file.rb
distil-0.14.1.a lib/distil/source-file/json-file.rb
distil-0.14.0 lib/distil/source-file/json-file.rb
distil-0.14.0.i lib/distil/source-file/json-file.rb
distil-0.14.0.h lib/distil/source-file/json-file.rb
distil-0.14.0.g lib/distil/source-file/json-file.rb
distil-0.14.0.d lib/distil/source-file/json-file.rb
distil-0.14.0.c lib/distil/source-file/json-file.rb
distil-0.14.0.b lib/distil/source-file/json-file.rb