Commit Graph

3 Commits

Author SHA1 Message Date
Ryan Florence b15c41d3f0 updated ember to 1.0.0
- added new ember application generator
- also Ember -> ember in AMD requires

Change-Id: I7914a2578161e4f8370fc05ed6596ed07347c897
Reviewed-on: https://gerrit.instructure.com/24038
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Aaron Shafovaloff <ashafovaloff@instructure.com>
Tested-by: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Ryan Florence <ryanf@instructure.com>
QA-Review: Ryan Florence <ryanf@instructure.com>
2013-09-05 16:46:33 +00:00
Ryan Florence 35df119b5d updated ember bundle output
apps are now extensions of Ember.Application so
that we have more control inside of tests (can
be required as a module)

Change-Id: I1ff02be278eb1bb9efd2720d859deba1abd31443
Reviewed-on: https://gerrit.instructure.com/23656
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Ryan Florence <ryanf@instructure.com>
QA-Review: Ryan Florence <ryanf@instructure.com>
2013-08-23 17:03:55 +00:00
Ryan Florence e9c5ff2197 added ember generators
- first install new npm modules `npm install`
- add node_modules/.bin/ to your path or install
  loom globally with `npm install -g loom` or
  call the binary directly from node_modules with
  `node_modules/.bin/generate <args>`

to generate objects for your ember app run

  `generate <generator> <app>/<name> <options>`

examples:

  generate model quizzes/user name:string
  generate component inbox/modal
  generate route inbox/messages/message

test plan:
- none, we aren't set up to test node code but
  loom itself is well tested

Change-Id: Ibdf1d6307cbf5f2eb651d0f45aa0f94229b57814
Reviewed-on: https://gerrit.instructure.com/23387
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Derek DeVries <ddevries@instructure.com>
Reviewed-by: Ryan Florence <ryanf@instructure.com>
Product-Review: Ryan Florence <ryanf@instructure.com>
QA-Review: Ryan Florence <ryanf@instructure.com>
2013-08-19 17:22:01 +00:00