简体   繁体   English

最新版本的SquishIt仍然存在JavaScript关闭问题吗

[英]Does the latest version of SquishIt still have the issues with JavaScript closures

While doing some analysis on the usage details for the SquishIt framework, I came across a link as mentioned below: 在对SquishIt框架的使用细节进行一些分析时,我遇到了如下所述的链接:

https://danielsaidi.wordpress.com/tag/squishit/ https://danielsaidi.wordpress.com/tag/squishit/

which describes that SquishIt is having some problems with getting to work with JavaScript closures. 描述了SquishIt在使用JavaScript闭包方面存在一些问题。

I am currently using the latest version :0.9.3.0 of SquishIt.Mvc. 我当前正在使用SquishIt.Mvc的最新版本:0.9.3.0。 Can anyone help me to know whether this version has still the issues while working with JavaScript closures. 谁能帮我知道使用JavaScript闭包时该版本是否仍然存在问题。

I am not aware of any issues at this time (was not aware of any in 2010 either however). 目前我还没有发现任何问题(不过,2010年也没有发现任何问题)。 It seems like any issues with closures are probably really issues with the minification library used, or files incorrectly terminated. 似乎与关闭相关的任何问题实际上可能是所使用的缩小库或文件错误终止的问题。 At some point in the last couple years I think we did start adding semicolons between concatenated files if not present to deal with the latter. 在过去的几年中,我认为我们确实开始在级联文件之间添加分号(如果不存在)以处理后者。 If you do find any I would love to hear about them. 如果您找到任何我想听听的信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM