I tried to create my own widget for my site. when I load the page, it says: mixin # 0 is not a constructor being called. clsInfo.cls.prototype - undefined I can not find any information about clsInfo, so I do not know what it is. maybe the problem i am using dojo from google:
and my own script is located on localhost. so when my dojo on the page initializes something will go wrong with my script. I can not find good information about dojo, maybe I was looking in the wrong places? please help me solve my problem.
, dijit.Dialog, . , , , , , "[ Object]". .
dojo.declare 3 :
, dijit.Dialog, :
dojo.declare("myDialogType", [dijit.Dialog], { function1() {/*Code*/}, function2() {/*Code*/} }
[dijit.Dialog]] , .
- Firebug Dojo, CDN, , . Dojo , , , , . ; , , .
, Dojo ? dojo.addOnLoad()? CDN . dojo.addOnLoad() , DOM , , Dojo , dijit._Widget.
, , _WidgetBase , _WidgetBase . , , .
_WidgetBase
Source: https://habr.com/ru/post/1781272/More articles:Fix Invalid Child in WCF RIA with SOAP Endpoint - visual-studio-2010C ++ conversion operators no candidate better - c ++Reading Python through descriptive naming - pythonWebSphere class exceptions wsadmin ClassNotFound - reflectionHow to pass a deleter to a method in the same class as shared_ptr - c ++WYSIHAT and rails 3 - ruby-on-railsevaluating else if after condition if - c #Make an entire div with a mouse click to start the _blank document - javascriptSQL Update query invokes two rows in a trigger - sqlUsing jQuery to change the value of one drop-down list from another - jqueryAll Articles