Skip to content

Commit

Permalink
Hurr durrrrrr
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearpidgeon committed Jun 17, 2014
1 parent 5e8225a commit 66ab90d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ $(function() {
var assessmentdata = localStorage.getItem('SubjectMarksAssessments');

if (assessmentdata !== null) {
var localAssessments = JSON.parse();
var localAssessments = JSON.parse(assessmentdata);
var mappedAssessments = $.map(localAssessments, function(ass) { return new Assessment(ass.assName, ass.score, ass.total, ass.weighting, ass.graded); });
subject.assessments(mappedAssessments);
}
Expand Down

0 comments on commit 66ab90d

Please sign in to comment.