From d9d94013defb6b801716c7520e50d5a960f14072 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 23 Jan 2015 03:54:04 -0700 Subject: [PATCH] handle stylesheets.load --- datamapper-ruhoh.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/datamapper-ruhoh.js b/datamapper-ruhoh.js index 5b05651..7fe67d9 100644 --- a/datamapper-ruhoh.js +++ b/datamapper-ruhoh.js @@ -61,6 +61,13 @@ } , title: view.site.title } + , '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')); + }; + } , styles: view.desi.styles.join('\n') , assets: view.desi.styles.join('\n') // ruhoh-twitter only , comments: comments // ruhoh-twitter only