Skip to content

Instantly share code, notes, and snippets.

Created February 8, 2014 11:10
Show Gist options
  • Save anonymous/8882118 to your computer and use it in GitHub Desktop.
Save anonymous/8882118 to your computer and use it in GitHub Desktop.
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="https://d3f5pyioow99x0.cloudfront.net/0.8/hull.js"></script>
<script>
Hull.init({
jsUrl: 'https://d3f5pyioow99x0.cloudfront.net',
appId: '519cf60108f40c81e7000007',
orgUrl: 'https://hull-demos.hullapp.io'
});
Hull.component('hello', {
templates: ['a', 'a/b', 'a/b/c']
});
</script>
</head>
<body>
<div data-hull-component="hello"></div>
<script type="text/handlebars" data-hull-template="a">
<h1>A</h1>
{{> a/b}}
</script>
<script type="text/handlebars" data-hull-template="a/b">
<h1>A/B</h1>
{{> a/b/c}}
</script>
<script type="text/handlebars" data-hull-template="a/b/c">
<h1>A/B/C</h1>
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment