Sha256: fb3eee1dc44c1e0c180c0e8dd3b4882b7d0a3af4a0ca03f1dfa836c39de6bc60

Contents?: true

Size: 540 Bytes

Versions: 2

Compression:

Stored size: 540 Bytes

Contents

@PopulationController = ($scope, $timeout, populationHistoryService) ->
  $scope.init = ->
    $scope.entry = {}
    populationHistoryService.getMessages (message) ->
        $timeout ->
          p = message.payload

          $scope.entry = {
            generation: p.generation
            pop_name: p.pop_name
            best: p.fitness.best
            best_name: p.fitness.best_name
            overall: p.fitness.overall
            worst: p.fitness.worst
            worst_name: p.fitness.worst_name
          }
        , 0, true

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubyneat_dashboard-0.4.1 app/js/dashboard/controllers/population_controller.coffee
rubyneat_dashboard-0.4.0.alpha.6 app/js/dashboard/controllers/population_controller.coffee