Updated: ember.js v3.25.0 -> v3.25.1 (#268)
This commit is contained in:
parent
e70102a653
commit
7fa106adb9
|
@ -206,7 +206,7 @@ targets.setLastVersion = function (type, version) {
|
|||
} else if (type.startsWith('/ember.js/2.')) {
|
||||
return '2.18.2';
|
||||
} else if (type.startsWith('/ember.js/3.')) {
|
||||
return '3.25.0';
|
||||
return '3.25.1';
|
||||
} else if (type.startsWith('/ethjs')) {
|
||||
return '0.3.4';
|
||||
} else if (type.startsWith('/ext-core/3.')) {
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<li>Updated: highlight.js v10.5.0 -> v10.6.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/265">#265</a>)</li>
|
||||
<li>Updated: algoliasearch v4.8.4 -> v4.8.5 (<a href="https://codeberg.org/nobody/LocalCDN/issues/266">#266</a>)</li>
|
||||
<li>Updated: Google Material Icons v76 -> v77 (<a href="https://codeberg.org/nobody/LocalCDN/issues/267">#267</a>)</li>
|
||||
<li>Updated: ember.js v3.24.1 -> v3.25.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/268">#268</a>)</li>
|
||||
<li>Updated: ember.js v3.24.1 -> v3.25.1 (<a href="https://codeberg.org/nobody/LocalCDN/issues/268">#268</a>)</li>
|
||||
<li>Updated: instantsearch.js v4.13.2 -> v4.14.1 (<a href="https://codeberg.org/nobody/LocalCDN/issues/270">#270</a>)</li>
|
||||
<li>Added CDN: fonts.gstatic.com (<a href="https://codeberg.org/nobody/LocalCDN/issues/269">#269</a>)</li>
|
||||
<li>Updated: popper.js v2.6.0 -> v2.7.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/270">#273</a>)</li>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
|
||||
* @license Licensed under MIT license
|
||||
* See https://raw.github.com/emberjs/ember.js/master/LICENSE
|
||||
* @version 3.25.0
|
||||
* @version 3.25.1
|
||||
*/
|
||||
/*globals process */
|
||||
var define, require, Ember; // Used in @ember/-internals/environment/lib/global.js
|
||||
|
@ -16152,7 +16152,7 @@ define("@ember/-internals/routing/lib/services/router", ["exports", "@ember/-int
|
|||
currentRoute: (0, _computed.readOnly)('_router.currentRoute')
|
||||
});
|
||||
});
|
||||
define("@ember/-internals/routing/lib/services/routing", ["exports", "@ember/object/computed", "@ember/polyfills", "@ember/service"], function (_exports, _computed, _polyfills, _service) {
|
||||
define("@ember/-internals/routing/lib/services/routing", ["exports", "@ember/-internals/owner", "@ember/-internals/utils", "@ember/object/computed", "@ember/polyfills", "@ember/service"], function (_exports, _owner, _utils, _computed, _polyfills, _service) {
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(_exports, "__esModule", {
|
||||
|
@ -16163,7 +16163,7 @@ define("@ember/-internals/routing/lib/services/routing", ["exports", "@ember/obj
|
|||
/**
|
||||
@module ember
|
||||
*/
|
||||
|
||||
var ROUTER = (0, _utils.symbol)('ROUTER');
|
||||
/**
|
||||
The Routing service is used by LinkComponent, and provides facilities for
|
||||
the component/view layer to interact with the router.
|
||||
|
@ -16174,7 +16174,21 @@ define("@ember/-internals/routing/lib/services/routing", ["exports", "@ember/obj
|
|||
@private
|
||||
@class RoutingService
|
||||
*/
|
||||
|
||||
class RoutingService extends _service.default {
|
||||
get router() {
|
||||
var router = this[ROUTER];
|
||||
|
||||
if (router !== undefined) {
|
||||
return router;
|
||||
}
|
||||
|
||||
var owner = (0, _owner.getOwner)(this);
|
||||
router = owner.lookup('router:main');
|
||||
router.setupRouter();
|
||||
return this[ROUTER] = router;
|
||||
}
|
||||
|
||||
hasRoute(routeName) {
|
||||
return this.router.hasRoute(routeName);
|
||||
}
|
||||
|
@ -16194,9 +16208,10 @@ define("@ember/-internals/routing/lib/services/routing", ["exports", "@ember/obj
|
|||
}
|
||||
|
||||
generateURL(routeName, models, queryParams) {
|
||||
var router = this.router; // return early when the router microlib is not present, which is the case for {{link-to}} in integration tests
|
||||
var router = this.router; // Return early when transition has not started, when rendering in tests without visit(),
|
||||
// we cannot infer the route context which <LinkTo/> needs be aware of
|
||||
|
||||
if (!router._routerMicrolib) {
|
||||
if (!router._initialTransitionStarted) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -19282,6 +19297,7 @@ define("@ember/-internals/routing/lib/system/router", ["exports", "@ember/-inter
|
|||
constructor() {
|
||||
super(...arguments);
|
||||
this._didSetupRouter = false;
|
||||
this._initialTransitionStarted = false;
|
||||
this.currentURL = null;
|
||||
this.currentRouteName = null;
|
||||
this.currentPath = null;
|
||||
|
@ -19657,6 +19673,8 @@ define("@ember/-internals/routing/lib/system/router", ["exports", "@ember/-inter
|
|||
}
|
||||
|
||||
_doURLTransition(routerJsMethod, url) {
|
||||
this._initialTransitionStarted = true;
|
||||
|
||||
var transition = this._routerMicrolib[routerJsMethod](url || '/');
|
||||
|
||||
didBeginTransition(transition, this);
|
||||
|
@ -19774,6 +19792,7 @@ define("@ember/-internals/routing/lib/system/router", ["exports", "@ember/-inter
|
|||
|
||||
reset() {
|
||||
this._didSetupRouter = false;
|
||||
this._initialTransitionStarted = false;
|
||||
|
||||
if (this._routerMicrolib) {
|
||||
this._routerMicrolib.reset();
|
||||
|
@ -19983,6 +20002,7 @@ define("@ember/-internals/routing/lib/system/router", ["exports", "@ember/-inter
|
|||
var targetRouteName = _targetRouteName || (0, _utils.getActiveTargetName)(this._routerMicrolib);
|
||||
|
||||
(true && !(Boolean(targetRouteName) && this._routerMicrolib.hasRoute(targetRouteName)) && (0, _debug.assert)(`The route ${targetRouteName} was not found`, Boolean(targetRouteName) && this._routerMicrolib.hasRoute(targetRouteName)));
|
||||
this._initialTransitionStarted = true;
|
||||
var queryParams = {};
|
||||
|
||||
this._processActiveTransitionQueryParams(targetRouteName, models, queryParams, _queryParams);
|
||||
|
@ -34403,9 +34423,7 @@ define("@ember/engine/index", ["exports", "@ember/engine/lib/engine-parent", "@e
|
|||
registry.injection('route', '_bucketCache', (0, _container.privatize)`-bucket-cache:main`);
|
||||
registry.injection('route', '_router', 'router:main'); // Register the routing service...
|
||||
|
||||
registry.register('service:-routing', _routing.RoutingService); // Then inject the app router into it
|
||||
|
||||
registry.injection('service:-routing', 'router', 'router:main'); // DEBUGGING
|
||||
registry.register('service:-routing', _routing.RoutingService); // DEBUGGING
|
||||
|
||||
registry.register('resolver-for-debugging:main', registry.resolver, {
|
||||
instantiate: false
|
||||
|
@ -59559,7 +59577,7 @@ define("ember/version", ["exports"], function (_exports) {
|
|||
value: true
|
||||
});
|
||||
_exports.default = void 0;
|
||||
var _default = "3.25.0";
|
||||
var _default = "3.25.1";
|
||||
_exports.default = _default;
|
||||
});
|
||||
define("node-module/index", ["exports"], function (_exports) {
|
Loading…
Reference in New Issue