Fix the handlebars-source gem definition
This commit is contained in:
@@ -16,6 +16,6 @@ Gem::Specification.new do |gem|
|
||||
gem.files = [
|
||||
'handlebars.js',
|
||||
'handlebars.runtime.js',
|
||||
'source.rb'
|
||||
'lib/handlebars/source.rb'
|
||||
]
|
||||
end
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
module Handlebars
|
||||
module Source
|
||||
def self.bundled_path
|
||||
File.expand_path("../../../handlebars.js", __FILE__)
|
||||
end
|
||||
|
||||
def self.runtime_bundled_path
|
||||
File.expand_path("../../../handlebars.runtime.js", __FILE__)
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -1,11 +0,0 @@
|
||||
module Handlebars
|
||||
module Source
|
||||
def self.bundled_path
|
||||
File.expand_path("handlebars.js", __FILE__)
|
||||
end
|
||||
|
||||
def self.runtime_bundled_path
|
||||
File.expand_path("handlebars.runtime.js", __FILE__)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user