       do (property) ->
         old = window.jQuery.fn[property]
         window.jQuery.fn[property] = (val) ->
-          if not val? or not this[0]?.odometer?
+          if not val? or not this[0]?.textroller?
             return old.apply this, arguments
 
-          this[0].odometer.update val
+          this[0].textroller.update val
 
 # In case jQuery is brought in after this file
 setTimeout wrapJQuery, 0

        console.log "   [#]["+i+"]["+j+"][frame:"+frame+"][frames ="
        console.log frames
        numEl = document.createElement('div')
        numEl.className = 'odometer-value'
        numEl.innerHTML = @intToChar frame

        @ribbons[i].appendChild numEl

        if j == frames.length - 1
          numEl.className += ' odometer-last-value'
        if j == 0
          numEl.className += ' odometer-first-value'
        console.log "   [#]"

    mark = @inside.querySelector('.odometer-radix-mark')
    mark.parent.removeChild(mark) if mark?

    if fractionalCount
      @addSpacer @format.radix, @digits[fractionalCount - 1], 'odometer-radix-mark'

TextRoller.options = window.odometerOptions ? {}

setTimeout ->
  # We do this in a seperate pass to allow people to set
  # window.odometerOptions after bringing the file in.
  if window.odometerOptions
    for k, v of window.odometerOptions
      TextRoller.options[k] ?= v
, 0


    console.log "[after repeatin@addDigit] value = " + value
    digit = @renderDigit()
    console.log "[after renderDigit@addDigit] value = " + value
    digit.querySelector('.textroller-value').innerHTML = @intToChar value
    @digits.push digit

    @insertDigit digit
