BackBone.JS Models for File Provider framework

Review Request #7140 — Created March 31, 2015 and updated — Latest diff uploaded

Information

Review Board
master
8b34ae7...

Reviewers

In order to make use of responses from the File Provider framework (via api calls), BackBone.JS models can be defined to abstract these responses. These models are extended from RB.BaseResource, which include base implementation such as fetch, and parse to interact with the api calls properly. As they are BackBone.JS models, functionality can be defined on top of the object as needed, such as initialization and serialization.

Test cases for each model was implemented (static/rb/js/resources/models/tests/*.js), each one passed.

    Loading...