Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
0ecad6b4
Commit
0ecad6b4
authored
Jul 06, 2017
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete redunant functions build_..._local
parent
340ddbe6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
20 deletions
+4
-20
common/editorscommon.js
common/editorscommon.js
+4
-20
No files found.
common/editorscommon.js
View file @
0ecad6b4
...
...
@@ -809,15 +809,9 @@
function
build_local_rx
(
data
)
{
build_rx_table_local
(
data
?
data
[
"
StructureTables
"
]
:
null
);
build_rx_bool_local
(
data
?
data
[
"
CONST_TRUE_FALSE
"
]
:
null
);
build_rx_error_local
(
data
?
data
[
"
CONST_ERROR
"
]
:
null
);
}
function
build_rx_table_local
(
local
)
{
rx_table_local
=
build_rx_table
(
local
);
rx_table_local
=
build_rx_table
(
data
?
data
[
"
StructureTables
"
]
:
null
);
rx_bool_local
=
build_rx_bool
(
data
?
data
[
"
CONST_TRUE_FALSE
"
]
:
null
);
rx_error_local
=
build_rx_error
(
data
?
data
[
"
CONST_ERROR
"
]
:
null
);
}
function
build_rx_table
(
local
)
...
...
@@ -862,11 +856,6 @@
},
'
i
'
);
}
function
build_rx_bool_local
(
local
)
{
rx_bool_local
=
build_rx_bool
(
local
);
}
function
build_rx_bool
(
local
)
{
// ToDo переделать на более правильную реализацию. Не особо правильное копирование
...
...
@@ -878,11 +867,6 @@
return
new
RegExp
(
"
^(
"
+
t
+
"
|
"
+
f
+
"
)([-+*
\\
/^&%<=>: ;),]|$)
"
,
"
i
"
);
}
function
build_rx_error_local
(
local
)
{
rx_error_local
=
build_rx_error
(
local
);
}
function
build_rx_error
(
local
)
{
// ToDo переделать на более правильную реализацию. Не особо правильное копирование
...
...
@@ -1433,7 +1417,7 @@
rx_error_local
=
build_rx_error
(
null
),
rx_bool
=
build_rx_bool
(
null
),
rx_bool_local
=
build_rx_bool
(
null
)
,
rx_bool_local
=
rx_bool
,
rx_string
=
/^
\"((\"\"
|
[^\"])
*
)\"
/
,
rx_test_ws_name
=
new
test_ws_name2
(),
rx_space_g
=
/
\s
/g
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment