Sha256: 4aa3eaebe880302a57a4e1389524bb8866df35d75bd81a5c1d0d1db5d3236178
Contents?: true
Size: 618 Bytes
Versions: 2
Compression:
Stored size: 618 Bytes
Contents
<% # template for single-file csso lib def file(filename) File.read(filename).strip end def version package require 'json' JSON.parse(File.read(package))['version'] end %>/* <%= " THIS FILE IS AUTOGENERATED! DO NOT EDIT!\n See #{__FILE__} instead." %> Based on <%= version 'csso/package.json' %> revision <%= file 'csso/.git/refs/heads/master' %> */ console = { log: function(){}, error: function(txt){ throw txt; } }; <%= file 'csso/dist/csso-browser.js' %> do_compression = function(css, disable_structural){ return csso.minify(css, { restructuring: !disable_structural }); };
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
csso-rails-0.4.1 | lib/csso/csso.js.erb |
csso-rails-0.4.0 | lib/csso/csso.js.erb |