Sha256: 4ed1d876a686b4aadcd5fafd2457b4c2e82b64795ac1ec09f96a0cbf641a5e7e
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 KB
Contents
require 'uri' require 'yaml' require 'eventmachine' require 'em-proxy' require 'em-websocket' require 'evma_httpserver' require 'uri' require 'tempfile' require 'rainbow' require 'optparse' require 'mime/types' require 'yui/compressor' require 'listen' require 'multi_json' require "slinky/em-popen3" require "slinky/errors" require "slinky/compilers" require "slinky/config_reader" require "slinky/graph" require "slinky/manifest" require "slinky/compiled_file" require "slinky/proxy_server" require "slinky/server" require "slinky/runner" require "slinky/builder" require "slinky/listener" require "slinky/live_reload" # load compilers root = File.expand_path(File.dirname(__FILE__)) Dir.glob("#{root}/slinky/compilers/*.rb").each{|compiler| begin require compiler rescue puts "Failed to load #{compiler}: #{$!}" rescue LoadError puts "Failed to load #{compiler}: syntax error" end } # Without this monkeypatch data uris in CSS cause compression to fail class YUI::Compressor def command @command.insert 1, "-Xss8m" @command.map { |word| Shellwords.escape(word) }.join(" ") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slinky-0.8.0 | lib/slinky.rb |