I want to add some custom javascript functions to my project document, I cannot find examples of how to actually add these functions to the "lib" section of the project document. Can someone show me an example of how to add a function definition to the "lib" section?
Following actions:
I started using couchapp to manage my project documents, and it has a really good macro for injecting javascript into the map and reducing functions before sending them to the server.
source share