Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
pub
frama-c
Commits
8a78bf3b
Commit
8a78bf3b
authored
2 years ago
by
Loïc Correnson
Browse files
Options
Downloads
Patches
Plain Diff
[ivette] Dome.getStatic()
parent
fb96307b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ivette/src/dome/renderer/dome.tsx
+10
-0
10 additions, 0 deletions
ivette/src/dome/renderer/dome.tsx
with
10 additions
and
0 deletions
ivette/src/dome/renderer/dome.tsx
+
10
−
0
View file @
8a78bf3b
...
@@ -119,6 +119,16 @@ export function getWorkingDir(): string { return System.getWorkingDir(); }
...
@@ -119,6 +119,16 @@ export function getWorkingDir(): string { return System.getWorkingDir(); }
/** Current process ID.. */
/** Current process ID.. */
export
function
getPID
():
number
{
return
System
.
getPID
();
}
export
function
getPID
():
number
{
return
System
.
getPID
();
}
// The __static path is provided by webpack at execution time, but the static
// type system is not aware of that for now. This is a workaround to avoid
// an error during compilation.
declare
const
__static
:
string
;
/** Path to application static resources. */
export
function
getStatic
(
file
?:
string
):
string
{
return
file
?
System
.
join
(
__static
,
file
)
:
__static
;
}
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
// --- Application Emitter
// --- Application Emitter
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
...
...
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