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
|
@ -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;
|
||||
|
|
Reference in a new issue