From 02b535460bc518413d53e3dbbf583f30f38056a8 Mon Sep 17 00:00:00 2001 From: "Damian A. Pastorini" Date: Fri, 5 Feb 2016 09:49:01 -0300 Subject: [PATCH 1/4] - V. 3.2.3 --- README.md | 8 +++++++ .../Strategery/Infinitescroll/Helper/Data.php | 7 +++--- .../Infinitescroll/Model/Admin/Feed.php | 1 - .../Infinitescroll/Model/Observer.php | 1 - .../Infinitescroll/etc/adminhtml.xml | 22 +++++++++++++++++++ .../Strategery/Infinitescroll/etc/config.xml | 6 ++--- .../Strategery/Infinitescroll/etc/system.xml | 5 ++--- .../strategery/infinitescroll/init.phtml | 5 ++++- 8 files changed, 42 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index fcedcd7..58a8bf8 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,14 @@ If you have a different theme other than the default, you will need to copy the Repositoryhttps://github.com/webcreate/infinite-ajax-scroll + +### Development Notes +To hook to window.ias you need to listen the window.onload event: +jQuery(window).load(function() { + console.log('window load jquery'); + console.log(window.ias); +}); + ------------------ ### Release Notes ##### v3.1.0 diff --git a/app/code/community/Strategery/Infinitescroll/Helper/Data.php b/app/code/community/Strategery/Infinitescroll/Helper/Data.php index fb11ef7..61cbbcd 100644 --- a/app/code/community/Strategery/Infinitescroll/Helper/Data.php +++ b/app/code/community/Strategery/Infinitescroll/Helper/Data.php @@ -15,10 +15,9 @@ * * @author Gabriel Somoza (me@gabrielsomoza.com) * @link http://gabrielsomoza.com/ - * - * Update 2.0.0 - * @author Damian A. Pastorini (admin@dwdesigner.com) - * @link http://www.dwdesigner.com/ + * + * @author Damian A. Pastorini (damian.pastorini@dwdeveloper.com) + * @link http://www.dwdeveloper.com/ */ class Strategery_Infinitescroll_Helper_Data extends Mage_Core_Helper_Abstract { diff --git a/app/code/community/Strategery/Infinitescroll/Model/Admin/Feed.php b/app/code/community/Strategery/Infinitescroll/Model/Admin/Feed.php index 902dbe1..adb2c43 100644 --- a/app/code/community/Strategery/Infinitescroll/Model/Admin/Feed.php +++ b/app/code/community/Strategery/Infinitescroll/Model/Admin/Feed.php @@ -16,7 +16,6 @@ * @author Gabriel Somoza (me@gabrielsomoza.com) * @link http://gabrielsomoza.com/ * - * Update 2.0.0 * @author Enrique Piatti (contacto@enriquepiatti.com) * @link http://www.dwdesigner.com/ */ diff --git a/app/code/community/Strategery/Infinitescroll/Model/Observer.php b/app/code/community/Strategery/Infinitescroll/Model/Observer.php index e30c6d1..3f79042 100644 --- a/app/code/community/Strategery/Infinitescroll/Model/Observer.php +++ b/app/code/community/Strategery/Infinitescroll/Model/Observer.php @@ -16,7 +16,6 @@ * @author Gabriel Somoza (me@gabrielsomoza.com) * @link http://gabrielsomoza.com/ * - * Update 2.0.0 * @author Enrique Piatti (contacto@enriquepiatti.com) * @link http://www.dwdesigner.com/ */ diff --git a/app/code/community/Strategery/Infinitescroll/etc/adminhtml.xml b/app/code/community/Strategery/Infinitescroll/etc/adminhtml.xml index 424945d..6d9d683 100644 --- a/app/code/community/Strategery/Infinitescroll/etc/adminhtml.xml +++ b/app/code/community/Strategery/Infinitescroll/etc/adminhtml.xml @@ -1,4 +1,26 @@ + diff --git a/app/code/community/Strategery/Infinitescroll/etc/config.xml b/app/code/community/Strategery/Infinitescroll/etc/config.xml index fa476fb..f063892 100644 --- a/app/code/community/Strategery/Infinitescroll/etc/config.xml +++ b/app/code/community/Strategery/Infinitescroll/etc/config.xml @@ -17,14 +17,14 @@ * @author Gabriel Somoza (me@gabrielsomoza.com) * @link http://gabrielsomoza.com/ * - * @author Damian A. Pastorini (admin@dwdesigner.com) - * @link http://www.dwdesigner.com/ + * @author Damian A. Pastorini (damian.pastorini@dwdeveloper.com) + * @link http://www.dwdeveloper.com/ */ --> - 3.2.2 + 3.2.3 diff --git a/app/code/community/Strategery/Infinitescroll/etc/system.xml b/app/code/community/Strategery/Infinitescroll/etc/system.xml index 7dc838d..a158e42 100644 --- a/app/code/community/Strategery/Infinitescroll/etc/system.xml +++ b/app/code/community/Strategery/Infinitescroll/etc/system.xml @@ -17,9 +17,8 @@ * @author Gabriel Somoza (me@gabrielsomoza.com) * @link http://gabrielsomoza.com/ * - * Update 2.0.0 - * @author Damian A. Pastorini (admin@dwdesigner.com) - * @link http://www.dwdesigner.com/ + * @author Damian A. Pastorini (damian.pastorini@dwdeveloper.com) + * @link http://www.dwdeveloper.com/ */ --> diff --git a/app/design/frontend/base/default/template/strategery/infinitescroll/init.phtml b/app/design/frontend/base/default/template/strategery/infinitescroll/init.phtml index 22ed196..e66e62c 100644 --- a/app/design/frontend/base/default/template/strategery/infinitescroll/init.phtml +++ b/app/design/frontend/base/default/template/strategery/infinitescroll/init.phtml @@ -15,6 +15,9 @@ * @copyright Copyright (c) 2014 Strategery Inc. (http://usestrategery.com) * * @author Enrique Piatti (contacto@enriquepiatti.com) + * + * @author Damian A. Pastorini (damian.pastorini@dwdeveloper.com) + * @link http://www.dwdeveloper.com/ */ ?> isEnabled()): ?> @@ -178,7 +181,7 @@ } SgyIAS._log('Done loading IAS.'); - $(document).trigger( "infiniteScrollReady", [window.ias]); + $(document).trigger( "infiniteScrollReady", [window.ias]); }); }); } From e3e6663a7b398764361204300d4047bcbc6a319d Mon Sep 17 00:00:00 2001 From: "Damian A. Pastorini" Date: Fri, 5 Feb 2016 09:53:05 -0300 Subject: [PATCH 2/4] - Readme notes. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 58a8bf8..fe0efb8 100644 --- a/README.md +++ b/README.md @@ -63,10 +63,13 @@ If you have a different theme other than the default, you will need to copy the ### Development Notes To hook to window.ias you need to listen the window.onload event: + + { jQuery(window).load(function() { console.log('window load jquery'); console.log(window.ias); }); + } ------------------ ### Release Notes From 6c7e1406290ad3c24ee5bd795602b0648670af47 Mon Sep 17 00:00:00 2001 From: "Damian A. Pastorini" Date: Fri, 5 Feb 2016 09:54:24 -0300 Subject: [PATCH 3/4] - Readme notes. --- README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index fe0efb8..a88448c 100644 --- a/README.md +++ b/README.md @@ -63,13 +63,10 @@ If you have a different theme other than the default, you will need to copy the ### Development Notes To hook to window.ias you need to listen the window.onload event: - - { -jQuery(window).load(function() { +`jQuery(window).load(function() { console.log('window load jquery'); console.log(window.ias); -}); - } +});` ------------------ ### Release Notes From 85fcb85fb7d2950871a82e89b882a35c9bb648a9 Mon Sep 17 00:00:00 2001 From: "Damian A. Pastorini" Date: Fri, 5 Feb 2016 09:54:46 -0300 Subject: [PATCH 4/4] - Readme notes. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a88448c..d6cfe6c 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,7 @@ If you have a different theme other than the default, you will need to copy the ### Development Notes To hook to window.ias you need to listen the window.onload event: + `jQuery(window).load(function() { console.log('window load jquery'); console.log(window.ias);