Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
matrix-react-sdk
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
Matrix.org
matrix-react-sdk
Commits
6eb18f02
Commit
6eb18f02
authored
9 years ago
by
David Baker
Browse files
Options
Downloads
Patches
Plain Diff
Fix reskindex
parent
d938ba70
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
reskindex.js
+3
-2
3 additions, 2 deletions
reskindex.js
with
3 additions
and
2 deletions
reskindex.js
+
3
−
2
View file @
6eb18f02
...
...
@@ -82,7 +82,7 @@ for (var i = 0; i < files.length; ++i) {
// create objects for submodules
// NB. that we do not support creating additional
// top level modules. Perhaps we should?
var
subtree
=
tree
;
var
subtree
=
tree
[
module
.
split
(
'
.
'
)[
0
]]
;
var
restOfPath
=
module
.
split
(
'
.
'
).
slice
(
0
,
-
1
);
var
currentPath
=
restOfPath
[
0
];
restOfPath
=
restOfPath
.
slice
(
1
);
...
...
@@ -91,8 +91,9 @@ for (var i = 0; i < files.length; ++i) {
if
(
subtree
[
restOfPath
[
0
]]
==
undefined
)
{
strm
.
write
(
'
skin.
'
+
currentPath
+
'
= {};
\n
'
);
strm
.
uncork
();
}
subtree
[
restOfPath
[
0
]]
=
{};
}
subtree
=
subtree
[
restOfPath
[
0
]];
restOfPath
=
restOfPath
.
slice
(
1
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment