Basics are in place

This commit is contained in:
Kyle Mathews 2015-06-11 16:41:30 -07:00
commit ece83848ab
17 changed files with 466 additions and 0 deletions

11
wrappers/html.cjsx Normal file
View file

@ -0,0 +1,11 @@
React = require 'react'
module.exports = React.createClass
displayName: "HTMLWrapper"
render: ->
#html = require "../" + @props.page.requirePath
console.log @props
html = "<div>fix me</div>"
<div dangerouslySetInnerHTML={{__html: html}}/>