Skip to content

Instantly share code, notes, and snippets.

@bernharduw
bernharduw / list-item.js
Last active December 7, 2016 02:24 — forked from casesandberg/list-item.js
reactcss playground
import React from 'react';
import styled from 'styled-components';
const Item = styled.div`
margin-top: 1px;
padding: 15px;
background: #333;
${({first}) => first ? `
margin-top: 0;
(function(window, undefined){
window.Document = Backbone.Model.extend({
url: function () {
var self = this,
base = '/' + self.database;
if (self.isNew())
// /common/core/ampersand-input-view-dust.js
/**
* Extends the Ampersand InputView class to make it work with Dust templates
*/
/*global dust*/
var InputView = require('ampersand-input-view');
var InputViewDust = InputView.extend({
template: 'includes.formInput',
render: function () {
var self = this;