diff --git a/package.json b/package.json index 5a6ef13..4ad7766 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "url": "https://github.com/Elkfox/Ajaxinate/issues" }, "homepage": "https://ajaxinate.elkfox.io/", - "main": "ajaxinate.js", + "main": "src/ajaxinate.js", "directories": { "doc": "docs" }, diff --git a/src/ajaxinate.js b/src/ajaxinate.js index c93551f..1274837 100644 --- a/src/ajaxinate.js +++ b/src/ajaxinate.js @@ -14,7 +14,7 @@ https://elkfox.com MIT License ================================================================================================= */ -const Ajaxinate = function ajaxinateConstructor(config) { +export const Ajaxinate = function ajaxinateConstructor(config) { const settings = config || {}; /* pagination: Selector of pagination container