Skip to content

Instantly share code, notes, and snippets.

@JamesMGreene
Created November 25, 2012 00:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JamesMGreene/4141876 to your computer and use it in GitHub Desktop.
Save JamesMGreene/4141876 to your computer and use it in GitHub Desktop.
JSHintErrorsWithUnicode.js
var toRawIssueContentReplacements = {
'"': '"',
'<': '\u003c', /* Gives error "Unnecessary escapement" on the 'u' */
'>': '\u003e' /* Gives error "Unnecessary escapement" on the 'u' */
};
(function() {
console.log(JSON.stringify(toRawIssueContentReplacements));
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment