From edb8dcb0a9f1337348ec8a04493bac9b65c76de0 Mon Sep 17 00:00:00 2001 From: inpos Date: Wed, 8 Aug 2018 17:57:55 +0300 Subject: [PATCH] all functions unqote --- orun/extjs/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orun/extjs/base.py b/orun/extjs/base.py index 6b7a050..086942f 100644 --- a/orun/extjs/base.py +++ b/orun/extjs/base.py @@ -58,4 +58,4 @@ class Component(js.JsObject): def __str__(self): s = json.dumps(self._js, default=js._encoder) - return re.sub(r'("handler":\s+)("([^"]+)")', r'\1\3', s) + return re.sub(r'(":\s+)("(function[^"]+)")', r'\1\3', s)