From 3fcedf2b30b4766e10bfb3c5c9af77cb13dc00a1 Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 31 Aug 2012 00:16:26 +0200 Subject: [PATCH] lists: return that from public size method --- source/Ox.UI/js/List/IconList.js | 1 + source/Ox.UI/js/List/InfoList.js | 1 + 2 files changed, 2 insertions(+) diff --git a/source/Ox.UI/js/List/IconList.js b/source/Ox.UI/js/List/IconList.js index 24d78263..6829df1c 100644 --- a/source/Ox.UI/js/List/IconList.js +++ b/source/Ox.UI/js/List/IconList.js @@ -222,6 +222,7 @@ Ox.IconList = function(options, self) { @*/ that.size = function() { that.$element.size(); + return that; }; // fixme: deprecate, use options() diff --git a/source/Ox.UI/js/List/InfoList.js b/source/Ox.UI/js/List/InfoList.js index 41c2636a..02292ed6 100644 --- a/source/Ox.UI/js/List/InfoList.js +++ b/source/Ox.UI/js/List/InfoList.js @@ -240,6 +240,7 @@ Ox.InfoList = function(options, self) { @*/ that.size = function() { that.$element.size(); + return that; }; /*@