From cd00803d7a57160f2f52f701a52c33618d94c2da Mon Sep 17 00:00:00 2001
From: Olga Nakonechna <onakonechna@ebay.com>
Date: Fri, 25 Sep 2015 12:48:49 +0300
Subject: [PATCH] MAGETWO-39772: has method in Storage class returned incorrect
 value

- re-fixed according to the new mainline before PR
---
 app/code/Magento/Ui/view/base/web/js/lib/registry/storage.js | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/app/code/Magento/Ui/view/base/web/js/lib/registry/storage.js b/app/code/Magento/Ui/view/base/web/js/lib/registry/storage.js
index 3e78860c2cb..f7d95da8b4f 100644
--- a/app/code/Magento/Ui/view/base/web/js/lib/registry/storage.js
+++ b/app/code/Magento/Ui/view/base/web/js/lib/registry/storage.js
@@ -68,10 +68,6 @@ define([], function () {
         has: function (elems) {
             var data = this.data;
 
-            if (elems.length === 0) {
-                return false;
-            }
-
             return elems.every(function (elem) {
                 return typeof data[elem] !== 'undefined';
             });
-- 
GitLab