diff options
author | Justin Wernick <justin@worthe-it.co.za> | 2023-06-11 22:22:47 +0200 |
---|---|---|
committer | Justin Wernick <justin@worthe-it.co.za> | 2023-06-11 22:22:47 +0200 |
commit | be8d25968bfa511aa856759f6fbe9dfa5c8248f6 (patch) | |
tree | 650f99c6ce70bb8038883b6d7cff853ec0c48577 /south-african-id-parser.js | |
parent | cb35325c16760721e55783c4624ee63daa973f7c (diff) |
Added a test to ensure that importing with requirejs actually works
Re #10
Diffstat (limited to 'south-african-id-parser.js')
-rw-r--r-- | south-african-id-parser.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/south-african-id-parser.js b/south-african-id-parser.js index 73450ea..62f5e15 100644 --- a/south-african-id-parser.js +++ b/south-african-id-parser.js @@ -1,6 +1,7 @@ (function (global, factory) { 'use strict'; + /* eslint-disable no-undef */ if (typeof exports === 'object' && typeof module !== 'undefined') { module.exports = factory(); } else if (typeof define === 'function' && define.amd) { @@ -8,6 +9,7 @@ } else { global.saIdParser = factory(); } + /* eslint-enable */ }(this, function () { 'use strict'; |