Sha256: 88d8d64bddec8eadc12d3f2c1d8d844c2dff9aa0efbf8c1bbcfb2217864cff51

Contents?: true

Size: 890 Bytes

Versions: 3

Compression:

Stored size: 890 Bytes

Contents

# frozen_string_literal: true

require 'mini_racer'
require 'cmdlet'
require_relative 'handlebarsjs/version'
require_relative 'handlebarsjs/javascript'
require_relative 'handlebarsjs/handlebars_snapshot'
require_relative 'handlebarsjs/handlebars'
require_relative 'handlebarsjs/base_helper'
require_relative '_'

module Handlebarsjs
  HANDLEBARS_LIBRARY_PATH = 'lib/handlebarsjs/javascript/handlebars-4.7.7.js'
  HANDLEBARS_API_PATH = 'lib/handlebarsjs/javascript/handlebars-api.js'

  # raise Handlebarsjs::Error, 'Sample message'
  Error = Class.new(StandardError)

  # Your code goes here...
end

if ENV.fetch('KLUE_DEBUG', 'false').downcase == 'true'
  namespace = 'Handlebarsjs::Version'
  file_path = $LOADED_FEATURES.find { |f| f.include?('handlebarsjs/version') }
  version   = Handlebarsjs::VERSION.ljust(9)
  puts "#{namespace.ljust(35)} : #{version.ljust(9)} : #{file_path}"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
handlebarsjs-0.5.4 lib/handlebarsjs.rb
handlebarsjs-0.5.3 lib/handlebarsjs.rb
handlebarsjs-0.5.2 lib/handlebarsjs.rb