]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Remove UMD references from docs
authorGeoff Kimball <geoff@zurb.com>
Thu, 19 Nov 2015 18:32:45 +0000 (10:32 -0800)
committerGeoff Kimball <geoff@zurb.com>
Thu, 19 Nov 2015 18:32:45 +0000 (10:32 -0800)
docs/layout/component.html
docs/pages/javascript.md

index 105eba18ededafe862abfcbcc73cd8d5b4c9d59a..78250428ab8baa45683c22dea0b909304c49b7ea 100644 (file)
     </ul>
     {{/each}}{{/if}}
 
-    <p>To import as an AMD module (for use with <a href="http://requirejs.org/">RequireJS</a>):</p>
-
-<div class="docs-code"><pre><code>define(['{{memberof}}.{{name}}'], function({{name}}) {
-});</code></pre></div>
-
-    <p>To import as a CommonJS module (for use with <a href="http://browserify.org/">Browserify</a> or <a href="https://webpack.github.io/">Webpack</a>):</p>
-
-    <div class="docs-code"><pre><code>var {{name}} = require('{{memberof}}.{{name}}');</code></pre></div>
-
-    <p>Note that when importing plugins with module loaders, the plugins are not initialized by default. They must be manually registered with Foundation, like this:</p>
-
-    <div class="docs-code"><pre><code>var {{name}} = require('{{memberof}}.{{name}}');
-
-Foundation.plugin({{name}});</code></pre></div>
   </section>
   {{/with}}{{/if}}
 
index fd62b047669528db9e4e4fd8de6844e1c5549611..ca2c4c875e153d3d7bd5751008acb497517cce9e 100644 (file)
@@ -145,9 +145,3 @@ Refer to each plugin's documentation to see a list of events it fires, and when
 <div class="callout warning">
   <p>Starting with Foundation 6, we removed callbacks as plugin settings. All use of callbacks with plugins should be done as event listeners.</p>
 </div>
-
----
-
-## Module Loader Support
-
-<!-- TODO: JS module loader docs -->