Skip to content

Commit

Permalink
node env handle for export
Browse files Browse the repository at this point in the history
  • Loading branch information
birm committed Jan 23, 2025
1 parent 7127bb2 commit 9d3c06e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions common/DrawHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,6 @@ caDrawHelper.prototype.clearCanvas = function(canvas){
var DrawHelper = new caDrawHelper();
//OpenSeadragon.DrawHelper = DrawHelper;

if (typeof window == 'undefined') {
if (typeof process !== 'undefined' && process.versions && process.versions.node) {
module.exports = caDrawHelper;
}


0 comments on commit 9d3c06e

Please sign in to comment.