Skip to content

Commit eb8b26a

Browse files
committed
Upgraded boilerplate to 1.0
1 parent db89a19 commit eb8b26a

File tree

12 files changed

+48
-82
lines changed

12 files changed

+48
-82
lines changed

.meteor/release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
METEOR@0.9.4
1+
METEOR@1.0

.meteor/versions

Lines changed: 28 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
11
accounts-base@1.1.2
2-
accounts-password@1.0.3
3-
accounts-ui-unstyled@1.1.3
4-
accounts-ui@1.1.2
2+
accounts-password@1.0.4
3+
accounts-ui-unstyled@1.1.4
4+
accounts-ui@1.1.3
55
aldeed:collection2@2.2.0
66
aldeed:simple-schema@1.0.3
7-
amplify@1.0.0
87
application-configuration@1.0.3
9-
autoupdate@1.1.2
8+
autoupdate@1.1.3
109
base64@1.0.1
1110
binary-heap@1.0.1
1211
blaze-tools@1.0.1
13-
blaze@2.0.2
12+
blaze@2.0.3
1413
boilerplate-generator@1.0.1
1514
callback-hook@1.0.1
1615
check@1.0.2
17-
coffeescript@1.0.4
1816
ctl-helper@1.0.4
1917
ctl@1.0.2
20-
ddp@1.0.10
18+
ddp@1.0.11
2119
deps@1.0.5
2220
ejson@1.0.4
2321
email@1.0.4
@@ -26,28 +24,31 @@ follower-livedata@1.0.2
2624
geojson-utils@1.0.1
2725
html-tools@1.0.2
2826
htmljs@1.0.2
29-
http@1.0.7
27+
http@1.0.8
3028
id-map@1.0.1
31-
iron:core@0.3.4
32-
iron:dynamic-template@0.4.1
33-
iron:layout@0.4.1
34-
iron:router@0.9.4
29+
iron:controller@1.0.0
30+
iron:core@1.0.0
31+
iron:dynamic-template@1.0.0
32+
iron:layout@1.0.0
33+
iron:location@1.0.0
34+
iron:middleware-stack@1.0.0
35+
iron:router@1.0.0
36+
iron:url@1.0.0
3537
jquery@1.0.1
3638
json@1.0.1
37-
less@1.0.10
39+
launch-screen@1.0.0
40+
less@1.0.11
3841
livedata@1.0.11
3942
localstorage@1.0.1
40-
logging@1.0.4
41-
meteor-platform@1.1.2
42-
meteor@1.1.2
43-
mike:mocha@0.3.12
44-
minifiers@1.1.1
45-
minimongo@1.0.4
43+
logging@1.0.5
44+
meteor-platform@1.2.0
45+
meteor@1.1.3
46+
minifiers@1.1.2
47+
minimongo@1.0.5
4648
mobile-status-bar@1.0.1
4749
mongo-livedata@1.0.6
48-
mongo@1.0.7
49-
mrt:iron-router-progress@0.9.2
50-
nooitaf:semantic-ui@0.19.3
50+
mongo@1.0.8
51+
nooitaf:semantic-ui-less@0.19.3
5152
npm-bcrypt@0.7.7
5253
observe-sequence@1.0.3
5354
ordered-dict@1.0.1
@@ -59,18 +60,16 @@ reload@1.1.1
5960
retry@1.0.1
6061
routepolicy@1.0.2
6162
service-configuration@1.0.2
62-
session@1.0.3
63+
session@1.0.4
6364
sha@1.0.1
6465
spacebars-compiler@1.0.3
6566
spacebars@1.0.3
6667
srp@1.0.1
6768
standard-app-packages@1.0.3
68-
templating@1.0.8
69+
templating@1.0.9
6970
tracker@1.0.3
7071
ui@1.0.4
7172
underscore@1.0.1
72-
url@1.0.1
73-
velocity:core@0.2.14
74-
velocity:html-reporter@0.2.4
73+
url@1.0.2
7574
webapp-hashing@1.0.1
76-
webapp@1.1.3
75+
webapp@1.1.4

client/config/router.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
Router.configure({
22
layoutTemplate: 'basicLayout',
3-
notFoundTemplate: 'notFound',
4-
yieldTemplates: {
5-
'header': { to: 'header' },
6-
'footer': { to: 'footer' }
7-
}
3+
notFoundTemplate: 'notFound'
84
});

client/views/layouts/basic.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<template name="basicLayout">
22
<header>
3-
{{> yield region='header'}}
3+
{{> header}}
44
</header>
55
<div id="main">
66
{{> yield}}
77
{{! Also a sidebar! }}
88
</div>
99
<footer>
10-
{{> yield region='footer'}}
10+
{{> footer}}
1111
</footer>
1212
</template>

client/views/notFound/notFound.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template name="notFound">
22
<p>
33
Seems like this site doesn't exist<br />
4-
<a href="{{urlFor 'home'}}">Go to home</a>
4+
<a href="/">Go to home</a>
55
</p>
66
</template>
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
Router.map (->
2-
this.route '__routeName__',
3-
path : '__routePath__'
4-
)
1+
Router.route '__routePath__', ->
2+
this.render '__routeName__'
Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
1-
HomeController = RouteController.extend(
2-
template: 'home'
3-
)
4-
5-
Router.map (->
6-
this.route 'HomeRoute',
7-
path : '/',
8-
controller : HomeController
9-
)
1+
Router.route '/', ->
2+
this.render 'HomeRoute'
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
Router.map(function () {
2-
this.route('__routeName__', {
3-
path : '__routePath__'
4-
});
1+
Router.route('__routePath__', function () {
2+
this.render('__routeName__');
53
});
Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
var HomeController = RouteController.extend({
2-
template: 'home'
3-
});
4-
5-
Router.map(function () {
6-
this.route('home', {
7-
path : '/',
8-
controller : HomeController
9-
});
1+
Router.route('/', function () {
2+
this.render('home');
103
});
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
Router.map(function () {
2-
this.route('__routeName__', {
3-
path : '__routePath__'
4-
});
1+
Router.route('__routePath__', function () {
2+
this.render('__routeName__');
53
});
Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
var HomeController = RouteController.extend({
2-
template: 'home'
3-
});
4-
5-
Router.map(function () {
6-
this.route('home', {
7-
path : '/',
8-
controller : HomeController
9-
});
1+
Router.route('/', function () {
2+
this.render('home');
103
});

routes/defaultRoutes.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
Router.map(function () {
2-
// Home Route
3-
this.route('home', {
4-
path : '/'
5-
});
1+
// Home Route
2+
Router.route('/', function () {
3+
this.render('home');
64
});

0 commit comments

Comments
 (0)