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