Opened 13 years ago
Closed 9 years ago
#5548 closed enhancement (duplicate)
Make dojo._Url a public constructor
Reported by: | guest | Owned by: | wolfram |
---|---|---|---|
Priority: | high | Milestone: | future |
Component: | General | Version: | 1.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by )
Given the how central URLs are to the web, it seems like dojo._Url should not be a private constructor.
As I understand it, the _ designates a variable that should be used outside its module infrequently and only with caution. In contrast, dojo._Url is used at least once in each of:
dijit/_editor/RichText.js dojo/_base/_loader/hostenv_browser.js dojo/_base/_loader/loader.js dojo/parser.js dojo/rpc/RpcService.js dojox/dtl/html.js dojox/layout/ContentPane.js dojox/layout/tests/ContentPane.html dojox/off/files.js
From my experience developing a large webapp, dojo._Url is useful in a wide variety of problems.
Transitionally, keeping around _Url with a "deprecated" call makes sense to me.
Change History (6)
comment:1 Changed 13 years ago by
Milestone: | → 1.2 |
---|
comment:2 Changed 13 years ago by
Description: | modified (diff) |
---|
comment:3 Changed 13 years ago by
Owner: | changed from anonymous to wolfram |
---|
comment:4 Changed 13 years ago by
Type: | defect → enhancement |
---|
comment:5 Changed 13 years ago by
Milestone: | 1.2 → future |
---|
comment:6 Changed 9 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicate of #6175.
see http://bugs.dojotoolkit.org/ticket/6175#comment:15
I added a public version dojo.Uri and extended it a bit, see #6175