-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed collection2, more sensible sorting
- Loading branch information
Showing
19 changed files
with
132 additions
and
323 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 11 additions & 22 deletions
33
app/templates/bootstrap/server/startup/things.load(coffee).coffee
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,16 @@ | ||
Meteor.startup -> | ||
if Things.find().count() == 0 | ||
things = [ | ||
{ | ||
name: 'Data on the Wire' | ||
} | ||
{ | ||
name: 'One Language' | ||
} | ||
{ | ||
name: 'Database Everywhere' | ||
} | ||
{ | ||
name: 'Latency Compensation' | ||
} | ||
{ | ||
name: 'Full Stack Reactivity' | ||
} | ||
{ | ||
name: 'Embrace the Ecosystem' | ||
} | ||
{ | ||
name: 'Simplicity Equals Productivity' | ||
} | ||
'Data on the Wire' | ||
'One Language' | ||
'Database Everywhere' | ||
'Latency Compensation' | ||
'Full Stack Reactivity' | ||
'Embrace the Ecosystem' | ||
'Simplicity Equals Productivity' | ||
] | ||
things.forEach (thing) -> | ||
Things.insert thing | ||
Things.insert | ||
name: thing | ||
name_sort: thing.toLowerCase() | ||
createdAt: new Date() |
34 changes: 12 additions & 22 deletions
34
app/templates/bootstrap/server/startup/things.load(js).js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,20 @@ | ||
Meteor.startup(function() { | ||
if(Things.find().count() === 0) { | ||
var things = [ | ||
{ | ||
name: 'Data on the Wire' | ||
}, | ||
{ | ||
name: 'One Language' | ||
}, | ||
{ | ||
name: 'Database Everywhere' | ||
}, | ||
{ | ||
name: 'Latency Compensation' | ||
}, | ||
{ | ||
name: 'Full Stack Reactivity' | ||
}, | ||
{ | ||
name: 'Embrace the Ecosystem' | ||
}, | ||
{ | ||
name: 'Simplicity Equals Productivity' | ||
} | ||
'Data on the Wire', | ||
'One Language', | ||
'Database Everywhere', | ||
'Latency Compensation', | ||
'Full Stack Reactivity', | ||
'Embrace the Ecosystem', | ||
'Simplicity Equals Productivity' | ||
]; | ||
things.forEach(function(thing) { | ||
Things.insert(thing); | ||
Things.insert({ | ||
name: thing, | ||
name_sort: thing.toLowerCase(), | ||
createdAt: new Date() | ||
}); | ||
}); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 11 additions & 22 deletions
33
app/templates/material/server/startup/things.load(coffee).coffee
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,16 @@ | ||
Meteor.startup -> | ||
if Things.find().count() == 0 | ||
things = [ | ||
{ | ||
name: 'Data on the Wire' | ||
} | ||
{ | ||
name: 'One Language' | ||
} | ||
{ | ||
name: 'Database Everywhere' | ||
} | ||
{ | ||
name: 'Latency Compensation' | ||
} | ||
{ | ||
name: 'Full Stack Reactivity' | ||
} | ||
{ | ||
name: 'Embrace the Ecosystem' | ||
} | ||
{ | ||
name: 'Simplicity Equals Productivity' | ||
} | ||
'Data on the Wire' | ||
'One Language' | ||
'Database Everywhere' | ||
'Latency Compensation' | ||
'Full Stack Reactivity' | ||
'Embrace the Ecosystem' | ||
'Simplicity Equals Productivity' | ||
] | ||
things.forEach (thing) -> | ||
Things.insert thing | ||
Things.insert | ||
name: thing | ||
name_sort: thing.toLowerCase() | ||
createdAt: new Date() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,20 @@ | ||
Meteor.startup(function() { | ||
if(Things.find().count() === 0) { | ||
var things = [ | ||
{ | ||
name: 'Data on the Wire' | ||
}, | ||
{ | ||
name: 'One Language' | ||
}, | ||
{ | ||
name: 'Database Everywhere' | ||
}, | ||
{ | ||
name: 'Latency Compensation' | ||
}, | ||
{ | ||
name: 'Full Stack Reactivity' | ||
}, | ||
{ | ||
name: 'Embrace the Ecosystem' | ||
}, | ||
{ | ||
name: 'Simplicity Equals Productivity' | ||
} | ||
'Data on the Wire', | ||
'One Language', | ||
'Database Everywhere', | ||
'Latency Compensation', | ||
'Full Stack Reactivity', | ||
'Embrace the Ecosystem', | ||
'Simplicity Equals Productivity' | ||
]; | ||
things.forEach(function(thing) { | ||
Things.insert(thing); | ||
Things.insert({ | ||
name: thing, | ||
name_sort: thing.toLowerCase(), | ||
createdAt: new Date() | ||
}); | ||
}); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.