I use JsMinify for miffing my project javascript codes.
Consider the following code :
var Test = 'test';
eval('alert(Test);');
When I do not use JsMinify class to minify the codes everything is ok but after using the JsMinify transformer "Test" changes to a new name thus eval('alert(Test);'); can not work because "var Test" is changed.
Please guide me for solving this problem.
Consider the following code :
var Test = 'test';
eval('alert(Test);');
When I do not use JsMinify class to minify the codes everything is ok but after using the JsMinify transformer "Test" changes to a new name thus eval('alert(Test);'); can not work because "var Test" is changed.
Please guide me for solving this problem.