Permalink
Browse files

fixed error in documentation

  • Loading branch information...
1 parent 2fefbf8 commit ecb84c3523e10efc798ad52797a9dfbc8f0ed49e @pennyfx pennyfx committed Sep 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 public/index.html
View
@@ -236,7 +236,7 @@ <h2 id="tag_line">Custom HTML elements for modern browsers.</h2>
getters: {
value: function(){
// everything superinputs do has a little super mixed in ;)
- return this.value + ' is super';
+ return this.dataset.value + ' is super';
}
}
});
@@ -260,7 +260,7 @@ <h2 id="tag_line">Custom HTML elements for modern browsers.</h2>
value: function(value){
// boy, these superinputs sure are loud little buggers.
alert(value);
- this.value = value;
+ this.dataset.value = value;
}
}
});

0 comments on commit ecb84c3

Please sign in to comment.