Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updating readme formatting

  • Loading branch information...
commit ac3aa1ec6a7c381107ee8a907db104578bb6c8b1 1 parent 3e4201f
@sorensen sorensen authored
Showing with 7 additions and 6 deletions.
  1. +1 −0  .gitignore
  2. +4 −4 README.md
  3. +2 −2 test/utils.test.js
View
1  .gitignore
@@ -21,6 +21,7 @@ thumbs.db
.log
.pid
.sock
+.monitor
# Dreamweaver added files
_notes
View
8 README.md
@@ -14,7 +14,7 @@ A collection of handy plugins for mongoose
* <a href="#Troop.rest"> rest </a> (http or rpc controller)
-# acl <a name="Troop.acl" href="#Troop.acl"><small><sup>link</sup></small></a>
+# <a name="Troop.acl" href="#Troop.acl">acl</a>
Simple access control list
## Methods
@@ -32,7 +32,7 @@ Remove `key` access to a Model instance
Return or callback a boolean
-# basicAuth <a name="Troop.basicAuth" href="#Troop.basicAuth"><small><sup>link</sup></small></a>
+# <a name="Troop.basicAuth" href="#Troop.basicAuth">basicAuth</a>
Simple authentication plugin
@@ -97,7 +97,7 @@ User.findOne({ username: 'foo'}, function(err, doc) {
````
-# timestamp <a name="Troop.timestamp" href="#Troop.timestamp"><small><sup>link</sup></small></a>
+# <a name="Troop.timestamp" href="#Troop.timestamp">timestamp</a>
Adds a `created` and `modified` property to the schema, updating the timestamps as expected.
@@ -153,7 +153,7 @@ console.log(instance.slug) // `well-hello-there`
````
-# keywords <a name="Troop.keywords" href="#Troop.keywords"><small><sup>link</sup></small></a>
+# <a name="Troop.keywords" href="#Troop.keywords">keywords</a>
Keyword extraction/creation plugin, can be used as a simple substitute of a full
search indexing package.
View
4 test/utils.test.js
@@ -48,12 +48,12 @@ describe('Utils', function () {
done()
})
})
-
+
it('should still work with populate', function (done) {
arrmodel.save(function (err) {
assert.strictEqual(err, null)
othermodel.save(function (err) {
- assert.strictEqual(err, null)
+ assert.strictEqual(err, null)
bar.save(function (err) {
assert.strictEqual(err, null)
BarModel
Please sign in to comment.
Something went wrong with that request. Please try again.