Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kus-admin
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Кубота
kus-admin
Commits
92a580d0
Commit
92a580d0
authored
Jan 28, 2020
by
Иван Кубота
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing remove zero-wrapper
parent
198c70f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
DOM.js
src/core/DOM.js
+11
-4
LoginCode.jsx
src/view/page/login/LoginCode.jsx
+5
-0
No files found.
src/core/DOM.js
View file @
92a580d0
...
@@ -240,11 +240,18 @@ NS.apply = function(a,b) {
...
@@ -240,11 +240,18 @@ NS.apply = function(a,b) {
}
}
if
(
type
!==
'object'
){
if
(
type
!==
'object'
){
if
(
type
===
'function'
){
if
(
type
===
'function'
){
var
tmp
=
D
.
div
(
{
cls
:
'zero-wrapper'
}
);
//var tmp = D.Text();//( {cls: 'zero-wrapper'} );
el
.
appendChild
(
tmp
);
//el.appendChild( tmp );
var
list
=
[];
subEl
(
function
(){
subEl
(
function
(){
D
.
removeChildren
(
tmp
);
D
.
appendChild
(
tmp
,
[].
slice
.
call
(
arguments
)
)
for
(
var
i
=
0
,
_i
=
list
.
length
;
i
<
_i
;
i
++
){
el
.
removeChild
(
list
[
i
]
);
}
var
fragment
=
document
.
createDocumentFragment
();
D
.
appendChild
(
fragment
,
[].
slice
.
call
(
arguments
)
);
list
=
[].
slice
.
call
(
fragment
.
childNodes
);
el
.
appendChild
(
fragment
);
}
)
}
)
}
else
if
(
subEl
!==
void
0
&&
subEl
!==
false
&&
subEl
!==
null
){
}
else
if
(
subEl
!==
void
0
&&
subEl
!==
false
&&
subEl
!==
null
){
el
.
appendChild
(
D
.
Text
(
subEl
)
);
el
.
appendChild
(
D
.
Text
(
subEl
)
);
...
...
src/view/page/login/LoginCode.jsx
View file @
92a580d0
...
@@ -7,6 +7,11 @@ const {AND, OR, IF} = Store;
...
@@ -7,6 +7,11 @@ const {AND, OR, IF} = Store;
export
default
D
.
declare
(
'view.page.LoginCode'
,
({
loginStore
})
=>
{
export
default
D
.
declare
(
'view.page.LoginCode'
,
({
loginStore
})
=>
{
const
checkCode
=
function
()
{
const
checkCode
=
function
()
{
loginStore
.
set
(
'codeChecking'
,
true
);
loginStore
.
set
(
'codeChecking'
,
true
);
try
{
}
catch
(
e
){
}
setTimeout
(
function
()
{
setTimeout
(
function
()
{
loginStore
.
set
(
'codeChecking'
,
false
);
loginStore
.
set
(
'codeChecking'
,
false
);
loginStore
.
set
(
'codeError'
,
true
);
loginStore
.
set
(
'codeError'
,
true
);
...
...
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