@mabbly/starter

1.1.1 • Public • Published

StarterJS

Mabbly StarterJS is a JS library that has some most used functionality across Mabbly's Web Projects.

  • To use StarterJS in your project, import it and instantiate it and save a reference to it.
import Starter from '@mabbly/starter';

const MabblyStarter = new Starter({
    loadWistia: true,
    loadImagesAsync: true,
    loadSentry: true
}, window);

window.MabblyStarter = MabblyStarter;

MabblyStarter.init();

MabblyStarter can do the following things:

  1. Load Wistia JS asynchronously
  2. Load all your images asynchronously
  3. Loads object-fit and picturefill polyfills
  4. Loads Sentry JS module
  5. Exposes a class AsyncLoader to load any third party JS/CSS file asynchronously.

Readme

Keywords

none

Package Sidebar

Install

npm i @mabbly/starter

Weekly Downloads

9

Version

1.1.1

License

UNLICENSED

Unpacked Size

12 kB

Total Files

9

Last publish

Collaborators

  • rajumandapati
  • rajuprohabits
  • mabblydev