Labs/Jetpack/JEP/13: Difference between revisions

Jump to navigation Jump to search
Line 39: Line 39:
Where <code>stringMountPath</code> is a string that enumerates where, starting from the <code>jetpack</code> base, the feature will be mounted. To get a list of what mount paths are available, see the "Reading the Future" section below. Some examples of using <code>future.import</code> are as folows:
Where <code>stringMountPath</code> is a string that enumerates where, starting from the <code>jetpack</code> base, the feature will be mounted. To get a list of what mount paths are available, see the "Reading the Future" section below. Some examples of using <code>future.import</code> are as folows:


<pre class="brush:js;>
<pre class="brush:js;toolbar:false;">
// jetpack.storage.sqlite is currently undefined.
// jetpack.storage.sqlite is currently undefined.
jetpack.future.import("storage.sqlite");
jetpack.future.import("storage.sqlite");
577

edits

Navigation menu