6 play list management

ideja horoshaja, togda eto lu46e zapihnutj v kakojto metod tak kak 4asto
ispoljzovatsja budet lightSongObject = createLightObject(Song)

On 1 November 2014 23:46, alex-vo <notifications@github.com> wrote:

> In app/scripts/services/audioContentService.js:
>
> > +                }).error();
> > +
> > +                return deferred.promise;
> > +            };
> > +
> > +            self.addSongToPlayList = function(playListId, song){
> > +                var deferred = $q.defer();
> > +                var songData = new Object();
> > +                songData.playListId = playListId;
> > +                songData.fileId = song.fileId;
> > +                songData.cloudId = song.cloudId;
> > +                songData.fileName = song.fileName;
> > +                $http({
> > +                    url: '/api/api/playListSong',
> > +                    method: "POST",
> > +                    data: JSON.stringify(songData),
>
> идея была в том, чтобы не слать по сети лишнюю информацию
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/vanstr/cp-web/pull/10/files#r19707988>.
>



-- 

Best regards,

Ivan Mihnenok