6c10e1df by Michael Richards

Replace array detection with ES5's Array.isArray.

1 parent 70452402
...@@ -31,7 +31,7 @@ Rivets.adapters['.'] = ...@@ -31,7 +31,7 @@ Rivets.adapters['.'] =
31 response 31 response
32 32
33 observeMutations: (obj, ref, keypath) -> 33 observeMutations: (obj, ref, keypath) ->
34 if Object.prototype.toString.call(obj) is '[object Array]' 34 if Array.isArray obj
35 map = @weakReference obj 35 map = @weakReference obj
36 36
37 unless map.pointers? 37 unless map.pointers?
......