diff options
author | Mathias Bynens <mathias@qiwi.be> | 2016-04-04 22:35:55 +0200 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2016-04-04 22:45:00 +0200 |
commit | f1e1ccf451c7e88d411db9f07209159e717b52d1 (patch) | |
tree | 33d85a9fe3a0cefb40ae112e975f9dfafbbd33af /scripts/export-data.js | |
parent | 4a5f578117b4e1cbf3a7b3a803afe296247b3199 (diff) | |
download | he-f1e1ccf451c7e88d411db9f07209159e717b52d1.zip he-f1e1ccf451c7e88d411db9f07209159e717b52d1.tar.gz he-f1e1ccf451c7e88d411db9f07209159e717b52d1.tar.bz2 |
Update build scripts and data
The spec changed the order of some listings here and there.
Diffstat (limited to 'scripts/export-data.js')
-rw-r--r-- | scripts/export-data.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/export-data.js b/scripts/export-data.js index 0443070..7f4676a 100644 --- a/scripts/export-data.js +++ b/scripts/export-data.js @@ -1,7 +1,9 @@ -var jsesc = require('jsesc'); +'use strict'; -var formatJSON = function(fileName) { - var object = require('../data/' + fileName + '.json'); +const jsesc = require('jsesc'); + +const formatJSON = function(fileName) { + const object = require('../data/' + fileName + '.json'); return jsesc(object, { 'compact': true, 'quotes': 'single' |