move re funct from Ext to js module

master
inpos 2018-08-14 15:07:18 +03:00
parent cac13a1da3
commit d25ed424ea
2 changed files with 3 additions and 3 deletions

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):

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