fix for stylesheets.load

This commit is contained in:
AJ ONeal 2015-01-23 15:15:10 -07:00
parent 1494d764c1
commit ef32ef512e
2 changed files with 5 additions and 4 deletions

View File

@ -61,13 +61,14 @@
}
, title: view.site.title
}
, 'stylesheets.load': function () {
, stylesheets: { 'load': function () {
return function (text, render) {
// TODO pay attention to text of which styles to load?
// this is unescaped, right?
render(view.desi.styles.join('\n'));
console.log('$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ magicstache');
return render(view.desi.styles.join('\n'));
};
}
}}
, styles: view.desi.styles.join('\n')
, assets: view.desi.styles.join('\n') // ruhoh-twitter only
, comments: comments // ruhoh-twitter only

View File

@ -1,6 +1,6 @@
{
"name": "desirae-datamap-ruhoh",
"version": "1.0.0",
"version": "1.0.1",
"description": "A ruhoh datamap plugin for desirae",
"main": "datamapper-ruhoh.js",
"scripts": {