Skip to content

Commit 82d1db5

Browse files
author
Sashko Stubailo
committed
Rename Meteor.Collection to Mongo.Collection again
1 parent 6b3d31f commit 82d1db5

File tree

47 files changed

+199
-199
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+199
-199
lines changed

examples/leaderboard/leaderboard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Set up a collection to contain player information. On the server,
22
// it is backed by a MongoDB collection named "players".
33

4-
Players = new Meteor.Collection("players");
4+
Players = new Mongo.Collection("players");
55

66
if (Meteor.isClient) {
77
Template.leaderboard.players = function () {

examples/other/client-info/client-info.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if (Meteor.isServer) {
1111

1212
if (Meteor.isClient) {
1313
Meteor.subscribe("clientInfo");
14-
var ClientInfo = new Meteor.Collection("clientInfo");
14+
var ClientInfo = new Mongo.Collection("clientInfo");
1515

1616
Template.info.info = function () {
1717
return EJSON.stringify(ClientInfo.findOne("info"), {indent: true});

examples/other/login-demo/login-demo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Gizmos = new Meteor.Collection("gizmos");
1+
Gizmos = new Mongo.Collection("gizmos");
22

33
if (Meteor.isClient) {
44

examples/other/quiescence/quiescence.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Time = new Meteor.Collection("time");
2-
Results = new Meteor.Collection("results");
3-
Magic = new Meteor.Collection("magic");
1+
Time = new Mongo.Collection("time");
2+
Results = new Mongo.Collection("results");
3+
Magic = new Mongo.Collection("magic");
44

55
if (Meteor.isServer) {
66
Meteor.publish("time", function () {

examples/other/template-demo/client/d3.v2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7031,4 +7031,4 @@
70317031
d3.time.scale.utc = function() {
70327032
return d3_time_scale(d3.scale.linear(), d3_time_scaleUTCMethods, d3_time_scaleUTCFormat);
70337033
};
7034-
})();
7034+
})();

examples/other/template-demo/client/template-demo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Timers = new Meteor.Collection(null);
1+
Timers = new Mongo.Collection(null);
22

33
///////////////////////////////////////////////////////////////////////////////
44

examples/other/template-demo/model.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Circles = new Meteor.Collection("circles");
1+
Circles = new Mongo.Collection("circles");

examples/parties/model.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
invited: Array of user id's that are invited (only if !public)
1414
rsvps: Array of objects like {user: userId, rsvp: "yes"} (or "no"/"maybe")
1515
*/
16-
Parties = new Meteor.Collection("parties");
16+
Parties = new Mongo.Collection("parties");
1717

1818
Parties.allow({
1919
insert: function (userId, party) {

examples/todos/client/todos.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Client-side JavaScript, bundled and sent to client.
22

33
// Define Minimongo collections to match server/publish.js.
4-
Lists = new Meteor.Collection("lists");
5-
Todos = new Meteor.Collection("todos");
4+
Lists = new Mongo.Collection("lists");
5+
Todos = new Mongo.Collection("todos");
66

77
// ID of currently selected list
88
Session.setDefault('list_id', null);

examples/todos/server/publish.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Lists -- {name: String}
2-
Lists = new Meteor.Collection("lists");
2+
Lists = new Mongo.Collection("lists");
33

44
// Publish complete set of lists to all clients.
55
Meteor.publish('lists', function () {
@@ -12,7 +12,7 @@ Meteor.publish('lists', function () {
1212
// tags: [String, ...],
1313
// list_id: String,
1414
// timestamp: Number}
15-
Todos = new Meteor.Collection("todos");
15+
Todos = new Mongo.Collection("todos");
1616

1717
// Publish all items for requested list_id.
1818
Meteor.publish('todos', function (list_id) {

0 commit comments

Comments
 (0)