Skip to content

在 body 之前引用 cube 报错 #89

Description

@RogerKang

生成清除 cache 的链接处引用了 document.body

document.body.appendChild(a);

  document.body.appendChild(a);

如果 cube 在 body 之前引用会报错:

TypeError: Cannot read property 'appendChild' of undefined

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions