Index: README.md
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- README.md	(date 1499279416000)
+++ README.md	(revision )
@@ -1,7 +1,7 @@
 Infinite Ajax Scroll
 ====================
 
-Turn your paginated pages into infinite scrolling pages with ease.
+Turn your existing pagination into infinite scrolling pages with ease.
 
 Downloads, documentation and demos available at: http://infiniteajaxscroll.com/
 
Index: .babelrc
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- .babelrc	(revision )
+++ .babelrc	(revision )
@@ -0,0 +1,10 @@
+{
+  "presets": [
+    ["latest", {
+      "es2015": {
+        "modules": false
+      }
+    }]
+  ],
+  "plugins": ["external-helpers"]
+}
Index: src/main.js
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- src/main.js	(revision )
+++ src/main.js	(revision )
@@ -0,0 +1,16 @@
+'use strict';
+
+const defaults = {
+  scrollContainer: undefined,
+  item: undefined,
+  next: '[rel=next]'
+};
+
+class InfiniteAjaxScroll {
+  constructor(selector, options) {
+    this.container = document.querySelector(selector);
+    this.options = Object.assign(options, defaults);
+  }
+}
+
+export default InfiniteAjaxScroll;
Index: rollup.config.js
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- rollup.config.js	(revision )
+++ rollup.config.js	(revision )
@@ -0,0 +1,13 @@
+import babel from 'rollup-plugin-babel';
+
+export default {
+  entry: 'src/main.js',
+  format: 'umd',
+  moduleName: 'InfiniteAjaxScroll',
+  plugins: [
+    babel({
+      exclude: 'node_modules/**' // only transpile our source code
+    })
+  ],
+  dest: 'dist/infinite-ajax-scroll.js' // equivalent to --output
+};
Index: test/html/index.html
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- test/html/index.html	(revision )
+++ test/html/index.html	(revision )
@@ -0,0 +1,14 @@
+<!doctype html>
+<html lang="en">
+<head>
+    <meta charset="utf-8" />
+    <meta name="viewport" content="width=device-width" />
+
+    <title>Infinite Ajax Scroll</title>
+</head>
+<body>
+    <div id="container">
+
+    </div>
+</body>
+</html>
Index: test/options.js
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- test/options.js	(revision )
+++ test/options.js	(revision )
@@ -0,0 +1,20 @@
+'use strict';
+
+import InfiniteAjaxScroll from '../src/main';
+
+var assert = require('assert');
+
+describe('InfiniteAjaxScroll', function() {
+  it('should have global object', function() {
+
+    assert(InfiniteAjaxScroll).isObject();
+  })
+});
+
+describe('Array', function() {
+  describe('#indexOf()', function() {
+    it('should return -1 when the value is not present', function() {
+      assert.equal(-1, [1,2,3].indexOf(4));
+    });
+  });
+});
Index: .gitignore
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- .gitignore	(revision )
+++ .gitignore	(revision )
@@ -0,0 +1,1 @@
+node_modules/
Index: package.json
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- package.json	(revision )
+++ package.json	(revision )
@@ -0,0 +1,45 @@
+{
+  "name": "infinite-ajax-scroll",
+  "version": "3.0.0",
+  "description": "Turn your existing pagination into infinite scrolling pages with ease",
+  "main": "dist/infinite-ajax-scroll.js",
+  "module": "dist/infinite-ajax-scroll.esm.js",
+  "scripts": {
+    "test": "mocha",
+    "dev": "rollup --config --watch",
+    "build": "rollup --config"
+  },
+  "repository": {
+    "type": "git",
+    "url": "git+https://github.com/webcreate/infinite-ajax-scroll.git"
+  },
+  "keywords": [
+    "infinite",
+    "scroll",
+    "endless",
+    "ajax",
+    "scrolling",
+    "pagination",
+    "paginate",
+    "ias",
+    "plugin",
+    "jquery"
+  ],
+  "author": {
+    "name": "Jeroen Fiege",
+    "company": "Webcreate",
+    "web": "http://webcreate.nl"
+  },
+  "license": "ISC",
+  "bugs": {
+    "url": "https://github.com/webcreate/infinite-ajax-scroll/issues"
+  },
+  "homepage": "http://infiniteajaxscroll.com",
+  "devDependencies": {
+    "babel-plugin-external-helpers": "^6.22.0",
+    "babel-preset-latest": "^6.24.1",
+    "mocha": "^3.4.2",
+    "rollup": "^0.43.0",
+    "rollup-plugin-babel": "^2.7.1"
+  }
+}
