Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366431 - [Compare]Check jsdiff library into orion code base.
Summary: [Compare]Check jsdiff library into orion code base.
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.4 M2   Edit
Assignee: libing wang CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-12 11:44 EST by libing wang CLA
Modified: 2011-12-12 12:10 EST (History)
1 user (show)

See Also:


Attachments
The source file that has been approved. (16.27 KB, application/zip)
2011-12-12 11:48 EST, libing wang CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description libing wang CLA 2011-12-12 11:44:33 EST
Checking in jsdiff source code, Version: 1.0.2 (2011/11/17), approved by http://dev.eclipse.org/ipzilla/show_bug.cgi?id=5811.
Comment 1 libing wang CLA 2011-12-12 11:48:57 EST
Created attachment 208271 [details]
The source file that has been approved.
Comment 2 libing wang CLA 2011-12-12 11:56:25 EST
fixed with f567f002f320caf1d78f57758d7d0a3254943249.
Simon reviewed the naming convention of the jsdiff folder and the example usage of the APIs.
Comment 3 libing wang CLA 2011-12-12 12:10:13 EST
Example usage of the API(jsDiff.createPatch):

define(['foo', 'jsdiff/diff'], function(foo) {
    .
    .
    .
    var patch = JsDiff.createPatch("file name", oldContent, newContent, "oldHeader", "newHeader") ;
    .
    .
    .
});