Skip to content

Commit

Permalink
fix(core): 删除全局变量 OCS
Browse files Browse the repository at this point in the history
  • Loading branch information
enncy committed May 30, 2022
1 parent a6a2941 commit c74195d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions userjs.template
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ const OCS_STYLE = `{{style}}`;

(function () {
"use strict";

// 将OCS对象加入到全局属性
unsafeWindow.OCS = OCS;

// 运行脚本
OCS.start({
// 加载样式
Expand Down

0 comments on commit c74195d

Please sign in to comment.