Find more Ractive.js plugins at ractivejs.org/plugins
Include this file on your page below Ractive, e.g:
<script src='lib/Ractive.js'></script>
<script src='lib/Ractive-adaptors-Promise.js'></script>
Or, if you're using a module loader, require this module:
// requiring the plugin will 'activate' it - no need to use the return value
require( 'Ractive-adaptors-Promise' );
Add the plugin to the Ractive options:
ractive = new Ractive({
// ...
adaptors: [ 'Promise' ]
});
Copyright (c) 2013 Lukas Werling. Licensed MIT
Created with the Ractive.js plugin template for Grunt.