Added parse function that sets 'id' value to the model.
Refactor
Refactor
Added sub-rating collection
Refactor
Added sub-rating model
Refactor main parse method for the grade model
Refactor
Refactor
Refactor
Refactor
Paste api_key parameter from the ViewOptions
Added convertGrade method. It parses grade value and return object that contains needed values of classes and text grade.
Added class 'active' to mark common grade of the chosen style.
Move grade view's initialization from app.js to here to reduce counts of request.
Delete GradeModel's initialization here. Initialization was moved to the RatingBar View
Delete GradeModel's initialization here. Initialization was moved to the RatingBar View