From 83ea0da4b0d39ea97dab8059a7442610f116e4b5 Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 9 Mar 2018 16:29:00 -0500 Subject: [PATCH] chore: coverage --- src/platforms/web/runtime/node-ops.js | 4 ---- src/shared/util.js | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/platforms/web/runtime/node-ops.js b/src/platforms/web/runtime/node-ops.js index 183524ff..3a2978a7 100644 --- a/src/platforms/web/runtime/node-ops.js +++ b/src/platforms/web/runtime/node-ops.js @@ -54,10 +54,6 @@ export function setTextContent (node: Node, text: string) { node.textContent = text } -export function setAttribute (node: Element, key: string, val: string) { - node.setAttribute(key, val) -} - export function setStyleScope (node: Element, scopeId: string) { node.setAttribute(scopeId, '') } diff --git a/src/shared/util.js b/src/shared/util.js index 3a7664b7..e4884734 100644 --- a/src/shared/util.js +++ b/src/shared/util.js @@ -180,6 +180,8 @@ export const hyphenate = cached((str: string): string => { * code that was able to run in PhantomJS 1.x, so this must be kept for * backwards compatibility. */ + +/* istanbul ignore next */ function polyfillBind (fn: Function, ctx: Object): Function { function boundFn (a) { const l = arguments.length