sprockets-dotjs 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sprockets-dotjs/version.rb +1 -1
- data/lib/sprockets/dotjs/compiler.rb +0 -2
- metadata +1 -1
@@ -34,7 +34,6 @@ module Sprockets
|
|
34
34
|
def render(scope=Object.new, locals={}, &block)
|
35
35
|
@@context['def'] = {}
|
36
36
|
dep = []
|
37
|
-
digest = scope.environment.file_digest(scope.pathname).to_s
|
38
37
|
scope._dependency_assets.each {|pathname|
|
39
38
|
if scope.pathname.to_s != pathname
|
40
39
|
dep << pathname
|
@@ -43,7 +42,6 @@ module Sprockets
|
|
43
42
|
}
|
44
43
|
dep.reverse_each do |pathname|
|
45
44
|
@@context['doT']['compile'].call(open(pathname).read,@@context['def'])
|
46
|
-
digest << "#{pathname}:#{scope.environment.file_digest(pathname).to_s}"
|
47
45
|
end
|
48
46
|
@@context['doT']['compile'].call(data,@@context['def']).to_s
|
49
47
|
end
|