Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cribjs-editor
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
cribjs-editor
Commits
b57bd50a
Commit
b57bd50a
authored
Jul 15, 2020
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Crib Landing Loader
parent
338d627c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
gadget/gadget_cribjs_page_cribjs_home.js
gadget/gadget_cribjs_page_cribjs_home.js
+1
-1
gadget/gadget_landing_cribjs.js
gadget/gadget_landing_cribjs.js
+2
-1
gadget/gadget_zip_loader.js
gadget/gadget_zip_loader.js
+1
-1
No files found.
gadget/gadget_cribjs_page_cribjs_home.js
View file @
b57bd50a
...
...
@@ -41,7 +41,7 @@
})
.
declareAcquiredMethod
(
"
crib_sw_put
"
,
"
crib_sw_put
"
)
.
allowPublicAcquisition
(
"
crib_sw_put
"
,
function
(
argument_list
)
{
return
this
.
crib_sw_put
.
apply
(
this
,
arguments
);
return
this
.
crib_sw_put
(
argument_list
[
0
],
argument_list
[
1
]
);
})
.
declareMethod
(
'
render
'
,
function
(
options
)
{
var
gadget
=
this
,
...
...
gadget/gadget_landing_cribjs.js
View file @
b57bd50a
...
...
@@ -24,7 +24,8 @@
return
;
}
relativePath
=
relativePath
.
substring
(
from_path
.
length
);
if
(
!
relativePath
.
startsWith
(
"
/
"
)
&&
!
path_to_load
.
endsWith
(
"
/
"
))
{
if
(
path_to_load
&&
!
relativePath
.
startsWith
(
"
/
"
)
&&
!
path_to_load
.
endsWith
(
"
/
"
))
{
end_url
=
path_to_load
+
"
/
"
+
relativePath
;
}
else
if
(
relativePath
.
startsWith
(
"
/
"
)
&&
path_to_load
.
endsWith
(
"
/
"
))
{
end_url
=
path_to_load
+
relativePath
.
substring
(
1
);
...
...
gadget/gadget_zip_loader.js
View file @
b57bd50a
...
...
@@ -84,7 +84,7 @@
})
.
declareAcquiredMethod
(
"
crib_sw_put
"
,
"
crib_sw_put
"
)
.
allowPublicAcquisition
(
"
crib_sw_put
"
,
function
(
argument_list
)
{
return
this
.
crib_sw_put
.
apply
(
this
,
arguments
);
return
this
.
crib_sw_put
(
argument_list
[
0
],
argument_list
[
1
]
);
})
.
declareMethod
(
'
render
'
,
function
(
options
)
{
var
gadget
=
this
,
...
...
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