Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Commit

Permalink
Release 1.9.0 Change spine-webgl.js to external script dependency
Browse files Browse the repository at this point in the history
dom dependency was causing errors on export
  • Loading branch information
MikalDev committed Aug 14, 2020
1 parent 63e0766 commit 4ed51ec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Binary file added dist/Spine-v1.9.0.c3addon
Binary file not shown.
2 changes: 1 addition & 1 deletion src/addon.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "plugin",
"name": "Spine",
"id": "Gritsenko_Spine",
"version": "1.8.0",
"version": "1.9.0",
"author": "Igor Gritsenko and Mikal",
"website": "https://gritsenko.github.io/c3_spine_plugin",
"documentation": "https://gritsenko.github.io/c3_spine_plugin",
Expand Down
12 changes: 6 additions & 6 deletions src/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{

const PLUGIN_ID = "Gritsenko_Spine";
const PLUGIN_VERSION = "1.8.0";
const PLUGIN_VERSION = "1.9.0";
const PLUGIN_CATEGORY = "general";

const PLUGIN_CLASS = SDK.Plugins.Gritsenko_Spine = class SpinePlugin extends SDK.IPluginBase {
Expand Down Expand Up @@ -34,12 +34,12 @@
this._info.SetCanBeBundled(true);


// this._info.AddFileDependency({
// filename: "c3runtime/spine-webgl.js",
// type: "external-dom-script"
// });
this._info.AddFileDependency({
filename: "c3runtime/spine-webgl.js",
type: "external-runtime-script"
});

this._info.SetDOMSideScripts(["c3runtime/spine-webgl.js"]);
// this._info.SetDOMSideScripts(["c3runtime/spine-webgl.js"]);


this._info.SetSupportedRuntimes(["c3"]);
Expand Down

0 comments on commit 4ed51ec

Please sign in to comment.