Closed sandinmyjoints closed 11 years ago
> extend = require('deep-extend') [Function] > Q = { defaults: { instructions: null } }; { defaults: { instructions: null } } > SQ = { defaults: { prompt: { image: null } } }; { defaults: { prompt: { image: null } } } > extend(Q, SQ) { defaults: { instructions: null, prompt: { image: {} } } }
With jQuery.extend, image is still null.
image
null
Thanks! Fixed!
With jQuery.extend,
image
is stillnull
.