比较最小化Javascript文件的工具 [英] Tools for comparing minimized Javascript files

查看:80
本文介绍了比较最小化Javascript文件的工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要比较两个最小化的Javascript文件.最常见的差异查看器列出了每行的差异,但是当脚本压缩到几行时,这没有用.

I need to compare two minimized Javascript files. Most common diff viewers list differences per line, but this isn't useful when the script is compressed to a few lines.

有没有什么好的工具可以比较最小化的Javascript文件?

Are there any good tools for comparing minimized Javascript files?

推荐答案

Pretty Diff工具将通过单击一次按钮将两个缩小的文件或缩小为一个美化的文件进行比较.

Pretty Diff tool will diff two minified files or a minified to a beautified file with a single button click.

http://prettydiff.com/

它的运行方式是首先最小化文件以删除注释,然后在运行其diff算法之前美化源代码.这是我的工具,所以如果这样做不能满足您的要求,我会接受请求.

It operates by first minifing files to remove comments and the beautifies the source code before running its diff algorithm. This is my tool, so if this does not do what you need I do take requests.

这篇关于比较最小化Javascript文件的工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆