From be8d25968bfa511aa856759f6fbe9dfa5c8248f6 Mon Sep 17 00:00:00 2001 From: Justin Wernick Date: Sun, 11 Jun 2023 22:22:47 +0200 Subject: Added a test to ensure that importing with requirejs actually works Re #10 --- south-african-id-parser.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'south-african-id-parser.js') 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'; -- cgit v1.2.3