Sha256: c82bbf33bcd8bd10c8552a3ac4879683e659124adfdfc3c734faab2ad2811b87

Contents?: true

Size: 513 Bytes

Versions: 8

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

8 entries across 8 versions & 1 rubygems

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