Skip to content

Instantly share code, notes, and snippets.

View dustin-H's full-sized avatar

Dustin Hoffner dustin-H

View GitHub Profile
@dustin-H
dustin-H / designer.html
Last active August 29, 2015 14:16
designer
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-app.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
class Blog extends React.Component{
constructor(){
super();
this.state = {
text: ''
}
}
componentDidMount(){
superagent.get('/getpost')
.end(function(err, data){
@dustin-H
dustin-H / StyleProvider.vue
Last active June 14, 2017 07:55
Usage example of fela in vue
<template>
<style id="felaServerStyles">{{styleString}}</style>
</template>
<script>
import { renderToString, isServer } from './fela.js'
export default {
data() {
return {isServer: isServer}