@ -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, '')
@ -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