Skip to content

vue-router 2.1.2 has broken in IE 9 #1104

Closed
@ttionya

Description

@ttionya

Vue.js / vue-router versions

2.1.10 / 2.1.2

Steps to reproduce

In IE 9 (IE 11 with document mode 9), there are two error in console. One is vue, another is vue-router.

About vue-router, console show Object doesn't support this property or method (now).

对象不支持“now”属性或方法

What is actually happening?

I have checkout the vue-router source code, and find the problem.

1961d35#diff-6f3e0f40e05988a09d760ec1a86f3420

On line 17, inBrowser is true, but window.performance does not have now method in IE 9.

It is a mistake.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions