A ruhoh-compatible data mapper for desirae
Go to file
AJ ONeal dd9d9732e8 v1.0.4: update links and license 2018-11-07 10:32:45 -07:00
.gitignore typo fix 2015-01-23 15:16:52 -07:00
LICENSE Initial commit 2015-01-15 21:21:00 -07:00
README.md updated README, add versions stub 2015-01-15 22:35:29 -07:00
bower.json v1.0.2 2015-01-23 17:44:36 -07:00
datamapper-ruhoh.js add native desi view 2015-01-31 00:40:41 -07:00
package.json v1.0.4: update links and license 2018-11-07 10:32:45 -07:00

README.md

datamap-ruhoh

A ruhoh-compatible data mapper for desirae

This mapper attempts to map both ruhoh@1.0 (ruhoh-twitter) and ruhoh@2.6 (ruhoh-bootstrap-2) views onto the same object.

As it turns out, there don't seem to be any conflicts, but if we find out there are, we can separate into two functions.

npm install --save desirae-datamap-ruhoh

bower install --save desirae-datamap-ruhoh

browser

Desirae.registerDataMapper('ruhoh', exports.DesiraeDatamapRuhoh);
Desirae.registerDataMapper('ruhoh@1.0', exports.DesiraeDatamapRuhoh);
Desirae.registerDataMapper('ruhoh@2.6', exports.DesiraeDatamapRuhoh);

io.js / node.js

Desirae.registerDataMapper('ruhoh', require('desirae-datamap-ruhoh').DesiraeDatamapRuhoh);
Desirae.registerDataMapper('ruhoh@1.0', require('desirae-datamap-ruhoh').DesiraeDatamapRuhoh);
Desirae.registerDataMapper('ruhoh@2.6', require('desirae-datamap-ruhoh').DesiraeDatamapRuhoh);