[ng-dhtml] comparing dojo.uri.Uri objects and dojo.xml.htmlUtil.insertCssFile bug (?)

Scott J. Miles sjmiles at turbophp.com
Fri Sep 2 15:42:55 CDT 2005


In dojo.xml.htmlUtil.insertCssFile two dojo.uri.Uri objects are compared
with '==' which I believe is incorrect. That operator compares the object
reference addresses, yes?

What is the preferred way to compare dojo.uri.Uri objects? 

UriA.toString() == UriB.toString()?

Regards,
Scott

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.18/89 - Release Date: 9/2/2005
 




More information about the NG-DHTML mailing list