Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@chrisyip
Copy link
Contributor

基本上是根据 JSHint 修正一些错误,避免 hoisted variables,同时针对 V8 optimised function 特性调整函数参数的使用方式。

{
  "curly": true,
  "eqeqeq": false,
  "eqnull": true,
  "esnext": true,
  "forin": true,
  "indent": 2,
  "latedef": "nofunc",
  "newcap": true,
  "noarg": true,
  "noempty": true,
  "nonbsp": true,
  "quotmark": "single",
  "undef": true,
  "unused": true,
  "trailing": true,

  "asi": true,
  "eqnull": true,
  "expr": true,
  "laxcomma": true,

  "browser": true,
  "devel": true,
  "jquery": true,
  "node": true,
  "nonstandard": true
}

sofish added a commit that referenced this pull request Sep 17, 2014
@sofish sofish merged commit 6c46221 into sofish:master Sep 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants