simpleCommands.js
function addBasicInfoWrapper(basicInfo) {
    Yamaha.prototype[basicInfo] = function(zone) {
        return this.getBasicInfo(zone).then(function(result) {
            return result[basicInfo]();
        });
    };
}
function addBasicInfoWrapper(basicInfo) {
    Yamaha.prototype[basicInfo] = function(zone) {
        return this.getBasicInfo(zone).then(function(result) {
            return result[basicInfo]();
        });
    };
}
function addBasicInfoWrapper ( basicInfo ) { Yamaha . prototype [ basicInfo ] = function ( zone ) { return this . getBasicInfo ( zone ) . then ( function ( result ) { return result [ basicInfo ] ( ) ; } ) ; } ; }
Add direct functions for basic info
Add direct functions for basic info