Permalink
Browse files

More inline comments, for anyone reading the demo source

  • Loading branch information...
1 parent 0a069db commit c5a11fa12fa6fbfca8c44acb60bf167e16f1f73c @jzaefferer committed Mar 2, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 demos/textarea.html
View
1 demos/textarea.html
@@ -57,6 +57,7 @@
var newValue = text.val();
// ignore meta key presses
if (newValue != startValue) {
+ // this could try and make a diff instead of storing snapshots
stack.execute(new EditCommand(text, startValue, newValue));
startValue = newValue;
}

0 comments on commit c5a11fa

Please sign in to comment.