smart_tag 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
data/lib/smart_tag/version.rb
CHANGED
@@ -17,7 +17,7 @@
|
|
17
17
|
|
18
18
|
that.clearText = function(text) {
|
19
19
|
// \s 匹配任何空白字符,包括空格、制表符、换页符等等。等价于[ \f\n\r\t\v]。
|
20
|
-
return text.replace(/^\s+|\s+$/g, ""); //
|
20
|
+
return text.replace(/^\s+|\s+$/g, ""); // 去掉开头和结尾的任何空白字符
|
21
21
|
};
|
22
22
|
|
23
23
|
that.getOptions = function(selector) {
|