Caged / gitnub
- Source
- Commits
- Network (35)
- Issues (2)
- Downloads (7)
- Wiki (5)
- Graphs
-
Tree:
864414b
| 864414b6 » | Caged | 2008-08-27 | 1 | class GitNubWebView < WebView | |
| 2 | def awakeFromNib | ||||
| 3 | self.setUIDelegate(self) | ||||
| 4 | end | ||||
| 5 | |||||
| 6 | def webView_dragDestinationActionMaskForDraggingInfo(view, info) | ||||
| 7 | WebDragDestinationActionLoad | ||||
| 8 | end | ||||
| 9 | |||||
| 10 | def webView_dragSourceActionMaskForPoint(view, point) | ||||
| 11 | WebDragSourceActionLink | ||||
| 12 | end | ||||
| 13 | |||||
| 14 | def performDragOperation(sender) | ||||
| 15 | # str = sender.draggingPasteboard.stringForType("NSStringPboardType") | ||||
| 16 | # puts NSURL.URLWithString(str).host | ||||
| 17 | end | ||||
| 18 | |||||
| 19 | end | ||||

