src code

class method Observable.stopObserving

Observable.stopObserving([event_name][,observer]) → null

Removes a given observer. If no observer is passed, removes all observers of that event. If no event is passed, removes all observers of the object.