Skip to content

Commit

Permalink
forgot a file in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
hsaladin committed Jun 30, 2020
1 parent b4ba14c commit 4d6da86
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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";
Expand Down Expand Up @@ -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(() => {
Expand All @@ -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(() => {
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 4d6da86

Please sign in to comment.