Browse files

v3: add support for attribute and function

  • Loading branch information...
1 parent 6120627 commit 35aeeec8c5d1a45d13c37fd0365c6ec8933b36bc @pure committed Apr 16, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 v3_preview/pure3.html
View
4 v3_preview/pure3.html
@@ -8,7 +8,7 @@
</head>
<body>
<div class="template">
- <a id="p"></a>
+ <a></a>
<span class="who"></span>
</div>
<div id="result"></div>
@@ -22,7 +22,7 @@
directive = {
'a':'site',
'a@href':'href',
- 'a@id+':'id',
+ 'a@id':'id',
'span':function(a){
return this.who;
}

0 comments on commit 35aeeec

Please sign in to comment.