fix #146 used standard object notation in thorfile to hopefully prevent older versions of Ruby from failing

This commit is contained in:
Eric Rowell 2012-11-10 18:08:32 -08:00
parent 908fa24b8e
commit 753971247d

View File

@ -67,7 +67,7 @@ class Build < Thor
mod[".js"] = ""
module_filename = "dist/kinetic-#{mod}-#{version}.min.js"
File.open(module_filename, "w") do |file2|
uglify = Uglifier.compile(content, { copyright: mod == "Global" })
uglify = Uglifier.compile(content, :copyright => mod == "Global")
file2.puts replace_tokens(uglify, version)
end
end