Permalink
Browse files

Small fixes in JS example in README.

  • Loading branch information...
1 parent 94bf49e commit 2129776cd8e457bfe92b328c4fdc663c2e62b576 @walling committed Aug 27, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.markdown
View
@@ -13,14 +13,14 @@ Usage example
For a longer example, see `example.js`.
```javascript
-unorm = require('unorm');
+var unorm = require('unorm');
-text =
+var text =
'The \u212B symbol invented by A. J. \u00C5ngstr\u00F6m ' +
'(1814, L\u00F6gd\u00F6, \u2013 1874) denotes the length ' +
'10\u207B\u00B9\u2070 m.';
-combining = /[\u0300-\u036F]/g; // Use XRegExp('\\p{M}', 'g'); see example.js.
+var combining = /[\u0300-\u036F]/g; // Use XRegExp('\\p{M}', 'g'); see example.js.
console.log('Regular: ' + text);
console.log('NFC: ' + unorm.nfc(text));

0 comments on commit 2129776

Please sign in to comment.