It's important to return values in JS. heh.

This commit is contained in:
Joe Cheng
2014-03-13 10:13:03 -07:00
parent 80cb02d206
commit 4141f78717

View File

@@ -16,7 +16,7 @@
// Escape jQuery selector metacharacters: !"#$%&'()*+,./:;<=>?@[\]^`{|}~
var $escape = exports.$escape = function(val) {
val.replace(/([!"#$%&'()*+,.\/:;<=>?@\[\\\]^`{|}~])/g, '\\$1')
return val.replace(/([!"#$%&'()*+,.\/:;<=>?@\[\\\]^`{|}~])/g, '\\$1');
};
function randomId() {