|
|
@@ -22,8 +22,9 @@ module.exports = {
|
|
|
update: function (handler) {
|
|
|
if (typeof handler !== 'function') {
|
|
|
process.env.NODE_ENV !== 'production' && _.warn(
|
|
|
- 'Directive "v-on:' + this.expression + '" ' +
|
|
|
- 'expects a function value.'
|
|
|
+ 'Directive v-on="' + this.arg + ': ' +
|
|
|
+ this.expression + '" expects a function value, ' +
|
|
|
+ 'got ' + handler
|
|
|
)
|
|
|
return
|
|
|
}
|