Skip to content

Instantly share code, notes, and snippets.

View giancarlo's full-sized avatar

Giancarlo Bellido giancarlo

View GitHub Profile
/**
* @license
* Adapted from fast-diff library(https://github.com/jhchen/fast-diff/blob/master/diff.js) by jhchen.
*
* This library modifies the diff-patch-match library by Neil Fraser
* by removing the patch and match functionality and certain advanced
* options in the diff function. The original license is as follows:
*
* ===
*
function del(obj)
{
var
properties = Object.getOwnPropertyNames(obj),
l = properties.length
;
while (l--)
{
try {