Skip to content

Commit

Permalink
refactor(core): remove unnecessary switch case (vuejs#5971)
Browse files Browse the repository at this point in the history
  • Loading branch information
javoski authored and yyx990803 committed Jun 30, 2017
1 parent de42186 commit 16700c9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/observer/array.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ export const arrayMethods = Object.create(arrayProto)
let inserted
switch (method) {
case 'push':
inserted = args
break
case 'unshift':
inserted = args
break
Expand Down

0 comments on commit 16700c9

Please sign in to comment.