dart-lang/spark — pull request #111 by ussuri (2013-11-03 04:39:45+00:00)
Title: Context menu ui switching

Replaced the not-so-pretty links directly in the app's UI with a context menu item.

Note: there seems to be a race condition somewhere: when repeatedly switching between the UIs, eventually the UI alternate windows erratically stop opening/closing. Also, 'this.window' in the code becomes sometimes null. This function is dev-only, though, and the first time switching always work, so don't spend too much effort now figuring it out.

@gaurave