Sha256: 3c4df5c7777971ad8be1177212d8a8eeb0324d9edc58891108f205abe9e0ae11

Contents?: true

Size: 401 Bytes

Versions: 4

Compression:

Stored size: 401 Bytes

Contents

app.factory('PayloadTemplates', function($http, $templateCache, TemplateProvider) {

  var defaultTemplate = $http.get('views/directives/request_body/_default.html', { cache: $templateCache });

  var localTemplates = {
    'Struct': $http.get('views/directives/request_body/_struct.html', { cache: $templateCache })
  };

  return TemplateProvider(defaultTemplate, localTemplates, 'standalone');
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
praxis-0.16.1 lib/api_browser/app/js/factories/PayloadTemplates.js
praxis-0.16.0 lib/api_browser/app/js/factories/PayloadTemplates.js
praxis-0.15.0 lib/api_browser/app/js/factories/PayloadTemplates.js
praxis-0.14.0 lib/api_browser/app/js/factories/PayloadTemplates.js