Skip to content

Commit 8df28e2

Browse files
committed
cleanup and next alpha version bump
1 parent a6b2b0d commit 8df28e2

File tree

4 files changed

+3
-8
lines changed

4 files changed

+3
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "speech-rule-engine",
3-
"version": "5.0.0-alpha.3",
3+
"version": "5.0.0-alpha.4",
44
"description": "A standalone speech rule engine for XML structures, based on the original engine from ChromeVox.",
55
"directories": {
66
"test": "tests"

ts/common/variables.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export class Variables {
2222
/**
2323
* SRE version.
2424
*/
25-
public static readonly VERSION: string = '5.0.0-alpha.3';
25+
public static readonly VERSION: string = '5.0.0-alpha.4';
2626

2727
/**
2828
* Locale mapping to language names.

ts/speech_generator/speech_generator_util.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,6 @@ export function nextStyle(node: SemanticNode, options: OptionsList) {
492492
return style;
493493
}
494494

495-
console.log(`${locale} ${domain} ${style}`);
496495
if (domain === 'mathspeak') {
497496
const styles = ['default', 'brief', 'sbrief'];
498497
const index = styles.indexOf(style);
@@ -514,15 +513,11 @@ export function nextStyle(node: SemanticNode, options: OptionsList) {
514513
return x.split('_')[1];
515514
});
516515
const index = options.indexOf(current);
517-
console.log(current);
518516
if (index === -1) {
519-
console.log(31);
520517
return style;
521518
}
522519
const next = index >= options.length - 1 ? options[0] : options[index + 1];
523520
const result = addPreference(style, smart, next);
524-
console.log(32);
525-
console.log(result);
526521
return result;
527522
}
528523
return style;

0 commit comments

Comments
 (0)