fix string manipulation off-by-one

This commit is contained in:
ansuz 2016-03-22 19:28:50 +01:00
parent 0c6222b5f9
commit b2753ef7b7
1 changed files with 1 additions and 1 deletions

View File

@ -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)