Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Merge pull request #1270 from zhouyaoji/remove_archetypes_update_docs
Browse files Browse the repository at this point in the history
Removed archetypes, fixed an error in the binding example, updated docs to point to `archetypes` directory in `mojito-cli-create`.
  • Loading branch information
Joe Catera committed Nov 5, 2013
2 parents 8167520 + 5d88153 commit c99674c
Show file tree
Hide file tree
Showing 44 changed files with 3 additions and 950 deletions.
4 changes: 2 additions & 2 deletions docs/dev_guide/dashboard_tutorial/01_cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ select the archetype ``simple`` for an application, you are asking Mojito
to create an application using the boilerplate code from the *simple*
version of an application.

This is reflected in the Mojito source, where you’ll find an
`archetypes <https://github.com/yahoo/mojito/tree/develop/lib/app/archetypes>`_
This is reflected in the source code of the ``mojito-cli-create`` package, where you’ll find an
`archetypes <https://github.com/yahoo/mojito-cli-create/tree/develop/archetypes>`_
directory. In this directory, you'll see the directories for the two
artifacts ``app`` and ``mojit``. Within these directories that map to the artifacts,
you will find the archetypes that you specify on the command line. When you
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ YUI.add('PagerMojit', function (Y, NAME) {
// Page param is 1 based, but the model is 0 based
start = (page - 1) * PAGE_SIZE;
// Data is an array of images
model.getData('mojito', start, PAGE_SIZE, function(data) {
model.getData('model', start, PAGE_SIZE, function(data) {
Y.log('DATA: ' + Y.dump(data));
var theData = {
data: data, // images
Expand Down
13 changes: 0 additions & 13 deletions lib/app/archetypes/app/default/application.json.hb

This file was deleted.

Binary file removed lib/app/archetypes/app/default/assets/favicon.ico
Binary file not shown.
Empty file.
21 changes: 0 additions & 21 deletions lib/app/archetypes/app/default/package.json.hb

This file was deleted.

4 changes: 0 additions & 4 deletions lib/app/archetypes/app/default/routes.json

This file was deleted.

17 changes: 0 additions & 17 deletions lib/app/archetypes/app/default/server.js

This file was deleted.

42 changes: 0 additions & 42 deletions lib/app/archetypes/app/full/application.json.hb

This file was deleted.

Binary file removed lib/app/archetypes/app/full/assets/favicon.ico
Binary file not shown.
Empty file.
21 changes: 0 additions & 21 deletions lib/app/archetypes/app/full/package.json.hb

This file was deleted.

9 changes: 0 additions & 9 deletions lib/app/archetypes/app/full/routes.json

This file was deleted.

17 changes: 0 additions & 17 deletions lib/app/archetypes/app/full/server.js

This file was deleted.

13 changes: 0 additions & 13 deletions lib/app/archetypes/app/simple/application.json.hb

This file was deleted.

Empty file.
21 changes: 0 additions & 21 deletions lib/app/archetypes/app/simple/package.json.hb

This file was deleted.

17 changes: 0 additions & 17 deletions lib/app/archetypes/app/simple/server.js

This file was deleted.

13 changes: 0 additions & 13 deletions lib/app/archetypes/app/yahoo/application.json.hb

This file was deleted.

Binary file removed lib/app/archetypes/app/yahoo/assets/favicon.ico
Binary file not shown.
Loading

0 comments on commit c99674c

Please sign in to comment.