Skip to content

Instantly share code, notes, and snippets.

@DesignByOnyx
Last active June 7, 2024 19:52
Show Gist options
  • Save DesignByOnyx/997d754d5f70228b25145e449a5face4 to your computer and use it in GitHub Desktop.
Save DesignByOnyx/997d754d5f70228b25145e449a5face4 to your computer and use it in GitHub Desktop.
function() {
var e, t, n, r, i, o, a = arguments[0] || {}, s = 1, u = arguments.length, l = !1;
for ("boolean" == typeof a && (l = a, a = arguments[s] || {}, s++), "object" == typeof a || v(a) || (a = {}), s === u && (a = this, s--); s < u; s++)
if (null != (e = arguments[s]))
for (t in e) r = e[t], "__proto__" !== t && a !== r && (l && r && (ce.isPlainObject(r) || (i = Array.isArray(r))) ? (n = a[t], o = i && !Array.isArray(n) ? [] : i || ce.isPlainObject(n) ? n : {}, i = !1, a[t] = ce.extend(l, o, r)) : void 0 !== r && (a[t] = r));
return a
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment