The main difference between the two pages is the method of sending messages. Recieving messages is the same in both.
Send messages to iframe using iframeEl.contentWindow.postMessage
Recieve messages using window.addEventListener('message')
| declare class Draggable { | |
| static version: string; | |
| static zIndex: number; | |
| allowEventDefault: boolean; | |
| autoScroll: number; | |
| endRotation: number; | |
| endX: number; | |
| endY: number; |
| import simplejson | |
| import json | |
| def put(data, filename): | |
| try: | |
| jsondata = simplejson.dumps(data, indent=4, skipkeys=True, sort_keys=True) | |
| fd = open(filename, 'w') | |
| fd.write(jsondata) | |
| fd.close() | |
| except: |
FileMerge (opendiff) can really come in handy when you need to visually compare merging conflicts. Other times it's just a nice visual way to review your days work.
The following method works by creating a simple bash script (git-diff-cmd.sh) that sets us up with the proper command line arguments for Git to pass off files to FileMerge.