 ScrollSpy = React.createClass
 
   getInitialState: -> {}
+  mixins: [ScrollListenerMixin]
 
   getDefaultProps: ->
     windowImpl: window

React = require 'react/addons'
_ = require 'underscore'

# A component that accepts a dom selector that matches portions of the document
#

    dataSelector: React.PropTypes.string.isRequired

  componentWillMount: ->
    @calculateScroll()

  onPageScroll: _.debounce( ->
    @calculateScroll()
  , 100)

