Skip to content

Commit 79ea0a0

Browse files
committed
Updated collection
1 parent 3e1e206 commit 79ea0a0

File tree

3 files changed

+42
-73
lines changed

3 files changed

+42
-73
lines changed

app/imports/api/stuff/Stuff.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { Mongo } from 'meteor/mongo';
22
import SimpleSchema from 'simpl-schema';
3-
import { Tracker } from 'meteor/tracker';
43

54
/**
65
* The StuffsCollection. It encapsulates state and variable values for stuff.
@@ -21,7 +20,7 @@ class StuffsCollection {
2120
allowedValues: ['excellent', 'good', 'fair', 'poor'],
2221
defaultValue: 'good',
2322
},
24-
}, { tracker: Tracker });
23+
});
2524
// Attach the schema to the collection, so all attempts to insert a document are checked against schema.
2625
this.collection.attachSchema(this.schema);
2726
// Define names for publications and subscriptions

app/package-lock.json

+40-70
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![](https://github.com/ics-software-engineering/meteor-application-template-react/raw/main/doc/landing-page.png)
22

3-
meteor-application-template-react is a sample Meteor 2.7 application that illustrates:
3+
meteor-application-template-react is a sample Meteor 2.9 application that illustrates:
44

55
* A standard directory layout using 'imports/' as recommended in the [Meteor Guide](https://guide.meteor.com/structure.html)
66
* [Bootstrap 5 React](https://react-bootstrap.github.io/) for user interface.

0 commit comments

Comments
 (0)