Skip to content

Commit

Permalink
Bumped version to 1.0.1
Browse files Browse the repository at this point in the history
Updated documentation
  • Loading branch information
TylerVigario committed Oct 22, 2019
1 parent 9e55b2e commit d05f911
Show file tree
Hide file tree
Showing 25 changed files with 8,717 additions and 8,633 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ var Mass = require('mass.js');

System of Units
--------------
Default system for units of mass is *US* but can be changed by requiring an alternative entry point (Mass_US, Mass_UK, Mass_SI).
Default system for units of mass is **U.S. customary** but can be changed by requiring an alternative entry point (*Mass_US*, *Mass_UK*, or *Mass_SI*).

```javascript
var Mass = require('mass.js/dist/Mass_US');
var Mass = require('mass.js/dist/Mass_UK');
var Mass = require('mass.js/dist/Mass_SI');
var Mass = require('mass.js/dist/Mass_US'); // U.S. customary
var Mass = require('mass.js/dist/Mass_UK'); // Imperial
var Mass = require('mass.js/dist/Mass_SI'); // International System of Units (unfinished)
```

Example
Expand Down
10 changes: 8 additions & 2 deletions dist/Mass_SI.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
*
* @author Tyler Vigario (MeekLogic)
* @license GPL-3.0-only
* @version 1.0.0
* @version 1.0.1
*/

/**
Expand Down Expand Up @@ -381,7 +381,13 @@ function () {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _MassJS__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
// US Mass units
/**
* Entry-point containing International System of Units units of mass.
*
* @author Tyler Vigario (MeekLogic)
* @license GPL-3.0-only
* @version 1.0.0
*/

var Mass = new _MassJS__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"]([{
name: 'ton',
Expand Down
11 changes: 9 additions & 2 deletions dist/Mass_SI.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions dist/Mass_UK.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
*
* @author Tyler Vigario (MeekLogic)
* @license GPL-3.0-only
* @version 1.0.0
* @version 1.0.1
*/

/**
Expand Down Expand Up @@ -380,7 +380,13 @@ function () {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _MassJS__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
// US Mass units
/**
* Entry-point containing Imperial units of mass.
*
* @author Tyler Vigario (MeekLogic)
* @license GPL-3.0-only
* @version 1.0.0
*/

var Mass = new _MassJS__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"]([{
name: 'ton',
Expand Down
11 changes: 9 additions & 2 deletions dist/Mass_UK.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions dist/Mass_US.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
*
* @author Tyler Vigario (MeekLogic)
* @license GPL-3.0-only
* @version 1.0.0
* @version 1.0.1
*/

/**
Expand Down Expand Up @@ -379,7 +379,13 @@ function () {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _MassJS__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
// US Mass units
/**
* Entry-point containing U.S. customary units of mass.
*
* @author Tyler Vigario (MeekLogic)
* @license GPL-3.0-only
* @version 1.0.1
*/

var Mass = new _MassJS__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"]([{
name: 'ton',
Expand Down
Loading

0 comments on commit d05f911

Please sign in to comment.