Sha256: 196e2c37cc443b6e5c4a7881450519f24bfc296adbdb6e2b53296cb2a846c017

Contents?: true

Size: 399 Bytes

Versions: 1

Compression:

Stored size: 399 Bytes

Contents

React = require('react')
Backbone = require('backbone')
$ = require('jquery')
cssify = require('cssify')
AppViewComponent = require('./client/views/app')
Router = require('./client/router')
require('./client.css')

Backbone.$ = $

$(document).ready ()->
  AppView = React.createFactory(AppViewComponent)
  appView = AppView(router: new Router)
  React.render appView, document.getElementById('app')

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
carte-server-0.0.15 lib/carte/client.coffee