https://github.com/lluchs/ractive-adaptors-promise
https://github.com/lluchs/ractive-adaptors-promise
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lluchs/ractive-adaptors-promise
- Owner: lluchs
- License: mit
- Created: 2013-12-16T16:37:54.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-09-23T09:43:15.000Z (almost 12 years ago)
- Last Synced: 2026-01-23T10:44:23.189Z (5 months ago)
- Language: JavaScript
- Homepage: http://lluchs.github.io/Ractive-adaptors-Promise/
- Size: 294 KB
- Stars: 7
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT
Awesome Lists containing this project
README
Ractive.js Promise adaptor plugin
=================================
*Find more Ractive.js plugins at [docs.ractivejs.org/latest/plugins](http://docs.ractivejs.org/latest/plugins)*
[See the demo here.](http://lluchs.github.io/Ractive-adaptors-Promise/)
Usage
-----
Include this file on your page below Ractive, e.g:
```html
```
Or, if you're using a module loader, require this module:
```js
// requiring the plugin will 'activate' it - no need to use the return value
require( 'Ractive-adaptors-Promise' );
```
Add the plugin to the Ractive options:
```js
ractive = new Ractive({
// ...
adapt: [ 'Promise' ]
});
```
[See the demo for an example.](http://lluchs.github.io/Ractive-adaptors-Promise/)
License
-------
Copyright (c) 2013 Lukas Werling. Licensed MIT
Created with the [Ractive.js plugin template](https://github.com/RactiveJS/Plugin-template) for Grunt.