Removing comment
This commit is contained in:
@ -10,8 +10,6 @@ StoryManager.getAllStorylets = function(tag=null) {
|
|||||||
for (let key in this.storylets) {
|
for (let key in this.storylets) {
|
||||||
storylet = this.storylets[key];
|
storylet = this.storylets[key];
|
||||||
if (tag === null || ("tags" in storylet && storylet.tags.includes(tag))) {
|
if (tag === null || ("tags" in storylet && storylet.tags.includes(tag))) {
|
||||||
// TODO: If using yield, this part will change
|
|
||||||
//storylets = storylet.generate();
|
|
||||||
for (let boundStorylet of storylet.generate()) {
|
for (let boundStorylet of storylet.generate()) {
|
||||||
//boundStorylet = storylets[i];
|
//boundStorylet = storylets[i];
|
||||||
if (!("priority" in boundStorylet)) boundStorylet.priority = 0;
|
if (!("priority" in boundStorylet)) boundStorylet.priority = 0;
|
||||||
|
Reference in New Issue
Block a user