(value, selector)
| 4162 | } |
| 4163 | |
| 4164 | function validateKeyword(value, selector) { |
| 4165 | if (typeof this.selector(selector).type === 'object') { |
| 4166 | return this.selector(selector).type |
| 4167 | .indexOf(value.value[0].value) !== -1; |
| 4168 | } else { |
| 4169 | // allow unquoted keywords as strings |
| 4170 | return this.selector(selector).type === 'string'; |
| 4171 | } |
| 4172 | } |
| 4173 | |
| 4174 | var i; |
| 4175 | if (!this.selector(selector)) { |