Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

new: archetype for hybrid app/mojit combo #606

wants to merge 16 commits into


None yet
1 participant

isao commented Oct 9, 2012

  • add lib/app/archetypes/app/hybrid/* which contains both an app and mojit
    template/scaffolding; primarily for hybrid html5app configs
  • tweak create.js so usage text reflects new mojito create app hybrid subtype
  • remove lingering remnant of create project

isao added some commits Oct 9, 2012

@isao isao make web page fetch error non-fatal 73e4552
@isao isao redo hybrid/html5app archtype from scratch
these files are copied from template-app, and I'll edit to
include things from the docs and crt post-processing script
@isao isao app.json
- rename
- add hb template placeholders
- add configs from docs
@isao isao package.json rname, add {{name}}, etc 4d4c986
@isao isao routes rename, add mojit route,, {{name}} eb74069
@isao isao rm shell-based template, add hb stuff 60da949
@isao isao rm readme c701587
@isao isao update controller, binder, model
- use "top_frame" name/prefix
- rename .hb
@isao isao rename reformat {{name}} + yahoo.mojito.package: public f410cf0
@isao isao redo test archetypes again with top_frame, not {{name}} 2dec13b
@isao isao mv archetype (avoids needing create.js changes)
new: `mojito create app hybrid` command creates a mojito
application and a top_frame HTMLFrameMojit with configs
useful for hybrid Html5App/Cocktails-Runtime development
@isao isao update `mojito create` usage
- add usage text for `create app hybrid`
- remove remnants of non-functional, long-gone `create project`
@isao isao de-lint ce3f7ad
@isao isao rm optional config that is part of a separate change 139a12d
@isao isao rm old external script 6d3691c

isao commented Oct 9, 2012

This change for mojito create app hybrid creates an app that contains a mojit named "top_frame". This is different from mojito create app [simple,default,full] which only create the app, and the mojit is created in a second step. However, this was the requirement I was given.


isao commented Oct 9, 2012

n.b. if archetypes include binder tests, mojito test app . fails with dom on nodejs error; fixed for pre-existing archetypes in pull #607

@isao isao closed this Oct 10, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment