Browse Source

Moved specsplit script to `support`

pull/14/head
Vitaly Puzrin 10 years ago
parent
commit
56282f2b32
  1. 2
      Makefile
  2. 2
      support/entities.js
  3. 0
      support/specsplit.js

2
Makefile

@ -24,7 +24,7 @@ lint:
test: lint test: lint
NODE_ENV=test mocha -R spec NODE_ENV=test mocha -R spec
./bin/specsplit.js test/fixtures/stmd/spec.txt ./support/specsplit.js test/fixtures/stmd/spec.txt
gh-pages: gh-pages:

2
support/entities.js

@ -40,7 +40,7 @@ http.get('http://www.w3.org/TR/html5/entities.json', function (res) {
out[entity.slice(1, -1)] = strToUni(entities[entity].characters); out[entity.slice(1, -1)] = strToUni(entities[entity].characters);
}); });
var result = [] var result = [];
Object.keys(out).forEach(function (key) { Object.keys(out).forEach(function (key) {
result.push(' "' + key + '":"' + out[key] + '"'); result.push(' "' + key + '":"' + out[key] + '"');

0
bin/specsplit.js → support/specsplit.js

Loading…
Cancel
Save