10
11
12
13
14
15
16
17
18
|
# File 'lib/generators/nyoibo/install_generator.rb', line 10
def copy_initializer
template "nyoibo.rb.erb", "config/initializers/nyoibo.rb"
template "nyoibo.js.coffee", "app/assets/javascripts/nyoibo.js.coffee"
template "upload.js.coffee", "app/assets/javascripts/upload.js.coffee"
copy_file "../../../../vendor/html5jp/progress.js", "app/assets/javascripts/progress.js"
copy_file "../../../../vendor/web-socket-js/web_socket.js", "app/assets/javascripts/web_socket.js"
copy_file "../../../../vendor/web-socket-js/swfobject.js", "app/assets/javascripts/swfobject.js"
copy_file "../../../../vendor/web-socket-js/WebSocketMain.swf", "public/WebSocketMain.swf"
end
|