mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-16 01:21:49 +02:00
Cleaned up some code
This commit is contained in:
parent
0e0e49dc35
commit
bcc35ffe73
3 changed files with 52 additions and 53 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -11,7 +11,6 @@ angular.module('rallly')
|
|||
scope.participant = {};
|
||||
var datesCount = [];
|
||||
scope.event.$promise.then(function(event){
|
||||
console.log(event);
|
||||
var examplesNames = ['John Example', 'Jane Specimen','Mark Instance', 'Mary Case'];
|
||||
var examples = [];
|
||||
for (var i = 0; i < examplesNames.length; i++){
|
||||
|
@ -24,6 +23,7 @@ angular.module('rallly')
|
|||
examples.push(example);
|
||||
}
|
||||
scope.examples = examples;
|
||||
})
|
||||
scope.delete = function(participant){
|
||||
var modal = new ConfirmModal({
|
||||
title : 'Delete ' + participant.name + '?',
|
||||
|
@ -74,7 +74,6 @@ angular.module('rallly')
|
|||
scope.formnew.$setPristine();
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue