jupiterjs/canjs — pull request #35 by marshallswain (2012-05-08 16:45:09+00:00)
Title: Updated Model.findOne docs for when implementing as a function.

Updated the docs to show that URL must be manually built when Model.findOne is implemented as a function.

See the related code and conversation here:
https://www.stypi.com/marshallswain/Model%20findOne.js

Related IRC discussion:
[09:35] I'm having some trouble implementing Model findOne as a function.
[09:35] The URL parameters are being escaped.
[09:35] http://www.stypi.com/marshallswain/Model%20findOne.js
[09:36] <@ralphholzmann> marshallswain: take a look now
[09:39] Ok. How can I help update the docs?
[09:39] http://donejs.com/docs.html#!can.Model.static.findOne
[09:39] I pulled that from the "Implement with a Function" section
[09:40] <@ralphholzmann> ah, i see
[09:41] Thanks for the help. I have that working, now.
[09:42] <@ralphholzmann> our docs are generated from the source
[09:42] <@ralphholzmann> you can fork and pull request them
[09:43] <@ralphholzmann> https://github.com/jupiterjs/canjs/blob/master/model/model.js#L194
[09:43] <@ralphholzmann> written in markdown
[09:45] thanks.