stylus is not available yet in latest tilt
This commit is contained in:
parent
1d48a759b6
commit
80b79c89eb
|
@ -832,7 +832,8 @@ template than for the layout by passing the `:layout_engine` option.
|
||||||
</a> and a
|
</a> and a
|
||||||
<a href="https://github.com/sstephenson/execjs/blob/master/README.md#readme" title="ExecJS">
|
<a href="https://github.com/sstephenson/execjs/blob/master/README.md#readme" title="ExecJS">
|
||||||
way to execute javascript
|
way to execute javascript
|
||||||
</a>
|
</a>, it also requires and as of yet unreleased version of
|
||||||
|
<a href="https://github.com/rtomayko/tilt">Tilt</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -4,7 +4,7 @@ begin
|
||||||
require 'stylus'
|
require 'stylus'
|
||||||
|
|
||||||
begin
|
begin
|
||||||
Stylus.compile '1'
|
Tilt[:styl].new { "1" }.render
|
||||||
rescue RuntimeError
|
rescue RuntimeError
|
||||||
raise LoadError, 'unable to find Stylus compiler'
|
raise LoadError, 'unable to find Stylus compiler'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue