Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3942347
app.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
604 B
Referenced Files
None
Subscribers
None
app.js
View Options
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
Details
Attached
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)
Attached To
Mode
rUPSECTION Upsection
Attached
Detach File
Event Timeline
Log In to Comment