class BBC::A11y::Javascript

Public Class Methods

bundle() click to toggle source
# File lib/bbc/a11y/javascript.rb, line 4
def self.bundle
  @@bundle ||= File.read(bundle_path)
end
bundle_path() click to toggle source
# File lib/bbc/a11y/javascript.rb, line 8
def self.bundle_path
  File.expand_path("../js/bundle.js", __FILE__)
end