Update to Drupal 8.0.0-beta15. For more information, see: https://www.drupal.org/node/2563023
This commit is contained in:
parent
2720a9ec4b
commit
f3791f1da3
1898 changed files with 54300 additions and 11481 deletions
|
@ -58,6 +58,7 @@
|
|||
* @augments Backbone.Model
|
||||
*
|
||||
* @param {object} attrs
|
||||
* Attributes for the backbone model.
|
||||
* @param {object} options
|
||||
* An object with the following option:
|
||||
* @param {Backbone.collection} options.contextualCollection
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
* @augments Backbone.View
|
||||
*
|
||||
* @param {object} options
|
||||
* Options for the view.
|
||||
*/
|
||||
initialize: function (options) {
|
||||
this.options = options;
|
||||
|
@ -38,6 +39,7 @@
|
|||
* @inheritdoc
|
||||
*
|
||||
* @return {Drupal.contextualToolbar.AuralView}
|
||||
* The current contextual toolbar aural view.
|
||||
*/
|
||||
render: function () {
|
||||
// Render the state.
|
||||
|
@ -80,6 +82,7 @@
|
|||
* Responds to esc and tab key press events.
|
||||
*
|
||||
* @param {jQuery.Event} event
|
||||
* The keypress event.
|
||||
*/
|
||||
onKeypress: function (event) {
|
||||
// The first tab key press is tracked so that an annoucement about tabbing
|
||||
|
|
|
@ -10,7 +10,10 @@
|
|||
Drupal.contextualToolbar.VisualView = Backbone.View.extend(/** @lends Drupal.contextualToolbar.VisualView# */{
|
||||
|
||||
/**
|
||||
* Events for the Backbone view.
|
||||
*
|
||||
* @return {object}
|
||||
* A mapping of events to be used in the view.
|
||||
*/
|
||||
events: function () {
|
||||
// Prevents delay and simulated mouse events.
|
||||
|
@ -20,10 +23,10 @@
|
|||
};
|
||||
|
||||
return {
|
||||
'click': function () {
|
||||
click: function () {
|
||||
this.model.set('isViewing', !this.model.get('isViewing'));
|
||||
},
|
||||
'touchend': touchEndToClick
|
||||
touchend: touchEndToClick
|
||||
};
|
||||
},
|
||||
|
||||
|
@ -45,6 +48,7 @@
|
|||
* @inheritdoc
|
||||
*
|
||||
* @return {Drupal.contextualToolbar.VisualView}
|
||||
* The current contextual toolbar visual view.
|
||||
*/
|
||||
render: function () {
|
||||
// Render the visibility.
|
||||
|
|
Reference in a new issue