import config from '../config/environment';
import Ember from 'ember';

export default {
  name: 'App Version',
  initialize: function() {
    Ember.libraries.register('App', config.APP.version);
  }
}

import config from '../config/environment';
import Ember from 'ember';
var capitalize = Ember.String.capitalize;

export default {
  name: 'App Version',
  initialize: function(container, application) {
    var appName = capitalize(application.toString());
    Ember.libraries.register(appName, config.APP.version);
  }
}

Use the app's real name instead of 'App'
Use the app's real name instead of 'App'