Fixing second-person verb misconjugation due to missing breaks in switch statement
This commit is contained in:
parent
cb1302c6f6
commit
1c022e5180
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "metamorpov",
|
"name": "metamorpov",
|
||||||
"title": "MetamorPOV",
|
"title": "MetamorPOV",
|
||||||
"version": "1.2.0",
|
"version": "1.2.1",
|
||||||
"description": "Enables customization of reader-insert stories by replacing author-provided hooks such as Y/n, pov/s, and vrb/do/present/.",
|
"description": "Enables customization of reader-insert stories by replacing author-provided hooks such as Y/n, pov/s, and vrb/do/present/.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"manifest_version": 3,
|
"manifest_version": 3,
|
||||||
"name": "MetamorPOV",
|
"name": "MetamorPOV",
|
||||||
"author": "Jean Viscogliosi-Pate",
|
"author": "Jean Viscogliosi-Pate",
|
||||||
"version": "1.2.0",
|
"version": "1.2.1",
|
||||||
|
|
||||||
"description": "Enables customization of reader-insert stories by replacing author-provided hooks such as Y/n, pov/s, and vrb/do/present/.",
|
"description": "Enables customization of reader-insert stories by replacing author-provided hooks such as Y/n, pov/s, and vrb/do/present/.",
|
||||||
|
|
||||||
|
|
|
@ -310,10 +310,13 @@ function verbMethod(node, searchTerm, options) {
|
||||||
} else {
|
} else {
|
||||||
povIndex = getPovIndex(options.pov, options);
|
povIndex = getPovIndex(options.pov, options);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case "b":
|
case "b":
|
||||||
povIndex = getPovIndex(options.pov, options);
|
povIndex = getPovIndex(options.pov, options);
|
||||||
|
break;
|
||||||
case "N": /* N and n are always third-person */
|
case "N": /* N and n are always third-person */
|
||||||
povIndex = getPovIndex("third-singular", null);
|
povIndex = getPovIndex("third-singular", null);
|
||||||
|
break;
|
||||||
case "n":
|
case "n":
|
||||||
povIndex = getPovIndex("third", options);
|
povIndex = getPovIndex("third", options);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue