[Dojo-checkins] [dojo] #10286: contentsetter missing throw

dojo trac at dojotoolkit.org
Sat Nov 7 04:55:34 EST 2009


#10286: contentsetter missing throw
--------------------+-------------------------------------------------------
 Reporter:  bill    |       Owner:  sfoster
     Type:  defect  |      Status:  new    
 Priority:  normal  |   Milestone:  tbd    
Component:  HTML    |     Version:  1.4.0b 
 Severity:  normal  |    Keywords:  cc     
--------------------+-------------------------------------------------------
 Shouldn't there be a throw on the Error?

 {{{
 dojo.declare("dojo.html._ContentSetter", null, {
 ...
         if (!(this.node || node)) {
                 new Error(this.declaredClass + ": no node provided to " +
 this.id);
         }
 }}}

-- 
Ticket URL: <http://bugs.dojotoolkit.org/ticket/10286>
dojo <http://dojotoolkit.org/>
The Dojo UI Toolkit


More information about the Dojo-checkins mailing list