sources.json

9 views
Skip to first unread message

P. Douglas Reeder

unread,
Aug 24, 2010, 11:37:30 AM8/24/10
to jasmine-webos
You'll want to add to the docs (http://pivotal.github.com/jasmine-
webos/guide.html) that, in addition to adding the Jasmine files to
sources.json, you need to add the "test" scene for any assistants that
are tested. For example:

{
"source": "app/assistants/first-assistant.js",
"scenes": ["first", "test"]
},
{ "source": "plugins/jasmine-webos/app/lib/jasmine.js"},
{ "source": "plugins/jasmine-webos/app/lib/jasmine-webos.js"},
{ "source": "spec/models/first-spec.js"}


Also, I'm not sure it's a good idea to have the Jasmine test scene
called "test", just like Mojo.Test's test scene.

Davis Frank

unread,
Aug 24, 2010, 10:14:06 PM8/24/10
to jasmin...@googlegroups.com
Thanks for the feedback re: assistant name. I'll put a story in to change that.

I'm not a fan of specifying the scenes property for a file.  I'm much more in the camp of "load it all up front" after developing a bunch of apps.

--dwf

Davis Frank

unread,
Sep 24, 2010, 3:46:15 PM9/24/10
to jasmin...@googlegroups.com
Also, the scene name change will make it into a future release (likely 1.0.2).  It's on master now.

--dwf
Reply all
Reply to author
Forward
0 new messages