Skip to content

Commit

Permalink
Create new dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
partridgejiang committed May 11, 2024
1 parent 95ccf8f commit 630340d
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
6 changes: 4 additions & 2 deletions dist/kekule.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ function loadChildScriptFiles(scriptUrls, forceDomLoader, callback)
appendScriptFiles(document, scriptUrls, function(error)
{
// set a marker indicate that all modules are loaded
(this.Kekule || __nodeContext.Kekule)._loaded();
if (this.Kekule || __nodeContext.Kekule)
(this.Kekule || __nodeContext.Kekule)._loaded();
if (callback)
callback(error);
});
Expand Down Expand Up @@ -1021,7 +1022,8 @@ function init()
this.DataType = exports.DataType;

// then store script info of Kekule
this.Kekule.scriptSrcInfo = scriptInfo;
if (this && this.Kekule)
this.Kekule.scriptSrcInfo = scriptInfo;
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion dist/kekule.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/mins/algorithm.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/mins/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/mins/root.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kekule",
"version": "1.0.0",
"version": "1.0.1",
"description": "Open source JavaScript toolkit for chemoinformatics",
"main": "dist/kekule.js",
"exports": {
Expand Down

0 comments on commit 630340d

Please sign in to comment.