2
私はMeteor経由でKineticJSオブジェクトの位置更新をしようとしています。Meteorを介してKineticJS Canvas要素を更新する
トラブルがでていることが表示されます:
// Find the document with id "123", and completely replace it.
Users.update({_id: "123"}, {name: "Alice", friends: ["Bob"]});
は、私は、データを介して、更新されたかどうかを確認してみました:
Players.update({name: "Rect"}, {xpos: this.attrs.x})
ここで流星のドキュメントが言うことです
console.log(Players.findOne({name: "Rect"}).xpos);
ここにgithubがあります。
https://github.com/randompast/randomtests/tree/master/meteorCanvasTest