projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00a84e3
)
Pman.SearchTokenizer.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 23 Sep 2011 04:28:57 +0000
(12:28 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 23 Sep 2011 04:28:57 +0000
(12:28 +0800)
Pman.SearchTokenizer.js
patch
|
blob
|
history
diff --git
a/Pman.SearchTokenizer.js
b/Pman.SearchTokenizer.js
index
5882e36
..
76f7615
100644
(file)
--- a/
Pman.SearchTokenizer.js
+++ b/
Pman.SearchTokenizer.js
@@
-15,7
+15,7
@@
Pman.SearchTokenizer = function(s)
{
this.str = s;
- this.strlen =
s.length
;
+ this.strlen =
typeof(s) ? 'string' ? s.length : ''
;
this.i = 0;
this.tokens = [];
//print_r(this);