Exclude delete transformation from functions filter
This commit is contained in:
parent
8843e7faa9
commit
acf262b4f0
@ -3,4 +3,8 @@
|
||||
require 'ruby2js'
|
||||
require 'ruby2js/filter/functions'
|
||||
|
||||
puts Ruby2JS.convert(File.read('lrpc.rb'), eslevel: 2016)
|
||||
puts Ruby2JS.convert(
|
||||
File.read('lrpc.rb'),
|
||||
eslevel: 2016,
|
||||
exclude: [:delete],
|
||||
)
|
Reference in New Issue
Block a user