Tobias Gritschacher has submitted this change and it was merged.

Change subject: Add new _postAndPromiseWithAbstraction() to repo API
......................................................................


Add new _postAndPromiseWithAbstraction() to repo API

Introduces a helper function, easily allowing to extend a jQuery.Promise 
returned by an API
function with different callback parameters in case of success.

Change-Id: Idd7a9789ddbd1e3d25285197da95e4b850344787
---
M lib/resources/wikibase.store/wikibase.RepoApi.js
1 file changed, 31 insertions(+), 8 deletions(-)

Approvals:
  Tobias Gritschacher: Verified; Looks good to me, approved


--
To view, visit https://gerrit.wikimedia.org/r/46223
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Idd7a9789ddbd1e3d25285197da95e4b850344787
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Daniel Werner <[email protected]>
Gerrit-Reviewer: Tobias Gritschacher <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to