Skip to content

Commit a3cfd7e

Browse files
committedSep 30, 2014
README: minor updates
1 parent 2458428 commit a3cfd7e

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed
 

‎README.md

+7-11
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ in pure Ruby using various DSLs.
5151

5252
```ruby
5353
class MyComponent < Lissio::Component
54-
tag class: 'my-component'
55-
5654
on :click, '.title' do
5755
alert 'You clicked on the title'
5856
end
@@ -67,15 +65,13 @@ class MyComponent < Lissio::Component
6765
end
6866

6967
css do
70-
rule '.my-component' do
71-
rule '.title' do
72-
font size: 32.px
73-
end
74-
75-
rule '.subtitle' do
76-
font size: 18.px,
77-
style: :italic
78-
end
68+
rule '.title' do
69+
font size: 32.px
70+
end
71+
72+
rule '.subtitle' do
73+
font size: 18.px,
74+
style: :italic
7975
end
8076
end
8177
end

0 commit comments

Comments
 (0)
Please sign in to comment.