Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Commit 9101355

Browse files
committed
Oups... Second fix
1 parent dca250d commit 9101355

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

dist/display.es6.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,8 +620,8 @@ class DisplayJS {
620620
const second = array[1][0];
621621
const firstVal = array[0][1];
622622
const secondVal = array[1][1];
623-
const a = djs.math().div(djs.math().sub(firstVal, secondVal), djs.math().sub(first, second));
624-
const b = djs.math().sub(secondVal, djs.math().mul(second, a));
623+
const a = djs.math.div(djs.math.sub(firstVal, secondVal), djs.math.sub(first, second));
624+
const b = djs.math.sub(secondVal, djs.math.mul(second, a));
625625
if (text == true) {
626626
return `f(x) = ${a}x+${b}; f(${valC}) = ${valC * a + b}`;
627627
}

dist/display.es6.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/display.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -813,8 +813,8 @@ var DisplayJS = function () {
813813
var second = array[1][0];
814814
var firstVal = array[0][1];
815815
var secondVal = array[1][1];
816-
var a = djs.math().div(djs.math().sub(firstVal, secondVal), djs.math().sub(first, second));
817-
var b = djs.math().sub(secondVal, djs.math().mul(second, a));
816+
var a = djs.math.div(djs.math.sub(firstVal, secondVal), djs.math.sub(first, second));
817+
var b = djs.math.sub(secondVal, djs.math.mul(second, a));
818818
if (text == true) {
819819
return "f(x) = " + a + "x+" + b + "; f(" + valC + ") = " + (valC * a + b);
820820
} else {

dist/display.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "display.js",
3-
"version": "v1.2.1",
3+
"version": "v1.2.2",
44
"description": "A simple JavaScript framework for building ambitious UIs",
55
"main": "dist/display.min.js",
66
"directories": {

src/display.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,8 +620,8 @@ class DisplayJS {
620620
const second = array[1][0];
621621
const firstVal = array[0][1];
622622
const secondVal = array[1][1];
623-
const a = djs.math().div(djs.math().sub(firstVal, secondVal), djs.math().sub(first, second));
624-
const b = djs.math().sub(secondVal, djs.math().mul(second, a));
623+
const a = djs.math.div(djs.math.sub(firstVal, secondVal), djs.math.sub(first, second));
624+
const b = djs.math.sub(secondVal, djs.math.mul(second, a));
625625
if (text == true) {
626626
return `f(x) = ${a}x+${b}; f(${valC}) = ${valC * a + b}`;
627627
}

0 commit comments

Comments
 (0)