See ReactComponentView
and BackboneModelWatchMixin
, below.
The BackboneModelWatchView
could use some additional methods to allow adding/removing watched models after the component is created.
a/ | |
b/ |
#################################### | |
# BASIC REQUIREMENTS | |
# http://graphite.wikidot.com/installation | |
# http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/ | |
# Last tested & updated 10/13/2011 | |
#################################### | |
cd | |
sudo apt-get update | |
sudo apt-get upgrade |
Post.findById(postId, function (err, post) { | |
// handle errors .. | |
post.comments.push({ body: someText, user: userId }); | |
post.save(callback); | |
}) |
URL="https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash" | |
PROFILE="$HOME/.profile" | |
echo "Downloading git-completion..." | |
if ! curl "$URL" --silent --output "$HOME/.git-completion.bash"; then | |
echo "ERROR: Couldn't download completion script. Make sure you have a working internet connection." && exit 1 | |
fi |