Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of github.com:lljk/shoes-stuff

  • Loading branch information...
commit 1fcda35d863ffd454bf686a3a40c66af7d978148 2 parents f3adb1c + 692793e
@lljk authored
Showing with 3 additions and 7 deletions.
  1. +3 −7 notebook_widget/notebook_widget_example.rb
View
10 notebook_widget/notebook_widget_example.rb
@@ -8,9 +8,7 @@ def initialize(name)
end
def add
- @body.append do
- yield
- end
+ @body.append{yield}
end
end
@@ -29,9 +27,7 @@ def initialize(first_page)
end
def add_page(name)
- @f.append{
- @tab = button(name)
- }
+ @f.append{@tab = button(name)}
@pages[name] = page(name)
@@ -56,7 +52,7 @@ def add_page(name)
100.times{para "seamonkeys!!", stroke: blue}
}
- nb.pages["tiddlywinks"].add{
+ nb.pages["tiddlywinks"].add{
10.times{para "more tiddlywinks!! ", stroke: orange}
}
Please sign in to comment.
Something went wrong with that request. Please try again.