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
Thu, Dec 26, 16:12 (7 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2315130
Default Alt Text
app.js (604 B)

Event Timeline