mirror of
https://github.com/urbit/shrub.git
synced 2024-12-11 11:02:25 +03:00
Merge pull request #420 from Fang-/patch-1
Fixed rendered of %app and %lin speeches in %fat.
This commit is contained in:
commit
52e477d30b
@ -778,7 +778,10 @@ module.exports = recl({
|
||||
case speech.url == null:
|
||||
return speechArr = speech.url.txt.split(/(\s|-)/);
|
||||
case speech.fat == null:
|
||||
return speech.fat.taf.exp.txt.split(/(\s|-)/);
|
||||
if (typeof speech.fat.taf.exp !== 'undefined') { return speech.fat.taf.exp.txt.split(/(\s|-)/); }
|
||||
if (typeof speech.fat.taf.app !== 'undefined') { return speech.fat.taf.app.txt; }
|
||||
if (typeof speech.fat.taf.lin !== 'undefined') { return speech.fat.taf.lin.txt; }
|
||||
return "unsupported fat speech";
|
||||
default:
|
||||
return [];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user