Sha256: 03d8289388b2ff4bf1839ec40e7d528c155a2e482cf8522f608ad5ddac9fb154

Contents?: true

Size: 618 Bytes

Versions: 4

Compression:

Stored size: 618 Bytes

Contents

<html lang="en-GB">
	<head>
		<script type="text/javascript" src="https://raw.github.com/pixeltrix/steering-source/master/lib/steering/handlebars.runtime.js"></script>
		<script type="text/javascript" src="mytemplate.js"></script>
	</head>

	<body>
		<div id="placeholder">This example will only work if you precompile mytemplate.handlebars. See README!</div>
	</body>

	<script type="text/javascript">
		template = Handlebars.templates['mytemplate'];
		var placeholderElement = document.getElementById('placeholder');
		placeholderElement.innerHTML = template({title: 'My title', body: "My body"});
	</script>
</html>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
steering-1.3.0 example/index.html
steering-1.2.0 example/index.html
steering-1.1.1 example/index.html
steering-1.1.0 example/index.html