backbone.js adding model to collection adds to all models in collection
问题 Playing around with backbone.js, so far I've created models and collections for a deck of cards and two players. The problem is when I try move a card from the deck and add it to the player's hand the card gets added to all players hands. Here's my offending code, hopefully a boffin will spot the mistake straight away: //the first card goes to player1 var topCard = deck.at(0); //A of hearts deck.remove(topCard); var hand = players.at(0).get("hand"); hand.add(topCard); //the second card goes