liquidscript 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/liquidscript.rb +1 -1
- data/lib/liquidscript/template.rb +1 -1
- data/lib/liquidscript/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f11281d148fb640ffc2e0f7e8620d90db902979
|
4
|
+
data.tar.gz: 8e49e850af07a8d34d44595e2f8d550eb09e5a05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7e8ba8419ac72d775682a35fd5f8acea5a8210e20d2279ef508b1008470eb8f737d9226c481bd35f9ce3bfb2f980e9c191cd47e1d86afb56148f5a7ddde1cb4
|
7
|
+
data.tar.gz: 05d976029b24a986e993c40604ea57bd2034bd27dde7aa376e14db6db3a1bfc65e537009fab0bcac41612e44fed250c654a37571924bac12e8f80daa023874e6
|
data/lib/liquidscript.rb
CHANGED
@@ -9,7 +9,7 @@ require "liquidscript/template"
|
|
9
9
|
|
10
10
|
module Liquidscript
|
11
11
|
def self.compile(data)
|
12
|
-
compiler = Compiler::ICR.new(Scanner.new(data))
|
12
|
+
compiler = Compiler::ICR.new(Scanner::Liquidscript.new(data))
|
13
13
|
compiler.compile
|
14
14
|
Generator::Javascript.new(compiler.top).generate
|
15
15
|
end
|
@@ -9,7 +9,7 @@ module Liquidscript
|
|
9
9
|
|
10
10
|
def render
|
11
11
|
@_render ||= begin
|
12
|
-
compiler = Compiler::ICR.new(Scanner.new(@data))
|
12
|
+
compiler = Compiler::ICR.new(Scanner::Liquidscript.new(@data))
|
13
13
|
compiler.compile
|
14
14
|
puts ICR::Sexp.new(compiler.top).output
|
15
15
|
Generator::Javascript.new(compiler.top).generate
|
data/lib/liquidscript/version.rb
CHANGED