flamejs/flame.js — pull request #49 by pjmorse (2012-06-25 18:20:32+00:00)
Title: Straighten split views

This fixes flamejs/flame.js#48 .

First, the renaming of the SplitViews had me providing the wrong sub-views - I was passing topView and bottomView to VerticalSplitView, and it's now HorizontalSplitView which uses these. Because of my Ember.assert PR just before this, the assert testing this was actually enforcing the wrong names here. That's cleared up in this PR. There's a working jsFiddle here: http://jsfiddle.net/pjmorse/qwaZs/9/

Second, the css classnames were confusing (because we were using the old CSS, which had the wrong gradients for the new Horizontal/Vertical naming). I've straightened that in this PR as well.