From e7eca140b8bf68859f31edb3aaea00675552d26c Mon Sep 17 00:00:00 2001 From: BradleyHill Date: Wed, 22 Aug 2018 09:43:15 -0500 Subject: [PATCH] Issue 5185 fabric image (#5190) * Issue-5185: Ensure fabric.Image exists * Issue-5185: Ensure fabric.Image exists (right place) --- src/filters/base_filter.class.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/filters/base_filter.class.js b/src/filters/base_filter.class.js index 10281394911..8f99df4a61c 100644 --- a/src/filters/base_filter.class.js +++ b/src/filters/base_filter.class.js @@ -4,6 +4,7 @@ * @tutorial {@link http://fabricjs.com/fabric-intro-part-2#image_filters} * @see {@link http://fabricjs.com/image-filters|ImageFilters demo} */ +fabric.Image = fabric.Image || { }; fabric.Image.filters = fabric.Image.filters || { }; /**