How to use the bower.json.version function in bower

To help you get started, we’ve selected a few bower examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hobbyquaker / mqtt-admin / main.js View on Github external
var $tabsDetails =          $('#tabsDetails');
var $gridInflux =           $('#gridInflux');
var $influxQuery =          $('#influxQuery');

var $mqttshTrim =           $('#mqttshTrim');
var $mqttshAutocomplete =   $('#mqttshAutocomplete');

$dialogTopicDetails.dialog({
    autoOpen: false,
    width: 720,
    height: 500
});

$dialogAbout.dialog({
    title: 'mqtt-admin version ' + bower.version,
    modal: true,
    autoOpen: false,
    width: 640,
    height: 400
});

for (var i = 0; i < config.server.length; i++) {
    $server.append('<option value="' + config.server[i] + '">' + config.server[i] + '</option>');
}




$server.selectmenu({
    width: 280,
    open: function() {