[jquery-claypool] Web site documentation scan plugin.

13 views
Skip to first unread message

Jason Rice

unread,
May 14, 2010, 2:05:07 PM5/14/10
to jquery-claypool
http://www.claypooljs.com/doc/apis/1.0.x/plugins/user/scan

The above link outputs the following:
Error Loading: http://www.claypooljs.com/templates/site/html/pages/api.js?1273860098540

I am using the following:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009082505
Red Hat/3.0.14-1.el5_4 Firefox/3.0.14

--
You received this message because you are subscribed to the Google Groups "jquery-claypool" group.
To post to this group, send email to jquery-...@googlegroups.com.
To unsubscribe from this group, send email to jquery-claypo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jquery-claypool?hl=en.

chris thatcher

unread,
May 14, 2010, 3:53:42 PM5/14/10
to jquery-...@googlegroups.com
huh, thats a weird one, http://www.claypooljs.com/templates/site/html/pages/api.js works just fine.  I'll kick the tires asap, should be this evening for sure, I'm actually running to the train right now.  I have a lot of updates backlogged too and some nice enhancements folks have contributed, so I'll get working on those too.

Heres the gist of scanning

$.scan([
  'MyApp.Models',
  'MyApp.Views',
  'MyApp.Controllers',
  'MyApp.Services'//server-side controllers
]);

then after boot you can do

var contacts = $.$('#contactsModel');

etc and views/controllers are all made available as well.

Thatcher
--
Christopher Thatcher

chris thatcher

unread,
May 16, 2010, 10:06:42 PM5/16/10
to jquery-...@googlegroups.com
Jason, wanted to let you know I got that fixed, the documentation was actually missing.  I didnt do as much documentation as I'd like but I wanted to get the basic usage there and make sure the link wasnt reporting an error.

I'm giving the claypool site another over haul next, i just finished with the www.envjs.com site updated (they are similar) and will be adding the ability to edit documentation as a structured wiki as well updating the templates to jquery.tmpl so they can be resued on the client.

Please feel free to ask for any clarification or help with using claypool, I'm happy to help and still use it heavily myself.

Thatcher
Reply all
Reply to author
Forward
0 new messages