!function(t){"function"==typeof define&&define.amd?define("dev",t):t()}(function(){"use strict";window.objectDiff=function(e,t){if(!t||"[object Object]"!==Object.prototype.toString.call(t))return e;var n,o,r,c,i,f,l={};for(n in e)e.hasOwnProperty(n)&&(o=e[n],r=t[n],c=n,f=i=void 0,i=Object.prototype.toString.call(o),"[object Undefined]"===(f=Object.prototype.toString.call(r))?l[c]=null:i!==f?l[c]=r:"[object Object]"===i?(f=objectDiff(o,r),1<Object.keys(f).length&&(l[c]=f)):"[object Array]"===i?function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}(o,r)||(l[c]=r):"[object Function]"===i?o.toString()!==r.toString()&&(l[c]=r):o!==r&&(l[c]=r));for(n in t)!t.hasOwnProperty(n)||e[n]||e[n]===t[n]||(l[n]=t[n]);var u={};return Object.keys(l).forEach(function(t){u[t]={value:l[t],previous:e[t]}}),u},void 0===console.table&&(console.table=function(){})});
