Skip to content
This repository was archived by the owner on Jun 26, 2023. It is now read-only.

Commit e7f577c

Browse files
committed
Readme example typo and more docs
1 parent a1c7f6d commit e7f577c

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,25 @@ Ext.define('MyView', {
9292
config: {/* ... */}
9393

9494
initialize: function() {
95-
this.setHtml(AppTest.app.bundle.getMsg('my.html') + ' - this is mixed content')
95+
this.setHtml(AppTest.app.bundle.getMsg('my.html') + ' - this is mixed content');
9696
}
9797
});
9898

9999
````
100100
101+
It is important to notice as well that bundle lazy initialization objects cannot be mixed with text:
101102
103+
**NOT VALID:**
104+
105+
````
106+
Ext.define('MyView', {
107+
extends: 'Ext.Panel',
108+
109+
config: {
110+
html: {type: 'bundle', key: 'my.html'} + ' - this is mixed content' // wrong!!!
111+
}
112+
});
113+
````
102114
103115
##Release Notes
104116

0 commit comments

Comments
 (0)