From ac4a81ae39db676696e24b8d2417f095305a4626 Mon Sep 17 00:00:00 2001 From: "bruce.w" Date: Sun, 1 Feb 2015 22:40:47 +0800 Subject: [PATCH 1/2] fit for meteor 1.x above --- client/client.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/client/client.js b/client/client.js index 709bbf9..348c39c 100644 --- a/client/client.js +++ b/client/client.js @@ -1,6 +1,8 @@ -Template.vthings.vthings = function() { +Template.vthings.helpers({ + vthings:function() { return Things.find({}); -} + }, +}); Template.vthings.events({ 'click input.increment' : function() { @@ -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; @@ -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 From 55f3bac7640c0400360ce751c35bbc53939ec3bd Mon Sep 17 00:00:00 2001 From: "bruce.w" Date: Sun, 1 Feb 2015 23:12:52 +0800 Subject: [PATCH 2/2] fit for meteor 1.x above with meteor update --- .meteor/.finished-upgraders | 7 +++++ .meteor/.id | 7 +++++ .meteor/packages | 2 +- .meteor/platforms | 2 ++ .meteor/release | 2 +- .meteor/versions | 51 +++++++++++++++++++++++++++++++++++++ 6 files changed, 69 insertions(+), 2 deletions(-) create mode 100644 .meteor/.finished-upgraders create mode 100644 .meteor/.id create mode 100644 .meteor/platforms create mode 100644 .meteor/versions diff --git a/.meteor/.finished-upgraders b/.meteor/.finished-upgraders new file mode 100644 index 0000000..68df3d8 --- /dev/null +++ b/.meteor/.finished-upgraders @@ -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 diff --git a/.meteor/.id b/.meteor/.id new file mode 100644 index 0000000..ada065c --- /dev/null +++ b/.meteor/.id @@ -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 diff --git a/.meteor/packages b/.meteor/packages index 4ba43be..c2f5817 100644 --- a/.meteor/packages +++ b/.meteor/packages @@ -5,5 +5,5 @@ autopublish insecure -preserve-inputs d3 +meteor-platform diff --git a/.meteor/platforms b/.meteor/platforms new file mode 100644 index 0000000..efeba1b --- /dev/null +++ b/.meteor/platforms @@ -0,0 +1,2 @@ +server +browser diff --git a/.meteor/release b/.meteor/release index a50a1dc..90f87be 100644 --- a/.meteor/release +++ b/.meteor/release @@ -1 +1 @@ -0.6.3.1 +METEOR@1.0.3.1 diff --git a/.meteor/versions b/.meteor/versions new file mode 100644 index 0000000..c582c3c --- /dev/null +++ b/.meteor/versions @@ -0,0 +1,51 @@ +application-configuration@1.0.4 +autopublish@1.0.2 +autoupdate@1.1.5 +base64@1.0.2 +binary-heap@1.0.2 +blaze@2.0.4 +blaze-tools@1.0.2 +boilerplate-generator@1.0.2 +callback-hook@1.0.2 +check@1.0.4 +d3@1.0.0 +ddp@1.0.14 +deps@1.0.6 +ejson@1.0.5 +fastclick@1.0.2 +follower-livedata@1.0.3 +geojson-utils@1.0.2 +html-tools@1.0.3 +htmljs@1.0.3 +http@1.0.10 +id-map@1.0.2 +insecure@1.0.2 +jquery@1.11.3 +json@1.0.2 +launch-screen@1.0.1 +livedata@1.0.12 +logging@1.0.6 +meteor@1.1.4 +meteor-platform@1.2.1 +minifiers@1.1.3 +minimongo@1.0.6 +mobile-status-bar@1.0.2 +mongo@1.0.11 +observe-sequence@1.0.4 +ordered-dict@1.0.2 +random@1.0.2 +reactive-dict@1.0.5 +reactive-var@1.0.4 +reload@1.1.2 +retry@1.0.2 +routepolicy@1.0.4 +session@1.0.5 +spacebars@1.0.5 +spacebars-compiler@1.0.4 +templating@1.0.11 +tracker@1.0.5 +ui@1.0.5 +underscore@1.0.2 +url@1.0.3 +webapp@1.1.6 +webapp-hashing@1.0.2