Labs/Jetpack/JEP/28: Difference between revisions

Jump to navigation Jump to search
→‎Modules: added url module
(→‎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> ===
874

edits

Navigation menu