123456789101112131415161718192021 |
- /**
- * @file
- *
- *
- * User: marand
- * Date: 03/09/15
- * Time: 20:51
- */
- Template.meteorErrors.helpers({
- errors: function () {
- return Errors.collection.find();
- }
- });
- Template.meteorError.rendered = function () {
- var error = this.data;
- Meteor.setTimeout(function () {
- Errors.collection.remove(error._id);
- }, Errors.delay);
- };
|