Skip to content

Commit 58ce9f4

Browse files
author
p01
committed
ResourcePrototype now extends the URI class
1 parent 68eb3df commit 58ce9f4

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/resource-manager/resource_service.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ cls.ResourcePrototype = function()
370370
{
371371
if (eventname == "urlload")
372372
{
373-
this.url = eventdata.url; // new URI( eventdata.url );
373+
this.url = eventdata.url;
374374
this.urltype = eventdata.urlType;
375375
// fixme: complete list
376376
this.urltypeName = {0: "Unknown", 1: "HTTP", 2: "HTTPS", 3: "File", 4: "Data" }[eventdata.urlType];
@@ -455,14 +455,10 @@ cls.ResourcePrototype = function()
455455
}
456456
else
457457
{
458-
this.human_url = this.url; //.url;
458+
this.human_url = this.url;
459459
}
460460
}
461461
}
462462

463463
window.cls.ResourcePrototype.prototype = new URIPrototype("url");
464464
window.cls.Resource.prototype = new window.cls.ResourcePrototype();
465-
/*
466-
ResourcePrototype.prototype = new URIPrototype("url");
467-
cls.Resource.prototype = new ResourcePrototype();
468-
*/

0 commit comments

Comments
 (0)