Module: AnimateIt::Runtime

Defined in:
lib/animate_it/runtime.rb

Overview

The client-side playback runtime, inlined into the player page via javascript_tag (no asset-pipeline coupling).

Class Method Summary collapse

Class Method Details

.sourceObject



7
8
9
# File 'lib/animate_it/runtime.rb', line 7

def source
  @source ||= File.read(File.expand_path("runtime/runtime.js", __dir__)).freeze
end