You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
Due to Meteor's restriction of 'patchThen' issue, it was fixed to force patching by change property of writable to true. #851
In Meteor 1.6, 'then' should not patch in case of writable : false, because it causes hanging.
I think fix should be like
var prop = Object.getOwnPropertyDescriptor(Ctor.prototype, 'then');
if (prop && prop.writable !== false) {
Ctor.prototype.then = function (onResolve, onReject) {
var _this = this;
var wrapped = new ZoneAwarePromise(function (resolve, reject) {
originalThen.call(_this, resolve, reject);
});
return wrapped.then(onResolve, onReject);
};
}
This fix is important for new version of Angular Meteor. I hope you will be interested in. Thanks.