-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmyapp2.js
48 lines (43 loc) · 959 Bytes
/
myapp2.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//var Businesses = new Meteor.Collection("Businesses");
//
//function Business(){
// this.name;
// this.businessType;
// this.country;
// this.state;
// this.city;
// this.street;
//}
//
//if (Meteor.isClient) {
//
//// var myBusiness = new Business();
//// myBusiness.name ="Pras dan";
//// myBusiness.businessType ="Gym";
//// myBusiness.country ="Isdael";
//// myBusiness.city ="Teasviv";
//// myBusiness.street ="Ds df aadsfa";
//// myBusiness.state ="asdfdfa";
////
////
//// Businesses.insert(myBusiness);
//
//
// Template.Businesses.getBusinesses = function(){
// return Businesses.find({}, {sort: {name: 1}});
// };
//
//
// Template.Businesses.events = {
// "click input.delete" : function(){
// Businesses.remove(this._id);
// }
// };
//
//}
//
//if (Meteor.isServer) {
// Meteor.startup(function () {
// // code to run on server at startup
// });
//}