Flatten commits
This commit is contained in:
commit
d3e719f743
19 changed files with 700 additions and 0 deletions
7
examples/contextModifiers/dontBeNegative.js
Normal file
7
examples/contextModifiers/dontBeNegative.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
const modifier = (text) => {
|
||||
// This will always result in a shorter string, so no need to truncate it.
|
||||
return { text: text.replace(/ not /gi, ' ') }
|
||||
}
|
||||
|
||||
// Don't modify this part
|
||||
modifier(text)
|
Reference in a new issue