Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
rivets
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
6c10e1df
authored
2013-08-16 20:52:33 -0700
by
Michael Richards
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Replace array detection with ES5's Array.isArray.
1 parent
70452402
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/adapters.coffee
src/adapters.coffee
View file @
6c10e1d
...
...
@@ -31,7 +31,7 @@ Rivets.adapters['.'] =
response
observeMutations
:
(
obj
,
ref
,
keypath
)
->
if
Object
.
prototype
.
toString
.
call
(
obj
)
is
'[object Array]'
if
Array
.
isArray
obj
map
=
@
weakReference
obj
unless
map
.
pointers
?
...
...
Please
register
or
sign in
to post a comment