chinakids / atom-simplified-chinese-menu

Atom 的简体中文汉化扩展,目前最全的汉化包。包含菜单汉化、右键菜单汉化以及设置汉化
MIT License
1.33k stars 141 forks source link

Uncaught TypeError: Cannot read property 'setAttribute' of null #16

Closed andrewjywang closed 7 years ago

andrewjywang commented 8 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.4.0 System: Mac OS X 10.11.2 Thrown From: simplified-chinese-menu package, v3.4.5

Stack Trace

Uncaught TypeError: Cannot read property 'setAttribute' of null

At /Users/wangjunyan/.atom/packages/simplified-chinese-menu/lib/main.coffee:31

TypeError: Cannot read property 'setAttribute' of null
    at ChineseSetting.delay (/Users/wangjunyan/.atom/packages/simplified-chinese-menu/lib/main.coffee:31:18)
    at /Users/wangjunyan/.atom/packages/simplified-chinese-menu/lib/main.coffee:1:1

Commands

Config

{
  "core": {
    "disabledPackages": [
      "file-icons"
    ],
    "themes": [
      "seti-ui",
      "monokai-flat"
    ]
  }
}

Installed Packages

# User
atom-html-preview, v0.1.13
atom-minify, v0.7.1
color-picker, v2.1.0
emmet, v2.4.1
jshint, v1.8.3
linter, v1.11.3
linter-csslint, v1.2.0
minimap, v4.19.0
monokai-flat, v1.0.1
pretty-json, v0.4.1
run-in-browser, v0.1.3
seti-ui, v0.8.1
simplified-chinese-menu, v3.4.5

# Dev
No dev packages
chinakids commented 8 years ago

请更新3.4.6版本,已经修复此问题