Module: Locomotive::Plugin::JS3

Included in:
Locomotive::Plugin
Defined in:
lib/locomotive/plugin/js3.rb

Overview

This module add helpers for using js3 (JavaScript on the Server Side)

Instance Method Summary collapse

Instance Method Details

#js3_contextObject

The js3 context

Returns:

  • a V8 context object



9
10
11
# File 'lib/locomotive/plugin/js3.rb', line 9

def js3_context
  Locomotive::Plugins.js3_context
end