|
|
@@ -658,12 +658,8 @@ function compileDirectives (attrs, options) {
|
|
|
// attribute interpolations
|
|
|
if (tokens) {
|
|
|
value = tokensToExp(tokens)
|
|
|
- if (name === 'class') {
|
|
|
- pushDir('class', internalDirectives['class'], true)
|
|
|
- } else {
|
|
|
- arg = name
|
|
|
- pushDir('bind', publicDirectives.bind, true)
|
|
|
- }
|
|
|
+ arg = name
|
|
|
+ pushDir('bind', publicDirectives.bind, true)
|
|
|
// warn against mixing mustaches with v-bind
|
|
|
if (process.env.NODE_ENV !== 'production') {
|
|
|
if (name === 'class' && Array.prototype.some.call(attrs, function (attr) {
|