Skip to content
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

Treat minified javascript as binary #1635

Merged
merged 1 commit into from
Jan 12, 2018
Merged

Treat minified javascript as binary #1635

merged 1 commit into from
Jan 12, 2018

Conversation

arcusfelis
Copy link
Contributor

This PR addresses ugly output of "git grep function" and similar commands.
Minified files are usually one-liner, that matches almost every search request.
This PR would replace output with:

git grep function | grep js                                                    
Binary file doc/open-extensions/prettify.js matches                                                                               
Binary file doc/swagger/lib/backbone-min.js matches                                                                               
Binary file doc/swagger/lib/es5-shim.js matches                                                                                   
Binary file doc/swagger/lib/handlebars-2.0.0.js matches                                                                           
Binary file doc/swagger/lib/highlight.9.1.0.pack.js matches                                                                       
Binary file doc/swagger/lib/highlight.9.1.0.pack_extended.js matches                                                              
Binary file doc/swagger/lib/jquery.ba-bbq.min.js matches                                                                          
Binary file doc/swagger/lib/jquery.slideto.min.js matches                                                                         
Binary file doc/swagger/lib/jquery.wiggle.min.js matches                                                                          
Binary file doc/swagger/lib/js-yaml.min.js matches                                                                                
Binary file doc/swagger/lib/jsoneditor.min.js matches                                                                             
Binary file doc/swagger/lib/lodash.min.js matches                                                                                 
Binary file doc/swagger/lib/marked.js matches                                                                                     
Binary file doc/swagger/lib/object-assign-pollyfill.js matches                                                                    
Binary file doc/swagger/lib/swagger-oauth.js matches                                                                              
Binary file doc/swagger/swagger-ui.min.js matches                
Binary file examples/websockets/jsjac/jsjac.js matches

@michalwski michalwski merged commit e2be72c into master Jan 12, 2018
@michalwski michalwski deleted the minified-js-is-blob branch January 12, 2018 11:07
@fenek fenek added this to the 2.1.1 milestone Jan 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants