Browse files

a little fix

  • Loading branch information...
1 parent 9df4736 commit 7480bf9d3fb50939eca3a5f13b06280c122fc9b5 @alsotang alsotang committed Oct 28, 2012
Showing with 7 additions and 7 deletions.
  1. +7 −7 README.markdown
View
14 README.markdown
@@ -132,19 +132,19 @@ _.swapCase('hELLO')
=> 'Hello'
```
-**includes** _.includes(string, substring)
-
-Tests if string contains a substring.
+**include** available only through _.str object, because Underscore has function with the same name.
```javascript
-_.includes("foobar", "ob")
+_.str.include("foobar", "ob")
=> true
```
-**include** available only through _.str object, because Underscore has function with the same name.
+(removed) **includes** _.includes(string, substring)
+
+Tests if string contains a substring.
```javascript
-_.str.include("foobar", "ob")
+_.includes("foobar", "ob")
=> true
```
@@ -545,7 +545,7 @@ The same as `toSentence`, but adjusts delimeters to use [Serial comma](http://en
```javascript
_.toSentenceSerial(['jQuery', 'Mootools'])
-=> 'Mootools and Prototype';
+=> 'jQuery and Mootools';
_.toSentenceSerial(['jQuery', 'Mootools', 'Prototype'])
=> 'jQuery, Mootools, and Prototype'

0 comments on commit 7480bf9

Please sign in to comment.