         end: "2300"
         period: 60
       stations: []
+      matcher: undefined
       scrape: ""
     methods:
       getTypes: ->

      setAutoComplete: (elem) ->
        elem.typeahead('destroy')
        design = {hint: true, highlight: true}
        config = {name: 'stations', display: 'name', source: stationMatcher(@stations)}
        elem.typeahead(design, config)
      setAutoCompleteAll: ->
        @setAutoComplete($('.autoCompleteStation'))
      pushPattern: ->
        start = parseTime(@pattern.start)
        end = parseTime(@pattern.end)

          @stations = json
          for s in @stations
            s.name = "#{s.line.name} #{s.station.name}"
          @matcher = stationMatcher(@stations)
          @setAutoCompleteAll()
      getScrape: ->
        ids = @parseScrapeUrl(@scrape)
