forked from yui/yuicompressor
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Prevent stray quote characters in comments from corrupting the minification. #2
Open
FGasper
wants to merge
47
commits into
stoyan:master
Choose a base branch
from
FGasper:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ile.encoding") [fixes #2528014].
… the catch. Added a new test. JSLint tweaks.
filter spec so that a single process can process multiple files [fixes #1872317].
…-position replace
Signed-off-by: Reid Burke <[email protected]>
….g., "YUI"" This reverts commit d27f3ad. More info: http://yuilibrary.com/projects/yuicompressor/ticket/2528054
Using generics from Java 5 and httpserver from Sun Java 6. Add JSON.org library.
…none -> 0 [bug 2528040]
This reverts commit 5f08e37.
Bake the version number into the usage output - the better fix would be to have it analyze itself, but this is better than just the 'x.y.z' in the interim.
… to the new jar, adds the new jar under the lib/, removes the old jar, makes YUI's JavaScriptCompressor.java aware of "let" and "yield" by setting the env to 1.7 by default, and adds the Rhino 1.7 changes to the src/org/mozilla/javascript tree.
…kipping over the 'function' if it was one of those.
… gh-tml/indentFix
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Example CSS file that was being corrupted:
/* This has a spare apostrophe: ' /
body { color:green }
/ ...and it screws up the minifying. ' */
body { font-family: monospace }