A ruhoh-compatible data mapper for desirae
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
AJ ONeal e9b5a0be39 v1.0.6: update deps il y a 6 ans
.gitignore typo fix il y a 9 ans
LICENSE Initial commit il y a 9 ans
README.md updated README, add versions stub il y a 9 ans
bower.json v1.0.2 il y a 9 ans
datamapper-ruhoh.js v1.0.5: merge estranged v1.0.4 il y a 6 ans
package.json v1.0.6: update deps il y a 6 ans

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);