From d13b8eff3e22eb8ec02262a973d9210a0d7098ee Mon Sep 17 00:00:00 2001 From: Terry Mun Date: Fri, 30 Sep 2016 19:39:22 +0200 Subject: [PATCH] Checked compatibility with jQuery v3.1+, all is good. Updated readme and all demo pages to use jQuery v3.1.1 --- README.md | 2 +- demo/advanced-usage.html | 2 +- demo/custom-triggers-events.html | 2 +- demo/index.html | 4 ++-- demo/usage-notes.html | 4 +--- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 77c3928..c5c4180 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Here is a gif showing how Paver should work: ![Paver Demo](http://terrymun.github.io/paver/demo/images/paver-demo.gif) -Paver had been tested in the latest versions of Chrome, Firefox, Safari and iOS Safari. +Paver had been tested in the latest versions of Chrome, Firefox, Safari and iOS Safari. It requires jQuery v1.7+, and has been thoroughly tested with jQuery v1.7+, v2+, and v3.1+. Special thanks to: diff --git a/demo/advanced-usage.html b/demo/advanced-usage.html index bc60730..0e60d58 100644 --- a/demo/advanced-usage.html +++ b/demo/advanced-usage.html @@ -224,7 +224,7 @@

Custom smoothing functions

Code, design & photos by Terry Mun · 2015

- + diff --git a/demo/custom-triggers-events.html b/demo/custom-triggers-events.html index b71ea85..471cbcd 100644 --- a/demo/custom-triggers-events.html +++ b/demo/custom-triggers-events.html @@ -266,7 +266,7 @@

Scoped (Individual)

Code, design & photos by Terry Mun · 2015

- + diff --git a/demo/index.html b/demo/index.html index b43b330..7db19a0 100644 --- a/demo/index.html +++ b/demo/index.html @@ -149,7 +149,7 @@

Markup replacement

Usage

Dependencies

-

Paver requires jQuery v1.7 and above, as well as Ben Alman's jQuery Throttle/Debounce plugin. For jQuery, you can use the one hosted by Google API, or the stable releases hosted by jQuery CDN. For the throttle/debounce plugin, you can use the one available via cdnjs.

+

Paver requires jQuery v1.7+, as well as Ben Alman's jQuery Throttle/Debounce plugin. For jQuery, you can use the one hosted by Google API, or the stable releases hosted by jQuery CDN—Paver has been thoroughly tested with jQuery v1.7+, v2+, and v3.1+. For the throttle/debounce plugin, you can use the one available via cdnjs.

Remember, for Paver to work, you will have to load both the plugin's JS file (paver.js or paver.min.js, after the dependencies) and the accompanying stylesheet (paver.css).

Basic usage

For the HTML structure, refer to the minimal basic markup. To initialize Paver, simply chain the .paver() method to your selector of choice. With reference to the minimal basic markup, this would be:

@@ -232,7 +232,7 @@

Custom triggers & events

Code, design & photos by Terry Mun · 2015

- + diff --git a/demo/usage-notes.html b/demo/usage-notes.html index 86ba47a..31b2adf 100644 --- a/demo/usage-notes.html +++ b/demo/usage-notes.html @@ -328,7 +328,7 @@

Gaussian

Code, design & photos by Terry Mun · 2015

- + @@ -392,8 +392,6 @@

Gaussian

}); } - console.log(data); - // Map data var dataX = data.map(function(d,i) { return parseFloat(d.x); }), dataY = data.map(function(d,i) { return parseFloat(d.y); });