• Stars
    star
    356
  • Rank 119,446 (Top 3 %)
  • Language
    JavaScript
  • License
    BSD 3-Clause "New...
  • Created over 12 years ago
  • Updated over 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Ember-infused CoffeeScript

Build Status

EmberScript

EmberScript is a CoffeeScript-derived language which takes advantage of the Ember.js runtime. Ember constructs such as Inheritance, Mixins, Bindings, Observers, etc. are all first-class citizens within EmberScript.

Examples

class PostsController extends Ember.ArrayController
  trimmedPosts: ~>
    @content.slice(0, 3)

compiles to:

var PostsController;
var get$ = Ember.get;
PostsController = Ember.ArrayController.extend({
  trimmedPosts: Ember.computed(function () {
    return get$(this, 'content').slice(0, 3);
  }).property('content.@each')
});

For a more comprehensive list of live examples, check out the main EmberScript website.

Is this ready to use?

For the most part, but use at your own risk. See the todo list for details. It is recommended to use EmberScript side by side with javascript and/or coffeescript.

Installation

Ruby on Rails

If you are using Rails as your backend, simply add the following to your Gemfile:

gem 'ember_script-rails'

All assets ending in .em will be compiled by EmberScript.

Npm

sudo npm install -g ghempton/ember-script
ember-script --help

Development

make -j build test

More Repositories

1

ember-react

Lightweight set of utilities to make using React inside of Ember.js easier
JavaScript
107
star
2

ember-routemanager

Development has been suspended.
JavaScript
91
star
3

camcorder

VCR not enough? Record arbitrary method invocations for later playback.
Ruby
85
star
4

ember-layout

Layout implementation for Ember.js
JavaScript
65
star
5

ember-router-example

Quick example showing basic usage of the new Ember Router and outlets.
JavaScript
48
star
6

ember-layout-example

Example application using ember-layout and ember-routemanager
JavaScript
37
star
7

state_manager

A ruby FSM implementation that keeps logic separate from model classes and supports sub-states.
Ruby
21
star
8

mocha-lazy-bdd

Lazy bdd interface for mocha that provides RSpec-style let/subject macros for ES5+ projects.
JavaScript
15
star
9

pblocks

Flex 3D Tetris Game
ActionScript
12
star
10

broccoli-json-module

Broccoli filter to convert JSON files to ES6 modules
JavaScript
10
star
11

language-cjsx

Atom syntax highlighting for CoffeeScript JSX
CoffeeScript
8
star
12

ember-script-rails

EmberScript Rails Integration
Ruby
6
star
13

jquery.paginate

Dead simple jQuery pagination plugin.
JavaScript
3
star
14

CodePad

Graph Paper Wordpress Theme
PHP
3
star
15

heimdallr-ams

Active Model Serializer support for Heimdallr
Ruby
2
star
16

grunt-ember-script

Compiles against the EmberScript compiler.
CoffeeScript
2
star
17

broccoli-pegjs

PEG.js filter for Broccoli
JavaScript
2
star
18

ember-react-shim

Bower.io shim for Ember-React
JavaScript
2
star
19

broccoli-cjsx

Coffescript React JSX filter for Broccoli
JavaScript
2
star
20

seolaroid

Turn-key SEO for single page javascript apps
Ruby
1
star
21

ember-script-website

emberscript.com website
CSS
1
star