Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ba9b518d7e |
@@ -31,7 +31,7 @@ Router.map(function() {
|
|||||||
this.route("characterList", {
|
this.route("characterList", {
|
||||||
path: "/characterList",
|
path: "/characterList",
|
||||||
waitOn: function(){
|
waitOn: function(){
|
||||||
return Meteor.subscribe("characterList", Meteor.userId());
|
return subsManager.subscribe("characterList", Meteor.userId());
|
||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
characters: function(){
|
characters: function(){
|
||||||
@@ -47,7 +47,7 @@ Router.map(function() {
|
|||||||
path: "/character/:_id",
|
path: "/character/:_id",
|
||||||
waitOn: function(){
|
waitOn: function(){
|
||||||
return [
|
return [
|
||||||
Meteor.subscribe("singleCharacter", this.params._id, Meteor.userId()),
|
subsManager.subscribe("singleCharacter", this.params._id, Meteor.userId()),
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
data: function() {
|
data: function() {
|
||||||
@@ -81,7 +81,7 @@ Router.map(function() {
|
|||||||
name: "changeLog",
|
name: "changeLog",
|
||||||
waitOn: function() {
|
waitOn: function() {
|
||||||
return [
|
return [
|
||||||
Meteor.subscribe("changeLog"),
|
subsManager.subscribe("changeLog"),
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
|
|||||||
1
rpg-docs/lib/constants/subsManager.js
Normal file
1
rpg-docs/lib/constants/subsManager.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
subsManager = new SubsManager();
|
||||||
@@ -114,8 +114,14 @@ ChangeLogs.insert({
|
|||||||
"Fixed a bug that caused multiple resistances or vulnerabilities to combine incorrectly",
|
"Fixed a bug that caused multiple resistances or vulnerabilities to combine incorrectly",
|
||||||
"Added encumbrance effects that automatically apply when carrying too much load",
|
"Added encumbrance effects that automatically apply when carrying too much load",
|
||||||
"Added a bunch of UI elements to make your character's current load clear",
|
"Added a bunch of UI elements to make your character's current load clear",
|
||||||
"Character data is now chached, swapping between two characters should be faster",
|
|
||||||
"Floating button menus now close as expected when you click a sub-button",
|
"Floating button menus now close as expected when you click a sub-button",
|
||||||
"Base values in attribute summaries no longer look like added values"
|
"Base values in attribute summaries no longer look like added values"
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
ChangeLogs.insert({
|
||||||
|
version: "0.5.1",
|
||||||
|
changes: [
|
||||||
|
"Characters are now cached and should take much faster to load when swapping between them",
|
||||||
|
],
|
||||||
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user