fix js error

This commit is contained in:
Devin Howard 2016-03-27 15:32:18 +08:00
parent dae3106b34
commit 8a6e702c12

View file

@ -70,7 +70,7 @@ Metamaps.Import = {
},
simplify: function(string) {
return string;
return string
.replace(/(^\s*|\s*$)/g, '')
.toLowerCase();
},