Sha256: f9236bbd1e76f01d1fa84b6f06ac46a53f9f41917b298540f3caabdacbf1af7c

Contents?: true

Size: 948 Bytes

Versions: 17

Compression:

Stored size: 948 Bytes

Contents

app - Create a new SproutCore application target.

USAGE:

  sc-gen app AppName [--filename=FILENAME] [--target=TARGET_NAME] [--statechart]

DISCUSSION:

This generator will create a new SproutCore application for a particular
project.  You should pass as the first parameter your AppName you want to
create.  For example:

  sc-gen app Todos

This defines a new application called Todos in the file apps/todos/ .  Or you
can include a basic statechart for example:

  sc-gen app Todos --statechart

This defines a new application called Todos in the file apps/todos/ using
statecharts.  Within the apps/Todos/resources directory you will have a
statechart.js file and a states directory with the ready_state.js file.  The
statechart.js file sets the initial state of your app to ready.

As your app grows.  You will create new states within the statechart.js file.
In your states folder you will describe the states declared in the statechart.js.

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
sproutcore-1.11.0 lib/gen/app/USAGE
sproutcore-1.11.0.rc3 lib/gen/app/USAGE
sproutcore-1.11.0.rc2 lib/gen/app/USAGE
sproutcore-1.11.0.rc1 lib/gen/app/USAGE
sproutcore-1.10.3.1 lib/gen/app/USAGE
sproutcore-1.10.2 lib/gen/app/USAGE
sproutcore-1.10.1 lib/gen/app/USAGE
sproutcore-1.10.0 lib/gen/app/USAGE
sproutcore-1.10.0.rc.3 lib/gen/app/USAGE
sproutcore-1.10.0.rc.2 lib/gen/app/USAGE
sproutcore-1.10.0.rc.1 lib/gen/app/USAGE
sproutcore-1.9.2 lib/gen/app/USAGE
sproutcore-1.9.1 lib/gen/app/USAGE
sproutcore-1.9.0 lib/gen/app/USAGE
sproutcore-1.8.2.1 lib/gen/app/USAGE
sproutcore-1.8.1 lib/gen/app/USAGE
sproutcore-1.8.0 lib/gen/app/USAGE