Permalink
Browse files

syntax fix in README

  • Loading branch information...
1 parent 898f685 commit 071fcc1eda02710996c8a486bc3ecc93806cb615 @dnagir committed Dec 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -105,7 +105,7 @@ class @Page extends ko.Model
@presence 'name', message: 'give me a name, yo!'
# Conditional validation - access model using `this`
- @presence 'name', if: -> @persisted()
+ @presence 'name', only: -> @persisted(), except: -> @id() > 5
# Custom inline validation
@custom 'name', (page) ->

0 comments on commit 071fcc1

Please sign in to comment.