From c7eae9675bf07d70b9f269e230029af9c8fcee45 Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 14 Apr 2017 15:34:05 +0200 Subject: [PATCH] keep exporting isArray for backwards compatibility but prevent internal use --- www/common/cryptpad-common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index c63c43f62..cc30c6803 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -221,7 +221,7 @@ define([ return typeof getUserHash() === "string"; }; - var isArray = common.isArray = $.isArray; + common.isArray = $.isArray; /* * localStorage formatting