Labs/Jetpack/JEP/13: Difference between revisions

No edit summary
Line 35: Line 35:
The general syntax for importing from the future is as follows:
The general syntax for importing from the future is as follows:


<pre class="brush:pre;toolbar:false;">jetpack.future.import( stringMountPath )</pre>
<pre class="brush:js;toolbar:false;">jetpack.future.import( stringMountPath )</pre>


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:
577

edits