Page MenuHomeDevCentral

app.js
No OneTemporary

import $ from 'jquery';
import 'what-input';
// Foundation JS relies on a global variable. In ES6, all imports are hoisted
// to the top of the file so if we used `import` to import Foundation,
// it would execute earlier than we have assigned the global variable.
// This is why we have to use CommonJS require() here since it doesn't
// have the hoisting behavior.
window.jQuery = $;
require('foundation-sites');
// If you want to pick and choose which modules to include, comment out the above and uncomment
// the line below
//import './lib/foundation-explicit-pieces';
$(document).foundation();

File Metadata

Mime Type
text/x-java
Expires
Sat, Nov 14, 21:37 (4 d, 3 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4245049
Default Alt Text
app.js (604 B)

Event Timeline