Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fit for meteor 1.x above #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .meteor/.finished-upgraders
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file contains information which helps Meteor properly upgrade your
# app when you run 'meteor update'. You should check it into version control
# with your project.

notices-for-0.9.0
notices-for-0.9.1
0.9.4-platform-file
7 changes: 7 additions & 0 deletions .meteor/.id
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file contains a token that is unique to your project.
# Check it into your repository along with the rest of this directory.
# It can be used for purposes such as:
# - ensuring you don't accidentally deploy one app on top of another
# - providing package authors with aggregated statistics

tkd0fx8x1tn215bcyng
2 changes: 1 addition & 1 deletion .meteor/packages
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

autopublish
insecure
preserve-inputs
d3
meteor-platform
2 changes: 2 additions & 0 deletions .meteor/platforms
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
server
browser
2 changes: 1 addition & 1 deletion .meteor/release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.3.1
[email protected].3.1
10 changes: 7 additions & 3 deletions client/client.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Template.vthings.vthings = function() {
Template.vthings.helpers({
vthings:function() {
return Things.find({});
}
},
});

Template.vthings.events({
'click input.increment' : function() {
Expand All @@ -17,7 +19,8 @@ Template.vthings.events({
}
});

Template.vthing.circle = function() {
Template.vthing.helpers({
circle:function() {
var id = "a" + this._id;
var selector_id = "#" + id;

Expand Down Expand Up @@ -55,6 +58,7 @@ Template.vthing.circle = function() {
.attr("dx", function(d) { return -20 })
.text(this.name);
}
});

Template.vthing._draw_existing = function(existing_circles, x_next, x_increment) {
existing_circles
Expand Down