lib/smurf/javascript.rb in smurf-1.0.3 vs lib/smurf/javascript.rb in smurf-1.0.4.rails3.beta2
- old
+ new
@@ -36,9 +36,11 @@
require 'stringio'
module Smurf
class Javascript
+ def self.minifies?(paths) !paths.grep(%r[\.js(\?\d+)?$]).empty?; end
+
EOF = -1
@theA = ""
@theB = ""