fix for stylesheets.load
This commit is contained in:
		
							parent
							
								
									1494d764c1
								
							
						
					
					
						commit
						ef32ef512e
					
				@ -61,13 +61,14 @@
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
      , title: view.site.title
 | 
					      , title: view.site.title
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    , 'stylesheets.load': function () {
 | 
					    , stylesheets: { 'load': function () {
 | 
				
			||||||
        return function (text, render) {
 | 
					        return function (text, render) {
 | 
				
			||||||
          // TODO pay attention to text of which styles to load?
 | 
					          // TODO pay attention to text of which styles to load?
 | 
				
			||||||
          // this is unescaped, right?
 | 
					          // 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')
 | 
					    , styles: view.desi.styles.join('\n')
 | 
				
			||||||
    , assets: view.desi.styles.join('\n')                   // ruhoh-twitter only
 | 
					    , assets: view.desi.styles.join('\n')                   // ruhoh-twitter only
 | 
				
			||||||
    , comments: comments                                    // ruhoh-twitter only
 | 
					    , comments: comments                                    // ruhoh-twitter only
 | 
				
			||||||
 | 
				
			|||||||
@ -1,6 +1,6 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "name": "desirae-datamap-ruhoh",
 | 
					  "name": "desirae-datamap-ruhoh",
 | 
				
			||||||
  "version": "1.0.0",
 | 
					  "version": "1.0.1",
 | 
				
			||||||
  "description": "A ruhoh datamap plugin for desirae",
 | 
					  "description": "A ruhoh datamap plugin for desirae",
 | 
				
			||||||
  "main": "datamapper-ruhoh.js",
 | 
					  "main": "datamapper-ruhoh.js",
 | 
				
			||||||
  "scripts": {
 | 
					  "scripts": {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user