-
-
Save arlolra/ebb49c7aa69aa824a4be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/ext.core.AttributeExpander.js b/lib/ext.core.AttributeExpander.js | |
index 2bd3a5d..a0a3ac9 100644 | |
--- a/lib/ext.core.AttributeExpander.js | |
+++ b/lib/ext.core.AttributeExpander.js | |
@@ -304,7 +304,12 @@ AttributeExpander.prototype._returnAttributes = function( token, cb, expandedAtt | |
if (expandedA.v === '') { | |
var kArray = Util.tokensToString(expandedK, true), | |
kStr = (kArray.constructor === String) ? kArray : kArray[0], | |
- kvs = /=/.test(kStr) ? this.tokenizer.tokenize(kStr, 'generic_attributes') : null; | |
+ kvs = null; | |
+ | |
+ if ( /=/.test(kStr) ) { | |
+ console.log(kStr) | |
+ kvs = this.tokenizer.tokenize(kStr, 'generic_attributes'); | |
+ } | |
if (kvs) { | |
// SSS FIXME: Collect all keys here, not just the first key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment