874
edits
(→Usage: simplified example) |
(→Modules: added url module) |
||
| Line 108: | Line 108: | ||
The following modules come built-in with Cuddlefish and can be retrieved with a call to <tt>require()</tt>. | The following modules come built-in with Cuddlefish and can be retrieved with a call to <tt>require()</tt>. | ||
=== <tt>url</tt> === | |||
The <tt>url</tt> module provides functionality for the parsing and retrieving of URLs. | |||
<tt>url.'''resolve'''(''base'', ''relative'')</tt> | |||
Returns an absolute URL given a base URL and a relative URL. | |||
=== <tt>traceback</tt> === | === <tt>traceback</tt> === | ||
edits