lib/octopress-ink/plugins/sass.rb in octopress-ink-1.0.0.alpha.14 vs lib/octopress-ink/plugins/sass.rb in octopress-ink-1.0.0.alpha.15
- old
+ new
@@ -4,11 +4,13 @@
module Octopress
class SassPlugin < Octopress::Plugin
def add_files(files)
files = [files] unless files.is_a? Array
files.each do |file|
+ # accept ['file', 'media_type']
if file.is_a? Array
add_sass file.first, file.last
+ # accept 'file'
else
add_sass file
end
end
end