Ticket #2833 (new enhancement)

Opened 21 months ago

Load module templates before calling .initialize()

Reported by: aron.carroll Owned by:
Priority: minor Milestone: demo phase 5
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none


I think this would be a nice feature for remote loading templates if the options.template value ends in ".html".

ckan.module('my-module', {
  options: {
    template: 'my-template.html'
  initialize: function () {
    this.template // This is the loaded template.
Note: See TracTickets for help on using tickets.