Browse Source

chore: coverage

dev
Evan You 7 years ago
parent
commit
83ea0da4b0
  1. 4
      src/platforms/web/runtime/node-ops.js
  2. 2
      src/shared/util.js

4
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, '')
}

2
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

Loading…
Cancel
Save