move re funct from Ext to js module

This commit is contained in:
gitadmin committed 2018-08-14 15:07:18 +03:00
1 parent cac13a1da3
commit d25ed424ea
2 files changed
+3 -3

No files matched your search

-3
View File
@@ -36,9 +36,6 @@ def getCmp(id):
def getBody():
return js.JsNode('Ext.getBody()')
def re(pattern):
return js.RE(pattern)
tip = js.JsNode('Ext.tip')
class Component(js.JsObject):
+3
View File
@@ -11,6 +11,9 @@ class RE:
def __init__(self, re):
self.re = re
def re(pattern):
return RE(pattern)
class FuncWithParams:
def __init__(self, func, args = [], params = {}):
self.func = func