smart_tag 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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) {
|