public/js/app.js
/**
   * @param {string} playlistId The unique id of the playlist object
   * @param {integer} songInex The unique id of the song object
   */
@param {string} playlistId The unique id of the playlist object
@param {integer} songInex The unique id of the song object
@param { string } playlistId The unique id of the playlist object @param { integer } songInex The unique id of the song object
function create(playlist) {
    playlist = converter.toJsonApi(playlist, {
      type: "playlists"
    });
    API.create("playlists", playlist).then(function (newPlaylists) {
      newPlaylists = converter.toSimple(newPlaylists);
      ServerActionCreators.receiveCreated(newPlaylists);
    })["catch"](function (error) {
      console.log(error);
    });
  }
function create ( playlist ) { playlist = converter . toJsonApi ( playlist , { type : "playlists" } ) ; API . create ( "playlists" , playlist ) . then ( function ( newPlaylists ) { newPlaylists = converter . toSimple ( newPlaylists ) ; ServerActionCreators . receiveCreated ( newPlaylists ) ; } ) [ "catch" ] ( function ( error ) { console . log ( error ) ; } ) ; }
@param {string} playlistId The unique id of the playlist object
 @param {integer} songInex The unique id of the song object
@param { string } playlistId The unique id of the playlist object @param { integer } songInex The unique id of the song object