Update to drupal-org-drupal 8.0.0-rc2. For more information, see https://www.drupal.org/node/2598668
This commit is contained in:
parent
f32e58e4b1
commit
8e18df8c36
3062 changed files with 15044 additions and 172506 deletions
|
@ -99,14 +99,14 @@
|
|||
margin: 0.25em 0;
|
||||
padding: 0.4em 0.6em;
|
||||
}
|
||||
.touch .contextual-region .contextual .contextual-links a {
|
||||
.touchevents .contextual-region .contextual .contextual-links a {
|
||||
font-size: large;
|
||||
}
|
||||
.contextual-region .contextual .contextual-links a,
|
||||
.contextual-region .contextual .contextual-links a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
.no-touch .contextual-region .contextual .contextual-links li a:hover {
|
||||
.no-touchevents .contextual-region .contextual .contextual-links li a:hover {
|
||||
color: #000;
|
||||
background: #f7fcff;
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
(function ($, Drupal, drupalSettings, _, Backbone, JSON, storage) {
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
var options = $.extend(drupalSettings.contextual,
|
||||
// Merge strings on top of drupalSettings so that they are not mutable.
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
(function ($, Drupal, Backbone) {
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
var strings = {
|
||||
tabbingReleased: Drupal.t('Tabbing is no longer constrained by the Contextual module.'),
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
(function (Drupal, Backbone) {
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Models the state of a contextual link's trigger, list & region.
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
(function (Drupal, Backbone) {
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
Drupal.contextualToolbar.StateModel = Backbone.Model.extend(/** @lends Drupal.contextualToolbar.StateModel# */{
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
(function ($, Drupal, Backbone, _) {
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
Drupal.contextualToolbar.AuralView = Backbone.View.extend(/** @lends Drupal.contextualToolbar.AuralView# */{
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
(function (Drupal, Backbone) {
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
Drupal.contextualToolbar.VisualView = Backbone.View.extend(/** @lends Drupal.contextualToolbar.VisualView# */{
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
(function (Drupal, Backbone) {
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
Drupal.contextual.AuralView = Backbone.View.extend(/** @lends Drupal.contextual.AuralView# */{
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
(function (Drupal, Backbone) {
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
Drupal.contextual.KeyboardView = Backbone.View.extend(/** @lends Drupal.contextual.KeyboardView# */{
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
(function (Drupal, Backbone, Modernizr) {
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
Drupal.contextual.RegionView = Backbone.View.extend(/** @lends Drupal.contextual.RegionView# */{
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
|||
}
|
||||
};
|
||||
// We don't want mouse hover events on touch.
|
||||
if (Modernizr.touch) {
|
||||
if (Modernizr.touchevents) {
|
||||
mapping = {};
|
||||
}
|
||||
return mapping;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
(function (Drupal, Backbone, Modernizr) {
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
Drupal.contextual.VisualView = Backbone.View.extend(/** @lends Drupal.contextual.VisualView# */{
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
|||
'touchend .contextual-links a': touchEndToClick
|
||||
};
|
||||
// We only want mouse hover events on non-touch.
|
||||
if (!Modernizr.touch) {
|
||||
if (!Modernizr.touchevents) {
|
||||
mapping.mouseenter = function () { this.model.focus(); };
|
||||
}
|
||||
return mapping;
|
||||
|
|
|
@ -12,7 +12,6 @@ use Symfony\Component\DependencyInjection\ContainerAwareTrait;
|
|||
use Symfony\Component\HttpFoundation\JsonResponse;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
|
||||
use Drupal\Core\Entity\EntityInterface;
|
||||
|
||||
/**
|
||||
* Returns responses for Contextual module routes.
|
||||
|
|
Reference in a new issue