mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-23 20:49:21 +00:00
23 lines
423 B
JavaScript
23 lines
423 B
JavaScript
/**
|
|
* Movies communication interface
|
|
*
|
|
* @author Pierre HUBERT
|
|
*/
|
|
|
|
ComunicWeb.components.movies.interface = {
|
|
|
|
/**
|
|
* Get the list of movies of the user from the server
|
|
*
|
|
* @param {function} callback What to do once we got a response from the server
|
|
*/
|
|
getList: function(callback){
|
|
|
|
apiURI = "movies/get_list";
|
|
params = {};
|
|
|
|
ComunicWeb.common.api.makeAPIrequest(apiURI, params, true, callback);
|
|
|
|
}
|
|
|
|
} |