code: function makePromise(fn) {
                      return new WinJS.Promise(function init(completeDispatch, errorDispatch) {
                          fn(function successCb(results) {
                              completeDispatch(results);
                          }, function errorCb(error) {
                              errorDispatch(error);
                          });
                      });
                  }
docs: /* for backwards compatibility