Skip to content

Commit

Permalink
Released v3.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Sep 21, 2016
1 parent 7742b36 commit d6ce2cd
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# History


## not yet released, version 3.5.3
## 2016-09-21, version 3.5.3

- Some more fixes regarding numbers ending with a decimal mark (like `2.`).

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mathjs",
"version": "3.5.2",
"version": "3.5.3",
"main": "./dist/math.min.js",
"license": "Apache-2.0",
"ignore": [
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mathjs",
"version": "3.5.2",
"version": "3.5.3",
"description": "Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser and offers an integrated solution to work with numbers, big numbers, complex numbers, units, and matrices.",
"repo": "josdejong/mathjs",
"main": "dist/math.min.js",
Expand Down
14 changes: 7 additions & 7 deletions dist/math.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* It features real and complex numbers, units, matrices, a large set of
* mathematical functions, and a flexible expression parser.
*
* @version 3.5.2
* @date 2016-09-20
* @version 3.5.3
* @date 2016-09-21
*
* @license
* Copyright (C) 2013-2016 Jos de Jong <[email protected]>
Expand Down Expand Up @@ -25086,7 +25086,7 @@ return /******/ (function(modules) { // webpackBootstrap
/* 101 */
/***/ function(module, exports) {

module.exports = '3.5.2';
module.exports = '3.5.3';
// Note: This file is automatically generated when building math.js.
// Changes made in this file will be overwritten.

Expand Down Expand Up @@ -29709,7 +29709,6 @@ return /******/ (function(modules) { // webpackBootstrap
// skip over whitespaces
// space, tab, and newline when inside parameters
while (isWhitespace(c)) {
// TODO: also take '\r' carriage return as newline? Or does that give problems on mac?
next();
}

Expand Down Expand Up @@ -29925,18 +29924,19 @@ return /******/ (function(modules) { // webpackBootstrap
* @private
*/
function isWhitespace (c) {
return c == ' ' || c == '\t' || (c == '\n' && nesting_level > 0)
// TODO: also take '\r' carriage return as newline? Or does that give problems on mac?
return c == ' ' || c == '\t' || (c == '\n' && nesting_level > 0);
}

/**
* Test whether the character c is a decimal mark (dot).
* This depends on whether it's followed by a digit or whitespace
* This is the case when it's not the start of a delimiter like '.*' or './'
* @param {string} c
* @param {string} cNext
* @return {boolean}
*/
function isDecimalMark (c, cNext) {
return c == '.' && (isDigit(cNext) || isWhitespace(cNext) || cNext == '')
return c == '.' && !DELIMITERS[c + cNext];
}

/**
Expand Down
2 changes: 1 addition & 1 deletion dist/math.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/math.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/expression/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ function factory (type, config, load, typed) {

/**
* Test whether the character c is a decimal mark (dot).
* This is the case when it's not the start of a delimeter like '.*' or './'
* This is the case when it's not the start of a delimiter like '.*' or './'
* @param {string} c
* @param {string} cNext
* @return {boolean}
Expand Down
2 changes: 1 addition & 1 deletion lib/version.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = '3.5.2';
module.exports = '3.5.3';
// Note: This file is automatically generated when building math.js.
// Changes made in this file will be overwritten.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mathjs",
"version": "3.5.2",
"version": "3.5.3",
"description": "Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser and offers an integrated solution to work with numbers, big numbers, complex numbers, units, and matrices.",
"author": "Jos de Jong <[email protected]> (https://github.com/josdejong)",
"contributors": [
Expand Down

0 comments on commit d6ce2cd

Please sign in to comment.