projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
092d90f
)
Sample/Window.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 26 May 2010 07:11:04 +0000
(15:11 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 26 May 2010 07:11:04 +0000
(15:11 +0800)
Sample/Window.js
patch
|
blob
|
history
diff --git
a/Sample/Window.js
b/Sample/Window.js
index
c67df5d
..
1169221
100644
(file)
--- a/
Sample/Window.js
+++ b/
Sample/Window.js
@@
-3438,7
+3438,7
@@
Window=new XObject({
pack : "add",
id : "Terminal",
feed : function(istr) {
- var str = istr.replace(
"\n"
, "\r\n") + "\r\n";
+ var str = istr.replace(
/\n/g
, "\r\n") + "\r\n";
// we should make ourselves visable!!!
this.get('/BottomPane').el.show();
this.get('/BottomPane').el.set_current_page(1);