Sha256: 116c1e13c28b4b932f0b0dd442925a29ffc819909f12d80aeb2aad814f35d5e7

Contents?: true

Size: 568 Bytes

Versions: 8

Compression:

Stored size: 568 Bytes

Contents

app.factory('Documentation', function($http) {
  return {
    getIndex: function() {
      return $http.get('docs/index.json', { cache: true });
    },
    getController: function(version, name) {
      return $http.get('docs/' + version + '/resources/' + name + '.json', { cache: true });
    },
    getType: function(version, name) {
      return $http.get('docs/' + version + '/types/' + name + '.json', { cache: true });
    },
    getTemplates: function(version) {
      return $http.get('docs/' + version + '/templates.json', { cache: true });
    }
  };
});

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
praxis-0.13.0 lib/api_browser/app/js/factories/Documentation.js
praxis-0.11.2 lib/api_browser/app/js/factories/Documentation.js
praxis-0.11.1 lib/api_browser/app/js/factories/Documentation.js
praxis-0.11 lib/api_browser/app/js/factories/Documentation.js
praxis-0.11pre lib/api_browser/app/js/factories/Documentation.js
praxis-0.10.1 lib/api_browser/app/js/factories/Documentation.js
praxis-0.10.0 lib/api_browser/app/js/factories/Documentation.js
praxis-0.9 lib/api_browser/app/js/factories/Documentation.js