GitXplorerGitXplorer
s

ember-foodchart

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
cb5656c281f41f92f95b77b9288c75ae918622f0

Add button

ssouthgate committed 12 years ago
Unverified
257055f6e3488af730c8c8cd081a08071b2e33b1

Add source link

ssouthgate committed 12 years ago
Unverified
074f3cc3f1f51cbd72e635c163607cbbd4957625

Hacked remove conditional.

ssouthgate committed 12 years ago
Unverified
7e21c1a966b0193a6af1b312e551ebeaf7c01287

Just missing conditional delete.

ssouthgate committed 12 years ago
Unverified
344242bdbf78ba6def71bda127004ed1a741c2ce

add/remove/inc/dec functionality.

ssouthgate committed 12 years ago
Unverified
b7e5077ca3ec103eca3aa175245db13e62fa3343

Initial commit

ssouthgate committed 12 years ago

README

The README file for this repository.

Ember.js Template

Overview

Ember-template aims to help developers create Ember.js applications with a modular approach. At the same time, compiling the application down to simply static assets, an application.js file and an application.css file.

This repo contains all the code necessary to develop your application and perform the compilation procedure.

By default it ships with the Ember.js Todos application already running.

Usage

Clone the repository and enter the ember-template directory. You'll need Ruby and Bundler.

bundle install
bundle exec rackup

You will now have a server running at http://127.0.0.1:9292. To access your Ember.js application go to:

http://127.0.0.1:9292/index.html

Building your Ember.js application

Your Ember.js application should be built inside the ember-skeleton folder. Use the following file/folder explanations as a guide:

ember-skeleton
 |-	controllers -- Ember.js controllers
 |-	models		-- Ember.js models
 |-	static 		-- Any static assets (images, media) associated with your application
 |-	stylesheets	-- Either CSS or SASS files for your application
 |-	templates	-- Ember.js templates

On each page refresh, the rake-pipeline Rack middleware will compile the application into public/application.

Bootstrapping your application

In order to load the main controller of your application you must append that controller's view to the page.

You can do this using the appendTo method built into Ember.js, like so:

var MainView = Ember.View.create({
  templateName: 'main_view'
}).appendTo('#ember-skeleton');

Todo

  • Add Coffeescript support to the Assetfile
  • Hopefully track the rake-pipeline gem against rubygems instead of the git repo

Copyright

Copyright (c) 2012 Jason Barry, Steve Agalloco. See LICENSE for details