12345678910111213141516171819202122 |
- /**
- * @file
- *
- *
- * User: marand
- * Date: 03/09/15
- * Time: 17:22
- */
- Template.errors.helpers({
- errors: function () {
- return Errors.find();
- }
- });
- Template.error.onRendered(function () {
- var error = this.data;
- Meteor._debug(this.data);
- Meteor.setTimeout(function () {
- Errors.remove(error._id);
- }, 3000);
- });
|