Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
react-vanilla
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
Иван Кубота
react-vanilla
Commits
62b92199
Commit
62b92199
authored
Mar 07, 2021
by
Иван Кубота
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes for server
parent
30bdb190
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
DOM.js
DOM.js
+4
-5
No files found.
DOM.js
View file @
62b92199
...
...
@@ -770,7 +770,7 @@ NS.apply = function(a,b) {
return
el
;
},
createElementNS
:
function
(
namespaceURI
,
qualifiedName
){
var
el
=
doc
.
createElement
(
namespaceURI
,
qualifiedName
);
var
el
=
doc
.
createElement
NS
(
namespaceURI
,
qualifiedName
);
el
.
___id
=
cid
++
;
return
el
;
}
...
...
@@ -782,14 +782,13 @@ NS.apply = function(a,b) {
var
sequence
=
function
(
el
,
out
){
out
=
out
||
[];
if
(
el
.
nodeType
===
3
){
// textNode
out
.
push
(
el
.
c
id
)
//el.cid
out
.
push
(
el
.
___
id
)
//el.cid
}
else
{
out
.
push
(
el
.
cid
)
var
children
=
el
.
childNodes
;
for
(
var
i
=
0
,
_i
=
children
.
length
;
i
<
_i
;
i
++
){
rec
(
children
[
i
],
out
);
sequence
(
children
[
i
],
out
);
}
out
.
push
(
el
.
___id
)
}
return
out
;
}
...
...
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