-
Notifications
You must be signed in to change notification settings - Fork 261
Minimization #116
Copy link
Copy link
Closed
Labels
platform-javascriptRelated to the JavaScript version of alphaTabRelated to the JavaScript version of alphaTabstate-acceptedThis is a valid topic to work on.This is a valid topic to work on.state-needs-info
Metadata
Metadata
Assignees
Labels
platform-javascriptRelated to the JavaScript version of alphaTabRelated to the JavaScript version of alphaTabstate-acceptedThis is a valid topic to work on.This is a valid topic to work on.state-needs-info
Type
Fields
Give feedbackNo fields configured for issues without a type.
Hi,
Code works fine, until I have in C# MVC BundleTable.Optimization = false. When optimization is enabled I have following error:
Problematic function is importScripts(e.data.alphaSynthScript);
My bundle is
bundles.Add(new ScriptBundle("
/Scripts/alphaTab/bundle").Include(/Scripts/alphaTab/AlphaTab.js","
"
/Scripts/alphaTab/jquery.alphaTab.js",/Scripts/alphaTab/lib/swfobject/swfobject.js","
"
/Scripts/alphaTab/lib/alphaSynth/AlphaSynth.js",/Scripts/alphaTab/jquery.alphaTab.alphaSynth.js"));"
I saw that the problematic function 'importScripts' is defined in string. Could you change this code or it is not possible to do that in easy way? Or may be am I doing something wrong? Thanks in advance for your support