Skip to content
This repository has been archived by the owner on Oct 27, 2019. It is now read-only.

Syntax Highlighting Issue With ' Within `` #3

Open
DanielSeehausen opened this issue Sep 26, 2017 · 0 comments
Open

Syntax Highlighting Issue With ' Within `` #3

DanielSeehausen opened this issue Sep 26, 2017 · 0 comments

Comments

@DanielSeehausen
Copy link

DanielSeehausen commented Sep 26, 2017

This should recreate it within Atom 1.20.1 and language-javascript-jsx 0.3.7 on syntax: 'JavaScript by SubtleGradient. Following the ' in "game's", the rest of the text is highlighted string green:

  const blockCoords = msg["blockCoords"]
  if (game.activePlayer !== player)
    return `${player.id} tried to move, but is not the game's active player! (${game.activePlayer})`
  let success = game.playerMove(player.id, blockCoords)
  return (success) ? game.board.toJSONReadyObj() : `${player.id} tried to move, but it was found invalid!`
}

module.exports = move
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant