r97529 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97528‎ | r97529 | r97530 >
Date:18:33, 19 September 2011
Author:inez
Status:deferred
Tags:
Comment:
Pass es.SurfaceView to es.SurfaceController
Modified paths:
  • /trunk/parsers/wikidom/demos/synth/es.js (modified) (history)

Diff [purge]

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

Status & tagging log