Selaa lähdekoodia

Step 3.1: Define tasks collection.

Frederic G. MARAND 9 vuotta sitten
vanhempi
sitoutus
781a40d659
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      simple-todos-react.jsx

+ 3 - 0
simple-todos-react.jsx

@@ -1,3 +1,6 @@
+// Define a collection to hold our tasks.
+Tasks = new Mongo.Collection('tasks');
+
 if (Meteor.isClient) {
   Meteor.startup(function () {
     // Use this branch to render the component after the page is ready.