Skip to content

Commit

Permalink
fixing regression with jupyter lab
Browse files Browse the repository at this point in the history
  • Loading branch information
artur-trzesiok committed May 31, 2022
1 parent fcabaf4 commit 2517033
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "k3d",
"version": "2.14.1",
"version": "2.14.2",
"description": "3D visualization library",
"author": "k3d team",
"main": "src/index.js",
Expand Down
4 changes: 3 additions & 1 deletion js/src/providers/threejs/objects/Label.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
const THREE = require('three');
const katex = require('katex');
let katex = require('katex');
const { areAllChangesResolve } = require('../helpers/Fn');

katex = katex.default || katex;

/**
* Loader strategy to handle Label object
* @method DOM
Expand Down
4 changes: 3 additions & 1 deletion js/src/providers/threejs/objects/Text.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
const THREE = require('three');
const katex = require('katex');
let katex = require('katex');

katex = katex.default || katex;

/**
* Loader strategy to handle LaTex object
Expand Down
4 changes: 3 additions & 1 deletion js/src/providers/threejs/objects/Text2d.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
const THREE = require('three');
const katex = require('katex');
let katex = require('katex');
const { areAllChangesResolve } = require('../helpers/Fn');

katex = katex.default || katex;

/**
* Loader strategy to handle LaTex object
* @method DOM
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "k3d",
"version": "2.14.1",
"version": "2.14.2",
"description": "3D visualization library",
"keywords": [
"jupyter",
Expand Down

0 comments on commit 2517033

Please sign in to comment.