Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

Commit

Permalink
Merge remote branch 'cbuben/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
jmettraux committed Jan 25, 2011
2 parents 94b7de0 + b144943 commit cf6d95b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/ruote-kit/helpers/misc_helpers.rb
Expand Up @@ -27,7 +27,7 @@ def sample_process

def sample_process_tree

Rufus::Json.encode(Ruote::Parser.parse(sample_process))
Rufus::Json.encode(Ruote::Reader.read(sample_process))
end
end
end
Expand Down
4 changes: 2 additions & 2 deletions lib/ruote-kit/views/expression.html.haml
Expand Up @@ -41,7 +41,7 @@
%td
original tree
%td
- ruby = Ruote::Parser.to_ruby(@expression.original_tree)
- ruby = Ruote::Reader.to_ruby(@expression.original_tree)
- rubyline = ruby.split("\n").first
- json = Rufus::Json.pretty_encode(@expression.original_tree)
%pre.pdef{ :onclick => 'Rk.toggleNext(this);' } #{rubyline}
Expand All @@ -51,7 +51,7 @@
%td
tree
%td
- ruby = Ruote::Parser.to_ruby(@expression.tree)
- ruby = Ruote::Reader.to_ruby(@expression.tree)
- rubyline = ruby.split("\n").first
- json = Rufus::Json.pretty_encode(@expression.tree)
%pre.pdef{ :onclick => 'Rk.toggleNext(this);' } #{rubyline}
Expand Down

0 comments on commit cf6d95b

Please sign in to comment.