Sha256: ad32effe3b2decaf83e9ad7bd24d8e1be019e6a58aa3173a9a50af1c83f4620a
Contents?: true
Size: 673 Bytes
Versions: 95
Compression:
Stored size: 673 Bytes
Contents
model - Create a new model class in your SproutCore app. USAGE: sc-gen model AppName.ClassName [--filename=FILENAME] [--target=TARGET_NAME] DISCUSSION: This generator will create a new SproutCore model file in your app. You should pass as the first parameter your AppName.ClassName combination you want to create. For example: sc-gen model Todos.Task defines a new class called Todos.Task in the file apps/todos/models/task.js . In addition to creating a model class, this will also create a stub for you to add Fixture data. This is a convenient way to preload your application with data while you develop the client but have not yet connected to your server.
Version data entries
95 entries across 95 versions & 2 rubygems