コード例 #1
0
ファイル: index.js プロジェクト: noomorph/quizzard
 constructor({
     id, user, survey, index = 1,
 }) {
     this.id = id || uniq('SurveyForm');
     this.user = user;
     this.survey = survey;
     this.index = index;
 }
コード例 #2
0
ファイル: index.js プロジェクト: noomorph/quizzard
 constructor({ id, user, survey }) {
     this.id = id || uniq('RegisterForm');
     this.user = user;
     this.survey = survey;
     this.submitted = !!user.valid;
 }
コード例 #3
0
ファイル: index.js プロジェクト: noomorph/quizzard
 constructor({ id, user, survey }) {
     this.id = id || uniq('ResultsForm');
     this.user = user;
     this.survey = survey;
 }