pure Revision a71c4b01a1ee (Tue Dec 16 2008 at 17:20) - Diff Link to this snippet: https://friendpaste.com/4tGeYDtu9ih8VqoM6PQiKU Embed: manni perldoc borland colorful default murphy trac fruity autumn bw emacs pastie friendly Show line numbers Wrap lines 1234567891011121314151617181920212223242526272829303132333435363738<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <title></title> <script type="text/javascript" src="js/mootools-1.2.1-core.js"></script> <script type="text/javascript" src="js/mootools-1.2-more.js"></script> <script type="text/javascript" src="js/pure.js"></script><script>document.addEvent('domready', function(){ var directives = { '.i_greeting': 'name' }; $('p_sample').compile('p_sample_c', directives); $('greeting1').render('p_sample_c', { 'name' : 'Beebole' }); $('greeting2').render('p_sample_c', { 'name' : 'PURE' }); })</script> </head> <body> <div id="greeting1"></div> <div id="greeting2"></div> <div id="p_sample"> <span class="i_greeting">Hello</span> </div> </body></html>