inch-ci / inch_ci-web

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

Wrong parsing #142

Open damiencarol opened 8 years ago

damiencarol commented 8 years ago

I see this in github:

 /**
    Use `trigger` to fire custom events. For example:
    ```javascript
    object.on('foo', function(){
      console.log('foo event happened!');
    });
    object.trigger('foo');
    // 'foo event happened!' logged to the console
You can also pass a value as a second argument to `trigger` that will be
passed as an argument to all event listeners for the event:
```javascript
object.on('foo', function(value){
  console.log(value.name);
});
object.trigger('foo', { name: 'bar' });
// 'bar' logged to the console
```
@method trigger
@for RSVP.EventTarget
@private
@param {String} eventName name of the event to be triggered
@param {*} options optional value to be passed to any event handlers for
the given `eventName`

*/



inch see nothing:
![image](https://cloud.githubusercontent.com/assets/1694940/17853939/d13d252a-686f-11e6-99e0-fbf6d7a3eb3f.png)

---

Re: [A] [module.exports.mixin](http://inch-ci.org/github/tildeio/rsvp.js/revision/8ede59f8/code_object/2031160?branch=master) in [tildeio/rsvp.js](http://inch-ci.org/github/tildeio/rsvp.js)
rrrene commented 8 years ago

Definitely a bug. Thx for reporting! :+1:

damiencarol commented 8 years ago

@rrrene glad to help ^^, the automatic GitHub issue filling is a good help.