-
Notifications
You must be signed in to change notification settings - Fork 1
Home
hammond13 edited this page Sep 14, 2010
·
6 revisions
DaisyDiff.cfc is a simple wrapper for DaisyDiff that provides a function to compare two strings and return the output. DaisyDiff doesn’t, at this writing, provide such a function. This differs from Danial Mackey’s CompareHtmlComponent in that it allows you to use the latest version of DaisyDiff and is, of course, open source.
Example Usage:
<cfset var daisy = CreateObject("componnt","cfc.DaisyDiff").Init(expandPath("../daisydiff-1.1/daisydiff.jar"),"cfc.javaloader.JavaLoader")>
<cfset var diff = daisy.diff(olderhtml,newerhtml)>