mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
fix #146 used standard object notation in thorfile to hopefully prevent older versions of Ruby from failing
This commit is contained in:
parent
908fa24b8e
commit
753971247d
2
Thorfile
2
Thorfile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user