-# Navigation
-(($) ->
+# Ordered dependencies for Sammy
+define [ "outer" ], () ->
   circle = $.sammy("body", ->
 
     # Page


    # Polyfill Detection
    home.polyfill = ->
      if !Modernizr.input.placeholder
        $("input, textarea").placeholder()
    )

  # Run the application
  $ -> circle.run window.location.pathname

) jQuery


      load: (show) ->
        self = this
        require [ "views/outer/#{@name}/#{@name}" ], () ->
          $ -> self.render()

      display: ->
        if HAML? and HAML[@name]? @render() else @load()

    # Pages
    home = new Page("home", "Continuous Integration made easy")
