fix string manipulation off-by-one

pull/1/head
ansuz 9 years ago
parent 4f3fcb08a4
commit f98fda7604

@ -84,7 +84,7 @@ define([], function () {
/* TODO this can be done with RegExps alone, and it will be faster
but this works and is a little less error prone, albeit slower
come back and speed it up when it comes time to optimize */
sel = sel +'.'+ attributes.class
sel = sel + attributes.class
.split(/\s+/)
.split(isTruthy)
.map(prependDot)

Loading…
Cancel
Save