$.getJSON already returns a promise like object
... so no need to create a deferred object separately and then resolve it manually. This is since jquery 1.5 See: https://api.jquery.com/jquery.getjson/pull/1/head
parent
f3e7211ee5
commit
c80a31ebe0
Loading…
Reference in New Issue