Index: trunk/parsers/wikidom/demos/synth/es.js |
— | — | @@ -258,6 +258,8 @@ |
259 | 259 | ] |
260 | 260 | } |
261 | 261 | ] } ); |
| 262 | + var surfaceView = new es.SurfaceView( $( '#es-editor' ), new es.SurfaceModel( doc ) ); |
| 263 | + var surfaceController = new es.SurfaceController( surfaceView ); |
262 | 264 | // Use the global space for debugging purposes |
263 | | - window.surface = new es.SurfaceView( $('#es-editor'), new es.SurfaceModel( doc ) ); |
| 265 | + window.surfaceView = surfaceView; |
264 | 266 | } ); |