src/aria/utils/Device.js
function() {
            var parts = [
                this.vendor(),
                this.model()
            ];

            for (var index = parts.length - 1; index >= 0; index--) {
                var part = parts[index];
                if (part == null || part.length == null || part.length <= 0) {
                    parts.splice(index, 1);
                }
            }

            var deviceName = parts.join(" - ");

            return deviceName;
        }
function() {
            var parts = [
                this.vendor(),
                this.model()
            ];

            for (var index = parts.length - 1; index >= 0; index--) {
                var part = parts[index];
                if (part == null || part.length == null || part.length <= 0) {
                    parts.splice(index, 1);
                }
            }

            var deviceName = parts.join(" - ");

            return deviceName;
        }
function ( ) { var parts = [ this . vendor ( ) , this . model ( ) ] ; for ( var index = parts . length - 1 ; index >= 0 ; index -- ) { var part = parts [ index ] ; if ( part == null || part . length == null || part . length <= 0 ) { parts . splice ( index , 1 ) ; } } var deviceName = parts . join ( " - " ) ; return deviceName ; }
Returns the device name, which is a mix of model and vendor properties when available.

<p>
The format is the following: <em>vendor - model</em>
</p>

@return {String} The device name or an empty string if no information at all is available
Returns the device name which is a mix of model and vendor properties when available .