<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.2.1/pure-min.css">
<style type="text/css">
{{>on-promise-css}}
</style>

<div class="intro">
    <p>
       {{description}} This way we don't need listeners for both the 'after'- and 'error'-event.
   </p>
</div>

{{>on-promise-html}}

</p>

<h2>Complete Example Source</h2>
```
<body>

{{>on-promise-html}}

{{>on-promise-js}}

</body>
```
<script>
{{>init-loaderconfig-js}}
{{>loaderconfig-js}}
{{>on-promise-js}}
</script>