Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Toolkit
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
digital blueprint
Web Component Framework
Toolkit
Commits
273ee387
Commit
273ee387
authored
5 years ago
by
Bekerle, Patrizio
Committed by
Reiter, Christoph
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Split VPULitElement
parent
c03ea157
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
packages/common/vpu-lit-element-jquery.js
+8
-0
8 additions, 0 deletions
packages/common/vpu-lit-element-jquery.js
packages/common/vpu-lit-element.js
+0
-5
0 additions, 5 deletions
packages/common/vpu-lit-element.js
with
8 additions
and
5 deletions
packages/common/vpu-lit-element-jquery.js
0 → 100644
+
8
−
0
View file @
273ee387
import
{
VPULitElement
}
from
"
vpu-lit-element
"
;
import
$
from
"
jquery
"
;
export
default
class
VPULitElementJQuery
extends
VPULitElement
{
$
(
selector
)
{
return
$
(
this
.
_
(
selector
));
}
}
This diff is collapsed.
Click to expand it.
packages/common/vpu-lit-element.js
+
0
−
5
View file @
273ee387
import
{
LitElement
}
from
"
lit-element
"
;
import
$
from
"
jquery
"
;
export
default
class
VPULitElement
extends
LitElement
{
$
(
selector
)
{
return
$
(
this
.
_
(
selector
));
}
_
(
selector
)
{
return
this
.
shadowRoot
===
null
?
this
.
querySelector
(
selector
)
:
this
.
shadowRoot
.
querySelector
(
selector
);
}
...
...
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