-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
What is the best way to include the IIFE javascript output file published from Adobe Animate in Ionic? I tried importing the resulting file like so:
import '../../scripts/animate-output.js'
But this results in the error:
Uncaught TypeError: cjs.MovieClip is not a constructor
Peeking into the animate-output.js file, I see it is an instantly-invoked function expression that starts with:
(function (cjs, an) {
and ends with:
})(createjs = createjs||{}, AdobeAn = AdobeAn||{});
var createjs, AdobeAn;
Metadata
Metadata
Assignees
Labels
No labels