Sha256: a54092d0c0f942b1b648a2f8f08623dd318b7e61d0efea94dd0d001b0c8e44d3

Contents?: true

Size: 471 Bytes

Versions: 29

Compression:

Stored size: 471 Bytes

Contents

# typed: true

# Copyright (c) 2015 Sqreen. All Rights Reserved.
# Please refer to our terms for more information: https://www.sqreen.com/terms.html

# TODO: => Sqreen::JS:ExecJS

require 'sqreen/js/executable_js'

module Sqreen
  module Js
    class ExecJsRunnable < ExecutableJs
      def initialize(compiled)
        @compiled = compiled
      end

      def run_js_cb(cbname, _budget, arguments)
        @compiled.call(cbname, *arguments)
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
sqreen-1.22.0-java lib/sqreen/js/exec_js_runnable.rb
sqreen-1.22.0 lib/sqreen/js/exec_js_runnable.rb
sqreen-1.21.1-java lib/sqreen/js/exec_js_runnable.rb
sqreen-1.21.1 lib/sqreen/js/exec_js_runnable.rb
sqreen-1.21.0-java lib/sqreen/js/exec_js_runnable.rb
sqreen-1.21.0 lib/sqreen/js/exec_js_runnable.rb
sqreen-1.20.4-java lib/sqreen/js/exec_js_runnable.rb
sqreen-1.20.4 lib/sqreen/js/exec_js_runnable.rb
sqreen-1.21.0.beta3-java lib/sqreen/js/exec_js_runnable.rb
sqreen-1.21.0.beta3 lib/sqreen/js/exec_js_runnable.rb
sqreen-1.20.4.beta1 lib/sqreen/js/exec_js_runnable.rb
sqreen-1.19.4 lib/sqreen/js/exec_js_runnable.rb
sqreen-1.20.3 lib/sqreen/js/exec_js_runnable.rb
sqreen-1.20.2 lib/sqreen/js/exec_js_runnable.rb
sqreen-1.21.0.beta2 lib/sqreen/js/exec_js_runnable.rb
sqreen-1.21.0.beta1 lib/sqreen/js/exec_js_runnable.rb
sqreen-1.20.1-java lib/sqreen/js/exec_js_runnable.rb
sqreen-1.20.1 lib/sqreen/js/exec_js_runnable.rb
sqreen-1.20.0-java lib/sqreen/js/exec_js_runnable.rb
sqreen-1.20.0 lib/sqreen/js/exec_js_runnable.rb