From 4d6da865fc9711620a692dbb607a64a4007ecfd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Saladin?= Date: Tue, 30 Jun 2020 17:25:02 +0200 Subject: [PATCH] forgot a file in previous commit --- .../ktbs4la2-trace-timeline/ktbs4la2-trace-timeline.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ktbs4la2-components/ktbs4la2-trace-timeline/ktbs4la2-trace-timeline.js b/ktbs4la2-components/ktbs4la2-trace-timeline/ktbs4la2-trace-timeline.js index d54e2cf..ddd2c56 100644 --- a/ktbs4la2-components/ktbs4la2-trace-timeline/ktbs4la2-trace-timeline.js +++ b/ktbs4la2-components/ktbs4la2-trace-timeline/ktbs4la2-trace-timeline.js @@ -1,6 +1,6 @@ import {TemplatedHTMLElement} from "../common/TemplatedHTMLElement.js"; -import {ResourceProxy} from "../../ktbs-api/ResourceProxy.js"; +import {ResourceMultiton} from "../../ktbs-api/ResourceMultiton.js"; import {Trace} from "../../ktbs-api/Trace.js"; import {Model} from "../../ktbs-api/Model.js"; import {TraceStats} from "../../ktbs-api/TraceStats.js"; @@ -212,7 +212,7 @@ class KTBS4LA2TraceTimeline extends TemplatedHTMLElement { super.attributeChangedCallback(attributeName, oldValue, newValue); if(attributeName == "uri") { - this._trace = ResourceProxy.get_resource(Trace, newValue); + this._trace = ResourceMultiton.get_resource(Trace, newValue); this._trace.get(this._abortController.signal) .then(() => { @@ -230,7 +230,7 @@ class KTBS4LA2TraceTimeline extends TemplatedHTMLElement { // load stats, in order to get trace begin and trace end dates let statsUri = newValue + "@stats"; - this._stats = ResourceProxy.get_resource(TraceStats, statsUri); + this._stats = ResourceMultiton.get_resource(TraceStats, statsUri); this._stats.get(this._abortController.signal) .then(() => { @@ -314,7 +314,7 @@ class KTBS4LA2TraceTimeline extends TemplatedHTMLElement { */ _initObselsLoading() { let obselsUri = this._traceUri + "@obsels"; - this._obselList = ResourceProxy.get_resource(ObselList, obselsUri); + this._obselList = ResourceMultiton.get_resource(ObselList, obselsUri); this._allObselsLoaded = new Promise(function(resolve, reject) { this._resolveAllObselsLoaded = resolve;