superfly-timeline
Advanced tools
Comparing version 5.0.3 to 5.0.4
@@ -5,2 +5,13 @@ # Change Log | ||
<a name="5.0.4"></a> | ||
## [5.0.4](https://github.com/SuperFlyTV/supertimeline/compare/5.0.3...5.0.4) (2018-09-04) | ||
### Bug Fixes | ||
* nested parentheses bug ([a828cea](https://github.com/SuperFlyTV/supertimeline/commit/a828cea)) | ||
* operator order bug ([00f5186](https://github.com/SuperFlyTV/supertimeline/commit/00f5186)) | ||
<a name="5.0.3"></a> | ||
@@ -7,0 +18,0 @@ ## [5.0.3](https://github.com/SuperFlyTV/supertimeline/compare/5.0.2...5.0.3) (2018-09-04) |
@@ -679,3 +679,3 @@ "use strict"; | ||
words[i] = tmp_1.inner; | ||
words.splice(i + 1, tmp_1.inner.length + 1); | ||
words.splice.apply(words, [i + 1, 99999].concat(tmp_1.rest)); | ||
} | ||
@@ -712,3 +712,3 @@ else if (words[i] === ')') { | ||
if (operatorI === -1) { | ||
operatorI = words.indexOf(operator); | ||
operatorI = words.lastIndexOf(operator); | ||
} | ||
@@ -791,3 +791,4 @@ }); | ||
var expression = expression0; | ||
log('resolveExpression', enums_1.TraceLevel.TRACE); | ||
// @ts-ignore stringify | ||
log('resolveExpression' + JSON.stringify(expression0, '', 2), enums_1.TraceLevel.TRACE); | ||
var l = resolveExpression(expression.l, whosAsking, getObjectAttribute); | ||
@@ -812,2 +813,3 @@ var r = resolveExpression(expression.r, whosAsking, getObjectAttribute); | ||
else { | ||
log('resolveExpression' + expression0, enums_1.TraceLevel.TRACE); | ||
if (isNumeric(expression0)) { | ||
@@ -814,0 +816,0 @@ if (_.isNumber(expression0)) { |
{ | ||
"name": "superfly-timeline", | ||
"version": "5.0.3", | ||
"version": "5.0.4", | ||
"description": "A collection of rules as well as a resolver for placing objects on a virtual timeline.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
182163
1779