added “findWhere” to collections

This commit is contained in:
Dang Tran
2014-01-30 16:03:03 -08:00
committed by Dang Tran
parent 45d36a4a78
commit 722c799832
+1
View File
@@ -175,6 +175,7 @@ declare module Backbone {
sort(options?: Silenceable): Collection;
unshift(model: Model, options?: AddOptions): Model;
where(properies: any): Model[];
findWhere(properties: any): Model;
_prepareModel(attrs?: any, options?: any): any;
_removeReference(model: Model): void;