How to use the foundation-sites.Foundation.version function in foundation-sites

To help you get started, we’ve selected a few foundation-sites examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bezoerb / generator-sf / generators / view / foundation / templates / scripts / jspm / main.js View on Github external
/* eslint-env browser */
import debugFn from 'debug';
import $ from 'jquery';
import {Foundation} from 'foundation-sites';
import picturefill from 'picturefill';
import svg4everybody from 'svg4everybody';
import * as SW from './modules/service-worker';

let debug = debugFn('<%= props.safeAppame %>:main');
picturefill();
svg4everybody();
$(document).foundation();

debug('\'Allo \'Allo');
debug('Running jQuery:', $().jquery);
debug('Running Foundation:', Foundation.version);

SW.init();