some clean up/ modifying comments

This commit is contained in:
Jason White 2015-06-10 21:35:43 -04:00
parent 68a22453a8
commit e6411f76a3
2 changed files with 9 additions and 15 deletions

View File

@ -34,15 +34,15 @@ define(['jquery',
this.lessonView.render(); this.lessonView.render();
//load cookies/parameters view //load cookies/parameters view
//load help view //load title view (initially hidden)
//load title //plan view (initially hidden)
//plan //solution view (initially hidden)
//solution //source (initially hidden)
//source //load help controls view (contextul to what helps are available)
} }
}; };

View File

@ -23,15 +23,9 @@ function($,_,Backbone,JQueryForm,LessonData) {
//success: GoatUtils.showResponse // post-submit callback, comment out after debugging //success: GoatUtils.showResponse // post-submit callback, comment out after debugging
success:this.reLoadView.bind(this), success:this.reLoadView.bind(this),
url:'attack?Screen=' + this.model.get('screenParam') + '&menu=' + this.model.get('menuParam'), url:'attack?Screen=' + this.model.get('screenParam') + '&menu=' + this.model.get('menuParam'),
// other available options: type:'GET'
//url: url // override for form's 'action' attribute // $.ajax options can be used here too, for example:
//type: type // 'get' or 'post', override for form's 'method' attribute //timeout: 3000
//dataType: null // 'xml', 'script', or 'json' (expected server response type)
//clearForm: true // clear all form fields after successful submit
//resetForm: true // reset the form after successful submit
// $.ajax options can be used here too, for example:
//timeout: 3000
}; };
//hook forms //TODO: clarify form selectors later //hook forms //TODO: clarify form selectors later
$("form").ajaxForm(options); $("form").ajaxForm(options);