(╯°□°)╯︵ ┻━┻ The CoffeeScript Web Framework
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
icons
src
test
.editorconfig
.gitignore
Gulpfile.coffee
LICENSE
README.md
bower.json
coffeelint.json
package.json
yarn.lock

README.md

Zorium

Zorium - The CoffeeScript Web Framework

zorium.org

(╯°□°)╯︵ ┻━┻ v2.0.0

Features

Example

z = require 'zorium'

class Icon
  render: ({children}) ->
    z '.icon', children

class AppComponent
  constructor: ->
    @state = z.state
      name: 'Zorium'

  render: =>
    {name} = @state.getValue()

    z '.zorium',
      z 'p.text',
        z Icon, 'fireworks'
        "The Future -#{name}"

z.render new AppComponent(), document.body

Documentation

zorium.org

Installation

yarn add zorium

Contribute

yarn install
yarn test

Changelog

  • 1.x -> 2
    • [breaking] deprecate z.ev()
    • [breaking] deprecate attributes property for manually specifying attributes
    • [breaking] deprecate z.router
    • [breaking] upgrade to RxJS v5
    • [breaking] remove requestAnimationFrame and Promise polyfill
    • add support for rendering static classes as components
    • migrate backend from virtual-dom to dio.js