Adding initial dojo demo1 to show issues with dojo/text.
This commit is contained in:
commit
08c046f6c6
7 changed files with 843 additions and 0 deletions
3
2021/12/dojo_demo1/app/widgets/MainWidget.html
Normal file
3
2021/12/dojo_demo1/app/widgets/MainWidget.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<div>
|
||||
Hello World!!!
|
||||
</div>
|
10
2021/12/dojo_demo1/app/widgets/MainWidget.js
Normal file
10
2021/12/dojo_demo1/app/widgets/MainWidget.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
define([
|
||||
"dijit/_TemplatedMixin",
|
||||
"dijit/_WidgetBase",
|
||||
"dojo/_base/declare",
|
||||
"dojo/text!./MainWidget.html"
|
||||
], function(_TemplatedMixin, _WidgetBase, declare, template) {
|
||||
return declare("app/widgets/MainWidget", [_WidgetBase, _TemplatedMixin], {
|
||||
templateString: template
|
||||
});
|
||||
});
|
3
2021/12/dojo_demo1/app/widgets/questions.txt
Normal file
3
2021/12/dojo_demo1/app/widgets/questions.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
https://github.com/dojo/dojo/blame/master/dojo.js#L1069
|
||||
|
||||
why we use baseUrl of dojo itself (not from dojo config) instead of using mapping from dojo config like in packages and finally baseUrl (from dojo config) if not found???
|
Loading…
Add table
Add a link
Reference in a new issue