mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-14 22:51:28 +00:00
removed: dead code
This commit is contained in:
@@ -2440,24 +2440,6 @@ var colorForDisclosureTriangle = function(isSelected, isHighlighted)
|
||||
CPTreeNode _rootNode;
|
||||
}
|
||||
|
||||
- (void)bind
|
||||
{
|
||||
// 1. Set the data source FIRST so that it is ready when
|
||||
//[super bind] triggers the initial synchronous setValueFor:
|
||||
[_source setDataSource:self];
|
||||
|
||||
// 2. Establish KVO (which immediately triggers setValueFor:)
|
||||
[super bind];
|
||||
}
|
||||
|
||||
- (void)unbind
|
||||
{
|
||||
if ([_source dataSource] === self)
|
||||
[_source setDataSource:nil];
|
||||
|
||||
[super unbind];
|
||||
}
|
||||
|
||||
- (void)setValueFor:(CPString)aBinding
|
||||
{
|
||||
var destination = [_info objectForKey:CPObservedObjectKey],
|
||||
|
||||
Reference in New Issue
Block a user