Sha256: a7378cda81823ff2ffc9b998be760820454a609eac1211f10adf67b7345c80f3

Contents?: true

Size: 513 Bytes

Versions: 4

Compression:

Stored size: 513 Bytes

Contents

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

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

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

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