diff --git a/README.md b/README.md index fcedcd7..d6cfe6c 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,15 @@ 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]); }); }); }