Sha256: 3dfda0497dc3a3431fde60bdda4e0686cea40896e73a2e78a628d7f8f7303bff

Contents?: true

Size: 401 Bytes

Versions: 4

Compression:

Stored size: 401 Bytes

Contents

// Use this to provide settings for the doc browser
app.provider('Configuration', function() {
  this.title = 'API Browser';
  this.versionLabel = 'API Version';
  this.expandChildren = true;

  this.$get = function() {
    return this;
  };
}).run(function(Configuration, $rootScope, $document) {
  _.extend($rootScope, _.omit(Configuration, '$get'));
  $document[0].title = Configuration.title;
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
praxis-0.18.1 lib/api_browser/app/js/factories/Configuration.js
praxis-0.18.0 lib/api_browser/app/js/factories/Configuration.js
praxis-0.17.1 lib/api_browser/app/js/factories/Configuration.js
praxis-0.17.0 lib/api_browser/app/js/factories/Configuration.js