Skip to content

Commit

Permalink
Set strict mode
Browse files Browse the repository at this point in the history
  • Loading branch information
matteodelabre committed Dec 29, 2017
1 parent 15ed86d commit 92fd104
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Saxophone.js
@@ -1,3 +1,5 @@
'use strict';

const Writable = require('readable-stream').Writable;
const StringDecoder = require('string_decoder').StringDecoder;

Expand Down
2 changes: 2 additions & 0 deletions lib/Saxophone.test.js
@@ -1,3 +1,5 @@
'use strict';

const Readable = require('readable-stream').Readable;
const test = require('tape');
const uniq = require('lodash.uniq');
Expand Down
2 changes: 2 additions & 0 deletions lib/index.js
@@ -1,3 +1,5 @@
'use strict';

const Saxophone = require('./Saxophone');

Saxophone.parseAttrs = require('./static/attrs');
Expand Down
2 changes: 2 additions & 0 deletions lib/static/attrs.js
@@ -1,3 +1,5 @@
'use strict';

/**
* Check if a character is a whitespace character according
* to the XML spec (space, carriage return, line feed or tab)
Expand Down
2 changes: 2 additions & 0 deletions lib/static/attrs.test.js
@@ -1,3 +1,5 @@
'use strict';

const test = require('tape');
const Saxophone = require('../');

Expand Down
2 changes: 2 additions & 0 deletions lib/static/entities.js
@@ -1,3 +1,5 @@
'use strict';

/**
* Expand a piece of XML text by replacing all XML entities
* by their canonical value. Ignore invalid and unknown
Expand Down
2 changes: 2 additions & 0 deletions lib/static/entities.test.js
@@ -1,3 +1,5 @@
'use strict';

const test = require('tape');
const Saxophone = require('../');

Expand Down

0 comments on commit 92fd104

Please sign in to comment.