ampersand-collection
Advanced tools
Comparing version 1.3.12 to 1.3.13
{ | ||
"name": "ampersand-collection", | ||
"version": "1.3.12", | ||
"version": "1.3.13", | ||
"author": "Henrik Joreteg <henrik@andyet.net>", | ||
@@ -5,0 +5,0 @@ "bugs": { |
@@ -97,2 +97,4 @@ # ampersand-collection | ||
*Please note* that if you do this, you'll also want to overwrite `isModel` method with your own so you can describe the logic that should be used to determine whether an object is already an instantiated model or not. | ||
```javascript | ||
@@ -107,2 +109,6 @@ var Library = AmpersandCollection.extend({ | ||
} | ||
}, | ||
isModel: function (model) { | ||
return model instanceof PublicDocument || model instanceof PrivateDocument; | ||
} | ||
@@ -109,0 +115,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36032
348