Skip to content

Commit

Permalink
Merge pull request #1 from benjamintanweihao/patch-2
Browse files Browse the repository at this point in the history
Added missing 'do'
  • Loading branch information
benjamintanweihao committed Mar 12, 2014
2 parents 70edef8 + 08468ed commit 1c42388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ puts "G'day world!" # check the console!
# Dom manipulation
require 'opal-jquery'

Document.ready?
Document.ready? do
Element.find('body > header').html = '<h1>Hi there!</h1>'
end
```
Expand Down

0 comments on commit 1c42388

Please sign in to comment.