Commit e037aeba authored by catch's avatar catch
Browse files

Issue #3439522 by longwave, adwivedi008, quietone, smustgrave: Update...

Issue #3439522 by longwave, adwivedi008, quietone, smustgrave: Update JavaScript dependencies for Drupal 10.3/11.0

(cherry picked from commit d6674579)
parent 10be6458
Loading
Loading
Loading
Loading
Loading
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+25 −7
Original line number Diff line number Diff line
//     Backbone.js 1.5.0
//     Backbone.js 1.6.0

//     (c) 2010-2022 Jeremy Ashkenas and DocumentCloud
//     (c) 2010-2024 Jeremy Ashkenas and DocumentCloud
//     Backbone may be freely distributed under the MIT license.
//     For all details and documentation:
//     http://backbonejs.org
@@ -44,7 +44,7 @@
  var slice = Array.prototype.slice;

  // Current version of the library. Keep in sync with `package.json`.
  Backbone.VERSION = '1.5.0';
  Backbone.VERSION = '1.6.0';

  // For Backbone's purposes, jQuery, Zepto, Ender, or My Library (kidding) owns
  // the `$` variable.
@@ -1085,7 +1085,7 @@
      var success = options.success;
      options.success = function(m, resp, callbackOpts) {
        if (wait) {
          m.off('error', this._forwardPristineError, this);
          m.off('error', collection._forwardPristineError, collection);
          collection.add(m, callbackOpts);
        }
        if (success) success.call(callbackOpts.context, m, resp, callbackOpts);
@@ -1985,7 +1985,10 @@
        current = this.getHash(this.iframe.contentWindow);
      }

      if (current === this.fragment) return false;
      if (current === this.fragment) {
        if (!this.matchRoot()) return this.notfound();
        return false;
      }
      if (this.iframe) this.navigate(current);
      this.loadUrl();
    },
@@ -1995,14 +1998,22 @@
    // returns `false`.
    loadUrl: function(fragment) {
      // If the root doesn't match, no routes can match either.
      if (!this.matchRoot()) return false;
      if (!this.matchRoot()) return this.notfound();
      fragment = this.fragment = this.getFragment(fragment);
      return _.some(this.handlers, function(handler) {
        if (handler.route.test(fragment)) {
          handler.callback(fragment);
          return true;
        }
      });
      }) || this.notfound();
    },

    // When no route could be matched, this method is called internally to
    // trigger the `'notfound'` event. It returns `false` so that it can be used
    // in tail position.
    notfound: function() {
      this.trigger('notfound');
      return false;
    },

    // Save a fragment into the hash history, or replace the URL state if the
@@ -2133,5 +2144,12 @@
    };
  };

  // Provide useful information when things go wrong. This method is not meant
  // to be used directly; it merely provides the necessary introspection for the
  // external `debugInfo` function.
  Backbone._debug = function() {
    return {root: root, _: _};
  };

  return Backbone;
});
+5 −5
Original line number Diff line number Diff line
/*!
 * jQuery UI Autocomplete 1.13.2
 * http://jqueryui.com
 * jQuery UI Autocomplete 1.13.3
 * https://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 * https://jquery.org/license
 *
 * http://api.jqueryui.com/autocomplete/#theming
 * https://api.jqueryui.com/autocomplete/#theming
 */
.ui-autocomplete {
	position: absolute;
+5 −5
Original line number Diff line number Diff line
/*!
 * jQuery UI Button 1.13.2
 * http://jqueryui.com
 * jQuery UI Button 1.13.3
 * https://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 * https://jquery.org/license
 *
 * http://api.jqueryui.com/button/#theming
 * https://api.jqueryui.com/button/#theming
 */
.ui-button {
	padding: .4em 1em;
Loading