Skip to content

Commit

Permalink
Refresh WordPress Nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
deployment_bot committed Aug 9, 2024
1 parent df8a09e commit 8fe6869
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 9 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// 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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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();
},
Expand All @@ -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
Expand Down Expand Up @@ -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;
});

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function getWordPressModuleDetails(wpVersion: string = "6.6"): { size: nu
case 'nightly':
/** @ts-ignore */
return {
size: 18397923,
size: 18401233,
url: url_nightly,
};

Expand Down
Binary file not shown.

0 comments on commit 8fe6869

Please sign in to comment.