Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
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
Show more breadcrumbs
project
drupal
Merge requests
!1377
Issue
#3204015
: Replace Toolbar BackboneJS usage with VanillaJS equivalent
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Issue
#3204015
: Replace Toolbar BackboneJS usage with VanillaJS equivalent
issue/drupal-3204015:3204015-replace-toolbar-backbonejs
into
9.4.x
Overview
28
Commits
114
Pipelines
0
Changes
10
14 unresolved threads
Hide all comments
Open
Harumi Jang
requested to merge
issue/drupal-3204015:3204015-replace-toolbar-backbonejs
into
9.4.x
3 years ago
Overview
28
Commits
114
Pipelines
0
Changes
10
14 unresolved threads
Hide all comments
Expand
0
0
Merge request reports
Viewing commit
51262242
Show latest version
10 files
+
261
−
46
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
10
Search (e.g. *.vue) (Ctrl+P)
51262242
added vanilla function stubs
· 51262242
Harumi Jang
authored
3 years ago
core/modules/toolbar/js/views/BodyVisualView.es6.js
+
3
−
3
Options
/**
/**
* @file
* A Backbone view for the body element.
*/
@@ -23,7 +23,7 @@
},
isToolbarFixed
()
{
console
.
log
(
'
isToolbarFixed() in BodyVisualView.es6
'
);
console
.
log
(
'
backbone:
isToolbarFixed() in BodyVisualView.es6
'
);
// When the toolbar is fixed, it will not scroll with page scrolling.
const
isViewportOverflowConstrained
=
this
.
model
.
get
(
'
isViewportOverflowConstrained
'
,
@@ -38,7 +38,7 @@
* {@inheritdoc}
*/
render
()
{
console
.
log
(
'
render() in BodyVisualView.es6
'
);
console
.
log
(
'
backbone:
render() in BodyVisualView.es6
'
);
$
(
'
body
'
)
// Toggle the toolbar-tray-open class on the body element. The class is
// applied when a toolbar tray is active. Padding might be applied to
Loading