 
         @_generateInitialBinary()
 
+    #
+    # Start the top row editor
+    # 
     run: ()->
+        
         # Populate the main container with the template
         dashboardHTML = @_jTopRowEditorTemplate.html()
-
         @_jCagenContainer.html(Mustache.render(dashboardHTML,{}))
 
         @_jSliderContainer = $(@_idSliderContainer)
         @_jSlider = $(@_idSlider)
         @_jRowContainer = $(@_idRowContainer)
         @_jEditorContainer = $(@_idEditorContainer)
-    
+
+        # Set the dimensions
         @_jRowContainer.height(@_rowHeight)
         @_jRowContainer.width(@_totalWidth)
         @_jSliderContainer.width(@_totalWidth)

        @_jSliderRightArrow = $(@_idSliderArrowRight)
        @_sliderIsDragging = false

        @_jSlider.click( =>
            if @_sliderIsDragging
                @_sliderIsDragging = false

###

The top/root row editor for CAGEN.

@author Destin Moulton
@git https://github.com/destinmoulton/cagen
@license MIT

Component of Cellular Automata GENerator (CAGEN)


The user can edit the top/root row, allowing them to "seed"
the generator to test configurations and create new variations
on the standard NKS version.

###

class TopRowEditor

    #
    # Setup the locally shared variables
    # @constructor
    # 
    constructor: (VariablesInstance, TabsInstance)->
        @_Vars = VariablesInstance
        @_Tabs = TabsInstance
