Changes between Initial Version and Version 1 of Ticket #10550


Ignore:
Timestamp:
Dec 22, 2009, 9:39:12 AM (12 years ago)
Author:
bill
Comment:

If you are extending _Widget than you need to follow the pattern for the constructor of

constructor(args, domNode)

For example:

new MyClass({name: "hello world},  myDomNode);

Presumably that's the cause of your error.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10550

    • Property Status changed from new to closed
    • Property Component changed from General to Dijit
    • Property Resolution changed from to invalid
  • Ticket #10550 – Description

    initial v1  
    1 I have a dojo class 'MyClass' below :
     1I have a dojo class '!MyClass' below :
    22
    33{{{
     
    1717}}}
    1818
    19 I created an object DomDocument by 'document.implementation.createDocument' then  I pass it as a  parameter to the constructor of MyClass, then it gives me the console.log(this.gabarit) of it is a domDocument then it gives me this error :
     19I created an object !DomDocument by 'document.implementation.createDocument' then  I pass it as a  parameter to the constructor of MyClass, then it gives me the console.log(this.gabarit) of it is a domDocument then it gives me this error :
    2020
    2121{{{