Sha256: 30fd7fd6de36cb7a0d680775c6642b106b43954722a7fee080e7402fb4eaf0a7

Contents?: true

Size: 678 Bytes

Versions: 6

Compression:

Stored size: 678 Bytes

Contents

<%
# template for single-file csso lib

def file(filename)
  File.read(filename).strip
end

%>/*
<%= " THIS FILE IS AUTOGENERATED! DO NOT EDIT!\n See #{__FILE__} instead." %>

 Based on <%= file 'csso/VERSION' %> revision <%= file 'csso/.git/refs/heads/master' %>
*/

console = {
  log: function(){},
  error: function(txt){
    throw txt;
  }
};

<%= file 'csso/web/csso.web.js' %>

do_compression = function(css, disable_structural){
  var compressor = new CSSOCompressor(), translator = new CSSOTranslator();
  return translator.translate(
    cleanInfo(
      compressor.compress(
        srcToCSSP(css, 'stylesheet', true),
        disable_structural
      )
    )
  );
};

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
csso-rails-0.3.4 lib/csso/csso.js.erb
csso-rails-0.3.3 lib/csso/csso.js.erb
csso-rails-0.3.2 lib/csso/csso.js.erb
csso-rails-0.3.1 lib/csso/csso.js.erb
csso-rails-0.3.0 lib/csso/csso.js.erb
csso-rails-0.2.0 lib/csso/csso.js.erb