projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddb0bc8
)
Pman.GoogleTranslate.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 17 Nov 2010 04:14:09 +0000
(12:14 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 17 Nov 2010 04:14:09 +0000
(12:14 +0800)
Pman.GoogleTranslate.js
patch
|
blob
|
history
diff --git
a/Pman.GoogleTranslate.js
b/Pman.GoogleTranslate.js
index
6f2f271
..
361413b
100644
(file)
--- a/
Pman.GoogleTranslate.js
+++ b/
Pman.GoogleTranslate.js
@@
-41,7
+41,7
@@
Pman.GoogleTranslate = function(str, src, dest, cb) {
cb(complete);
return;
}
- if (!sbits[cur].length || !sbits[cur].replace(/\s
/+
).length) {
+ if (!sbits[cur].length || !sbits[cur].replace(/\s
+/
).length) {
cur++;
continue;
}