meteorhacks / unblock

this.unblock inside publications :D
MIT License
87 stars 14 forks source link

Add an indication that a dummy unblock() is used #9

Open MasterAM opened 9 years ago

MasterAM commented 9 years ago

Now a user can test for this.isDummyUnblock and know when calling unblock() will not have the desired effect.

Bonus: I believe the changes made to package.js now allow tests to pass under new versions of Meteor :smile:

MasterAM commented 9 years ago

I have created another version where the dummy function returns false, and I actually prefer that.

Please let me know which one you prefer, if any, since a package I'm writing depends on it.