inch-ci / inch_ci-web

Web frontend for Inch CI
http://inch-ci.org/
MIT License
139 stars 20 forks source link

Named functions next to each other inside an object confuses Inch's naming scheme #70

Open mplewis opened 9 years ago

mplewis commented 9 years ago

In file compile-store.js:

module.exports = Reflux.createStore({
  //  ... snip ...
  onCompileSuccess: function(files) {
    this.trigger({loaded: true, files: files})
  }
})

Inch thinks this is:

  1. part of PostProcess, while it is actually declared in a call on the next line,
  2. chained with all its sibling functions that are inside the same object.

Inch gives it this name instead:

PostProcess#module.exports.init.onRequestCompile.file.data.onLoading.loaded.files.onCompileSuccess

Re: [U] PostProcess#module.exports.init.onRequestCompile.file.data.onLoading.loaded.files.onCompileSuccess in mplewis/json-pojo-frontend

rrrene commented 9 years ago

Puh, that does not look very good :cry:

I will see if I can figure this one out, since parsing is delegated to JSDoc ...