Skip to content

Commit

Permalink
esdoc config changed
Browse files Browse the repository at this point in the history
  • Loading branch information
helloyou2012 committed Aug 3, 2017
2 parents 52dc0e5 + 8743545 commit edfe89f
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 17 deletions.
34 changes: 21 additions & 13 deletions .esdoc.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
{
"source": "./src",
"destination": "./esdoc",
"undocumentIdentifier": false,
"includeSource": false,
"styles": ["./docs/style.css"],
"experimentalProposal": {
"classProperties": true,
"objectRestSpread": true,
"decorators": true,
"doExpressions": true,
"functionBind": true,
"asyncGenerators": true,
"exportExtensions": true,
"dynamicImport": true
}
"plugins": [{
"name": "esdoc-standard-plugin",
"option": {
"undocumentIdentifier": {
"enable": false
},
"includeSource": {
"enable": false
}
}
}, {
"name": "esdoc-ecmascript-proposal-plugin",
"option": {
"all": true
}
}, {
"name": "esdoc-inject-style-plugin",
"option": {
"styles": ["./docs/style.css"]
}
}]
}
2 changes: 1 addition & 1 deletion dist/xlsx.js
Original file line number Diff line number Diff line change
Expand Up @@ -2556,7 +2556,7 @@ var index$3 = function kindOf(val) {

// functions
if (type === 'function' || val instanceof Function) {
if (val.constructor.name.slice(0, 9) === 'Generator') {
if (typeof val.constructor.name !== 'undefined' && val.constructor.name.slice(0, 9) === 'Generator') {
return 'generatorfunction';
}
return 'function';
Expand Down
2 changes: 1 addition & 1 deletion dist/xlsx.min.js

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test": "NODE_ENV=test nyc mocha --no-timeouts",
"report": "nyc report --reporter=html",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"doc": "esdoc",
"doc": "rimraf esdoc && esdoc",
"pages": "npm run doc && gh-pages -d esdoc"
},
"nyc": {
Expand Down Expand Up @@ -44,7 +44,10 @@
"babel-runtime": "^6.20.0",
"chai": "^4.0.0",
"coveralls": "^2.11.14",
"esdoc": "^0.5.2",
"esdoc": "^1.0.1",
"esdoc-ecmascript-proposal-plugin": "^1.0.0",
"esdoc-inject-style-plugin": "^1.0.0",
"esdoc-standard-plugin": "^1.0.0",
"eslint": "^4.1.0",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-import": "^2.3.0",
Expand Down

0 comments on commit edfe89f

Please sign in to comment.