84 строки
3.4 KiB
Plaintext
84 строки
3.4 KiB
Plaintext
original file
|
|
-----------------------------------
|
|
if (!req.body.new) {
|
|
// Return early if no new password is provided
|
|
return res.status(400).send('New password is requied');
|
|
}
|
|
-----------------------------------
|
|
|
|
Grammar: TypeScript.tmLanguage
|
|
-----------------------------------
|
|
>if (!req.body.new) {
|
|
^^
|
|
source.ts keyword.control.conditional.ts
|
|
^
|
|
source.ts
|
|
^
|
|
source.ts meta.brace.round.ts
|
|
^
|
|
source.ts keyword.operator.logical.ts
|
|
^^^
|
|
source.ts variable.other.object.ts
|
|
^
|
|
source.ts punctuation.accessor.ts
|
|
^^^^
|
|
source.ts support.variable.property.dom.ts
|
|
^
|
|
source.ts punctuation.accessor.ts
|
|
^^^
|
|
source.ts variable.other.property.ts
|
|
^
|
|
source.ts meta.brace.round.ts
|
|
^
|
|
source.ts
|
|
^
|
|
source.ts meta.block.ts punctuation.definition.block.ts
|
|
^^
|
|
source.ts meta.block.ts
|
|
> // Return early if no new password is provided
|
|
^^^^
|
|
source.ts meta.block.ts punctuation.whitespace.comment.leading.ts
|
|
^^
|
|
source.ts meta.block.ts comment.line.double-slash.ts punctuation.definition.comment.ts
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
source.ts meta.block.ts comment.line.double-slash.ts
|
|
> return res.status(400).send('New password is requied');
|
|
^^^^
|
|
source.ts meta.block.ts
|
|
^^^^^^
|
|
source.ts meta.block.ts keyword.control.flow.ts
|
|
^
|
|
source.ts meta.block.ts
|
|
^^^
|
|
source.ts meta.block.ts variable.other.object.ts
|
|
^
|
|
source.ts meta.block.ts punctuation.accessor.ts
|
|
^^^^^^
|
|
source.ts meta.block.ts entity.name.function.ts
|
|
^
|
|
source.ts meta.block.ts meta.brace.round.ts
|
|
^^^
|
|
source.ts meta.block.ts constant.numeric.decimal.ts
|
|
^
|
|
source.ts meta.block.ts meta.brace.round.ts
|
|
^
|
|
source.ts meta.block.ts punctuation.accessor.ts
|
|
^^^^
|
|
source.ts meta.block.ts support.function.ts
|
|
^
|
|
source.ts meta.block.ts meta.brace.round.ts
|
|
^
|
|
source.ts meta.block.ts string.quoted.single.ts punctuation.definition.string.begin.ts
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
source.ts meta.block.ts string.quoted.single.ts
|
|
^
|
|
source.ts meta.block.ts string.quoted.single.ts punctuation.definition.string.end.ts
|
|
^
|
|
source.ts meta.block.ts meta.brace.round.ts
|
|
^
|
|
source.ts meta.block.ts punctuation.terminator.statement.ts
|
|
^^
|
|
source.ts meta.block.ts
|
|
>}
|
|
^
|
|
source.ts meta.block.ts punctuation.definition.block.ts |