This package has been deprecated

Author message:

WARNING: This project has been renamed to @zemax/mf-js. Install using @zemax/mf-js instead.

mf-js

2.0.6 • Public • Published

mf JS modules

My personnal daily used stuffs for JS. Feel free to use it.

Install

npm install mf-js

Use

Use ES6 import (prefered, use Babel if needed)

import ready from 'mf-js/modules/dom/ready';

or CommonJS Syntax

const ready = require('mf-js/modules/dom/ready');

I also advise you to get some core-js and whatwg-fetch polyfills, and starts some happy modern coding !

require( 'core-js/fn/object/assign' );
require( 'core-js/fn/object/values' );
require( 'core-js/fn/array/from' );
require( 'core-js/fn/array/for-each' );
require( 'core-js/fn/promise' );

Changelog

2016/11/21

  • added CSS state for RWD
  • added Fullscreen helper
  • some unit tests improvments

2016/11/18

  • v2 ! Breaking changes !
  • ES6 + CommonJS syntax : use Babel (seriously, use it)
  • Drop support of deprecated polyfills
  • Completed tests

2016/03/31

  • added Easing functions
  • added LatLng distance function

Readme

Keywords

Package Sidebar

Install

npm i mf-js

Weekly Downloads

5

Version

2.0.6

License

MIT

Unpacked Size

369 kB

Total Files

47

Last publish

Collaborators

  • zemax