 # ---
 
 # Tres.Screen is the base screen class. So you'll pretty have one of these for
-# each "route" in your app.
+# each "route" in your app
 class Tres.Screen extends Backbone.View
 
   # Defaults to using sections for screens
   tagName: 'section'
 
-  # Ensure one can still declare events in a view without getting in the way of the defaults.
+  # Ensure one can still declare events in a view without getting in the
+  # way of the defaults
   __events:
     "click a[href]:not([href^='http://'])": 'touchLink'
 
-    # Provide a convenience method `submit` which gets fired when you submit a form in a screen.
-    # You can still trap forms normally. This is just a shortcut in case you have 1 form in a screen.
+    # Provide a convenience method `submit` which gets fired when you
+    # submit a form in a screen. You can still trap forms normally.
+    # This is just a shortcut in case you have 1 form in a screen
     "submit form": '__submit'
 
   events: {}


# ---

# Just a regular Backbone.Router for now. By default you'll have one for application
class Router extends Backbone.Router

Tres.Router = new Router

# ---

# Tres.Device handles/exposes device events (orientation change, accellerometer,
# etc), screen width, and other hardware-related goodies
class Device
  constructor: ->
    _.extend @, Backbone.Events
