Skip to content

Commit

Permalink
Fix ticket #26. Directives on className were messing up Autorender
Browse files Browse the repository at this point in the history
  • Loading branch information
beebole committed Jun 8, 2009
1 parent 13580e3 commit 9023586
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions js/pure.js
Expand Up @@ -5,9 +5,9 @@
Licensed under the MIT licenses.
More information at: http://www.opensource.org
Copyright (c) 2008 Michael Cvilic - BeeBole.com
Copyright (c) 2009 Michael Cvilic - BeeBole.com
revision: 1.32
revision: 1.33
* * * * * * * * * * * * * * * * * * * * * * * * * */
var $p, pure;
Expand Down Expand Up @@ -497,8 +497,8 @@ $p = pure = {

compile:function(elm, fName, directives, context){
var html = elm;
if(directives) {html = $p.map( directives, elm);}
if(context) {html.setAttribute($p.utils.AUTO, 'true');}
if(directives) {html = $p.map( directives, elm);}
return $p.compile(html, fName, context||false, false);},//return the compiled JS

render:function(elm, context, directives, html, auto){
Expand Down

0 comments on commit 9023586

Please sign in to comment.