mirror of
https://github.com/ONLYOFFICE/build_tools.git
synced 2025-12-24 01:50:16 +00:00
Fixed builder interface script generation
This commit is contained in:
@@ -112,6 +112,8 @@ class EditorApi(object):
|
||||
line = line.replace("}", "")
|
||||
lineWithoutSpaces = line.replace(" ", "")
|
||||
if not is_found_function and 0 == line.find("function "):
|
||||
if -1 == decoration.find("@constructor"):
|
||||
return
|
||||
codeCorrect += (line + addon_for_func + "\n")
|
||||
is_found_function = True
|
||||
if not is_found_function and -1 != line.find(".prototype."):
|
||||
|
||||
Reference in New Issue
Block a user