   return (date.getFullYear() + '').substr(4 - all.length);
        }
        return all;
    });
    return format;
});


var data = {
	a: 'aaa',
	b: 'bbb',
	time: 1408535976126
};
var html = template('test', data);
document.getElementById('content').innerHTML = html;
</script>
</body>
</html>