@khanacademy/kas 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/es/index.js +11 -5
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +11 -4
- package/dist/index.js.map +1 -1
- package/dist/version.d.ts +1 -0
- package/experimenter.html +42 -17
- package/package.json +7 -4
- package/src/compare.js +5 -5
- package/src/index.js +2 -0
- package/src/version.ts +10 -0
- package/tsconfig-build.json +10 -0
- package/tsconfig-build.tsbuildinfo +1 -0
- package/tsconfig.json +0 -9
package/CHANGELOG.md
CHANGED
package/dist/es/index.js
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { addLibraryVersionToPerseusDebug } from '@khanacademy/perseus-core';
|
|
1
2
|
import _ from 'underscore';
|
|
2
3
|
|
|
4
|
+
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
5
|
+
const libName = "@khanacademy/kas";
|
|
6
|
+
const libVersion = "0.3.2";
|
|
7
|
+
addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
8
|
+
|
|
3
9
|
// this is a @generated file
|
|
4
10
|
|
|
5
11
|
/* parser generated by jison 0.4.15 */
|
|
@@ -5823,10 +5829,10 @@ const compare = function compare(expr1, expr2, options) {
|
|
|
5823
5829
|
};
|
|
5824
5830
|
|
|
5825
5831
|
/* Options that could be added in the future:
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5832
|
+
* - Allow ratios: e.g. 3/1 and 3 should both be accepted for something
|
|
5833
|
+
* like slope
|
|
5834
|
+
* - Allow student to choose their own variable names
|
|
5835
|
+
*/
|
|
5830
5836
|
|
|
5831
5837
|
if (options !== undefined) {
|
|
5832
5838
|
// eslint-disable-next-line no-undef
|
|
@@ -5883,5 +5889,5 @@ const compare = function compare(expr1, expr2, options) {
|
|
|
5883
5889
|
};
|
|
5884
5890
|
};
|
|
5885
5891
|
|
|
5886
|
-
export { Abs, Add, Const, Eq, Float, Func, Int, Log, Mul, One, Pow, Rational, Trig, Unit, Var, Zero, compare, parse, unitParse };
|
|
5892
|
+
export { Abs, Add, Const, Eq, Float, Func, Int, Log, Mul, One, Pow, Rational, Trig, Unit, Var, Zero, compare, libVersion, parse, unitParse };
|
|
5887
5893
|
//# sourceMappingURL=index.js.map
|