diff --git a/lib/Subtag.js b/lib/Subtag.js index 46023b9..7e47d8e 100644 --- a/lib/Subtag.js +++ b/lib/Subtag.js @@ -1,10 +1,10 @@ /** - * @author Matthew Caruana Galizia + * @author Matthew Caruana Galizia * @license MIT: http://mattcg.mit-license.org/ * @copyright Copyright (c) 2013, Matthew Caruana Galizia */ -/*jshint node:true*/ +/*jshint node:true, esversion: 6*/ 'use strict'; @@ -33,7 +33,7 @@ class Subtag { err.code = code; err.subtag = subtag; throw err; - }; + } types = index[subtag]; if (!types) { diff --git a/lib/Tag.js b/lib/Tag.js index 2b91fa1..8740a4f 100644 --- a/lib/Tag.js +++ b/lib/Tag.js @@ -1,10 +1,10 @@ /** - * @author Matthew Caruana Galizia + * @author Matthew Caruana Galizia * @license MIT: http://mattcg.mit-license.org/ * @copyright Copyright (c) 2013, Matthew Caruana Galizia */ -/*jshint node:true*/ +/*jshint node:true, esversion: 6*/ 'use strict'; diff --git a/lib/index.js b/lib/index.js index b9164df..68bc631 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1,10 +1,10 @@ /** - * @author Matthew Caruana Galizia + * @author Matthew Caruana Galizia * @license MIT: http://mattcg.mit-license.org/ * @copyright Copyright (c) 2013, Matthew Caruana Galizia */ -/*jshint node:true*/ +/*jshint node:true, esversion: 6*/ 'use strict';