Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pirhoo committed Oct 2, 2015
1 parent 0f0c6f9 commit 7d3dc77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/main/main.controller.coffee
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
angular.module 'morano2017'
.controller 'MainController', ($state, facts)->
# Background image
@bg = 'nadine-' + Math.floor(Math.random() * 5)
# Generate a new sentence
@generate = ->
# Regenerates the background image
@bg = 'nadine-' + Math.floor(Math.random() * 5)
# Initial parameters' values
params = p1: null, p2: null, p3: null
Expand Down

0 comments on commit 7d3dc77

Please sign in to comment.