-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Javascript function with async gets ignored #25
Comments
This is usually an issue with the minifier itself. If you are using the default (MS ajax) you can try using it with yahoo with something like:
or similar. I am not really doing much .net stuff lately but if this doesn't help I can probably get set up in a couple days. You can look at the configuration options available to either minifier as well - maybe just need to set them up to allow async or something. If you find anything about a minimum version of ajax min or yui I will look into what we can do here to support it as well. Out of curiosity what asp.net etc versions are you using? |
(do the above in your startup pipeline somewhere, you can also change at the bundle level using .WithMinifier method) |
I am working on Where exactly should I put WithMinifier method,... EDIT: |
Sorry for the late reply - I could have sworn I sent before. I think this is right but I don't really know VB.net. I assume this worked for you? |
Hi.
I am having problem with minified js files,...
When I use javascript function like below (calling async), it gets ignored by SquishIt. Function is missing from minified version. I am using version 1.0.4 (same is with version 0.9).
example 1:
example 2:
The text was updated successfully, but these errors were encountered: