Skip to content

GitHub 似乎不再把 jQuery 暴露到全局了,用户脚本取不到 jQuery #14

@cssmagic

Description

@cssmagic

GitHub 似乎采用模块机制来引用 jQuery 了,jQuery 不再暴露到全局,因此整个框架需要自己加载 jQuery(或 Zepto)。

这样的话,同时用户脚本似乎也不需要 unsafeWindow 的任何变量了,因此需要调整 @grant 设置。

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