Skip to content

Commit 5016e0b

Browse files
author
Evan You
committed
fix style jshint
1 parent f3a1698 commit 5016e0b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/directives/style.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ module.exports = {
1717
},
1818

1919
update: function (value) {
20-
var prop = this.prop
20+
var prop = this.prop,
21+
isImportant
2122
if (prop) {
2223
if (value){
23-
var isImportant = value.slice(-10) === '!important'
24+
isImportant = value.slice(-10) === '!important'
2425
? 'important'
2526
: ''
2627
if (isImportant) {

0 commit comments

Comments
 (0)