From acf262b4f0f0839975c5b9cbfc9fa79854fe33ca Mon Sep 17 00:00:00 2001 From: Arsen Musayelyan Date: Thu, 2 Jun 2022 18:27:41 -0700 Subject: [PATCH] Exclude delete transformation from functions filter --- client/web/convert.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/web/convert.rb b/client/web/convert.rb index 3052479..b1252c1 100755 --- a/client/web/convert.rb +++ b/client/web/convert.rb @@ -3,4 +3,8 @@ require 'ruby2js' require 'ruby2js/filter/functions' -puts Ruby2JS.convert(File.read('lrpc.rb'), eslevel: 2016) \ No newline at end of file +puts Ruby2JS.convert( + File.read('lrpc.rb'), + eslevel: 2016, + exclude: [:delete], +) \ No newline at end of file