{"action":"closed","issue":{"url":"https://api.github.com/repos/onsi/cocktail/issues/57","repository_url":"https://api.github.com/repos/onsi/cocktail","labels_url":"https://api.github.com/repos/onsi/cocktail/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/onsi/cocktail/issues/57/comments","events_url":"https://api.github.com/repos/onsi/cocktail/issues/57/events","html_url":"https://github.com/onsi/cocktail/issues/57","id":132372085,"number":57,"title":"Override a function","user":{"login":"fu-raz","id":5355154,"avatar_url":"https://avatars.githubusercontent.com/u/5355154?v=3","gravatar_id":"","url":"https://api.github.com/users/fu-raz","html_url":"https://github.com/fu-raz","followers_url":"https://api.github.com/users/fu-raz/followers","following_url":"https://api.github.com/users/fu-raz/following{/other_user}","gists_url":"https://api.github.com/users/fu-raz/gists{/gist_id}","starred_url":"https://api.github.com/users/fu-raz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fu-raz/subscriptions","organizations_url":"https://api.github.com/users/fu-raz/orgs","repos_url":"https://api.github.com/users/fu-raz/repos","events_url":"https://api.github.com/users/fu-raz/events{/privacy}","received_events_url":"https://api.github.com/users/fu-raz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-09T09:38:58Z","updated_at":"2016-02-09T09:39:53Z","closed_at":"2016-02-09T09:39:53Z","body":"I use cocktail a lot and I love it. The only problem I have every now and then is with the function collision. 99% of the time I use a combination of Backbone extending and cocktail mixins; using Backbone when I need to override a function and a mixin if I need all the functions to fire.\r\n\r\nThe problem arises when I don't want the return value from the collision chain, but from the first function. I should use Backbone extending for this, but sometimes that's not an option or is a lot of work. Is there a way to check if a function has been fired so I can stop the subsequent function from returning a value?\r\n"}}