projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0329dbc
)
Roo/doc/Example.js
author
Alan Knowles
<alan@roojs.com>
Fri, 9 Sep 2016 06:46:10 +0000
(14:46 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 9 Sep 2016 06:46:10 +0000
(14:46 +0800)
Roo/doc/Example.js
patch
|
blob
|
history
diff --git
a/Roo/doc/Example.js
b/Roo/doc/Example.js
index
0a980bc
..
5009aa1
100644
(file)
--- a/
Roo/doc/Example.js
+++ b/
Roo/doc/Example.js
@@
-33,7
+33,7
@@
Roo.extend(Roo.doc.Example, Roo.bootstrap.Component, {
// no colour highlighting in here....
- var code = hljs ? hljs.highlight(this.code, this.lang) : String.format('{0}',this.code).replace(/\n/g, '<br/>');
+ var code = hljs ? hljs.highlight(this.code, this.lang
.toUpperCase()
) : String.format('{0}',this.code).replace(/\n/g, '<br/>');
var cfg ={