vknplayer
Version:
console audio player for listen music from vk.com and on-line radio
38 lines (28 loc) • 568 B
JavaScript
var dataViews = require('./vk-data-views');
/**
*
* @constructor
*/
var ServiceVK = function() {};
goog.inherits(ServiceVK, dataViews.Abstract);
/**
* @return {Promise.<Array>}
*/
ServiceVK.prototype.getChildren = function() {
return new vknp.Promise(function(resolve, reject) {
resolve([
new dataViews.Bookmarks,
new dataViews.Friends,
new dataViews.Groups,
new dataViews.News,
new dataViews.Playlists
]);
});
};
/**
* @inheritDoc
*/
ServiceVK.prototype.toString = function() {
return 'Vkontakte';
};
module.exports = ServiceVK;