CIDARLAB / 3DuF

Found the usage of undeclared variables JS-0125
Bug risk
Critical
15 days ago3 years old
   1(function (global, factory) {
   2    typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
   3    typeof define === 'function' && define.amd ? define(['exports'], factory) :   4    (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.noUiSlider = {}));
   5})(this, (function (exports) { 'use strict';
   6
   1(function (global, factory) {
   2    typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
   3    typeof define === 'function' && define.amd ? define(['exports'], factory) :   4    (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.noUiSlider = {}));
   5})(this, (function (exports) { 'use strict';
   6
'saveAs' is not defined
 800                        type: "text/plain"
 801                    });
 802
 803                    saveAs(blob, name + ".stl"); 804                }
 805                const exporter = new THREE.STLExporter();
 806                const exportString = function exportString(output, filename) {
'skinMatrices' is not defined
 771                                                        tempVector.multiplyScalar(weights[k]);
 772                                                        // the inverse takes the vector into local bone space
 773                                                        // which is then transformed to the appropriate world space
 774                                                        tempVector.applyMatrix4(inverses[k]).applyMatrix4(skinMatrices[k]); 775                                                        finalVector.add(tempVector);
 776                                                    }
 777
'inverses' is not defined
 771                                                        tempVector.multiplyScalar(weights[k]);
 772                                                        // the inverse takes the vector into local bone space
 773                                                        // which is then transformed to the appropriate world space
 774                                                        tempVector.applyMatrix4(inverses[k]).applyMatrix4(skinMatrices[k]); 775                                                        finalVector.add(tempVector);
 776                                                    }
 777