Sha256: 71b48b5a6f1be5e071bef5b5ebf5a69909bc0bdd8bc3b1a6aaa4515611639c88
Contents?: true
Size: 241 Bytes
Versions: 14
Compression:
Stored size: 241 Bytes
Contents
module Sinatra::AssetPack class SimpleEngine < Engine def css(str, options={}) str.gsub! /[ \r\n\t]+/m, ' ' str.gsub! %r{ *([;\{\},:]) *}, '\1' str end end Compressor.register :css, :simple, SimpleEngine end
Version data entries
14 entries across 14 versions & 3 rubygems