From f18baa308f9f804dd83e535390d03ec3795ffba4 Mon Sep 17 00:00:00 2001 From: Paul Liverman III Date: Sun, 30 Apr 2017 14:14:26 -0700 Subject: [PATCH] typo fix --- extensions/streamlined_get_set.lua | 2 +- extensions/streamlined_get_set.moon | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/streamlined_get_set.lua b/extensions/streamlined_get_set.lua index 32bd558..7f8ac44 100644 --- a/extensions/streamlined_get_set.lua +++ b/extensions/streamlined_get_set.lua @@ -30,7 +30,7 @@ element.__base.width = function(self, w) return self:getWidth() end end -elements.__base.height = function(self, h) +element.__base.height = function(self, h) if h then return self:setHeight(h) else diff --git a/extensions/streamlined_get_set.moon b/extensions/streamlined_get_set.moon index d40bc67..6e1d343 100644 --- a/extensions/streamlined_get_set.moon +++ b/extensions/streamlined_get_set.moon @@ -28,7 +28,7 @@ element.__base.width = (w) => else return @getWidth! -elements.__base.height = (h) => +element.__base.height = (h) => if h return @setHeight h else