Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
custom-tzcld
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Components
custom-tzcld
Commits
cc042e05
Commit
cc042e05
authored
1 year ago
by
Benoit Alessandroni
Browse files
Options
Downloads
Patches
Plain Diff
fix: core import
parent
10840796
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!7
fix: backlink on left in territory profile...
,
!4
Draft: add: alpha release + switch to core beta
Pipeline
#16583
passed
1 year ago
Stage: prepare
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/utils.js
+3
-2
3 additions, 2 deletions
src/utils.js
with
3 additions
and
2 deletions
src/utils.js
+
3
−
2
View file @
cc042e05
...
@@ -43,6 +43,7 @@ export function path() {
...
@@ -43,6 +43,7 @@ export function path() {
}
}
return
path
;
return
path
;
}
}
export
function
community_uniq
()
{
export
function
community_uniq
()
{
let
uniq
=
""
;
let
uniq
=
""
;
if
(
window
.
orbit
)
{
if
(
window
.
orbit
)
{
...
@@ -56,10 +57,10 @@ export function community_uniq() {
...
@@ -56,10 +57,10 @@ export function community_uniq() {
}
}
export
function
coreVersion
()
{
export
function
coreVersion
()
{
let
coreUrl
=
"
https://cdn.jsdelivr.net/npm/@startinblox/core
"
;
let
coreUrl
=
"
https://cdn.jsdelivr.net/npm/@startinblox/core
@beta/dist/index.js
"
;
if
(
window
.
orbit
)
{
if
(
window
.
orbit
)
{
let
core
=
window
.
orbit
.
npm
.
find
(
e
=>
e
.
package
==
'
@startinblox/core
'
);
let
core
=
window
.
orbit
.
npm
.
find
(
e
=>
e
.
package
==
'
@startinblox/core
'
);
coreUrl
+=
`@
${
core
.
version
}
/
+esm
`
;
coreUrl
+=
`
https://cdn.jsdelivr.net/npm/@startinblox/core
@
${
core
.
version
}
/
dist/index.js
`
;
if
(
core
.
path
)
{
if
(
core
.
path
)
{
coreUrl
=
core
.
path
;
coreUrl
=
core
.
path
;
}
}
...
...
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