JQuery Visual Diff Plugin

后端 未结 3 1445
余生分开走
余生分开走 2020-12-30 17:07

is there a JQuery visual diff plugin that anybody knows about. Something like you would see on GitHub, BitBucket, or any standard source control site?

I have found t

3条回答
  •  甜味超标
    2020-12-30 17:31

    I think you should consider doing a home made plugin, to do the Visual thing.

    There is a jquery plugin which allow you to do $diff comparison like this one :

    By using this you get a usable collection of elements:

    $.diff(obj1, obj2) return  {mod: ..., add: ..., del: ...}
    

    You could use jsfiddle to prototype your own plugin (http://jsfiddle.net/)

提交回复
热议问题