From 19b442cc0bcd792cc89971cf6c5b97902b5c2391 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Fri, 26 Feb 2016 15:02:04 -0800 Subject: [PATCH] [Templates] Require data table templates ...via text plugin --- platform/features/events/src/directives/MCTDataTable.js | 6 +++--- platform/features/rtevents/src/directives/MCTRTDataTable.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/platform/features/events/src/directives/MCTDataTable.js b/platform/features/events/src/directives/MCTDataTable.js index e830fbe885..0ea0946fe8 100644 --- a/platform/features/events/src/directives/MCTDataTable.js +++ b/platform/features/events/src/directives/MCTDataTable.js @@ -25,14 +25,14 @@ * Module defining MCTDataTable. Created by shale on 06/22/2015. */ define( - [], - function () { + ['text!../../res/templates/mct-data-table.html'], + function (dataTableTemplate) { "use strict"; function MCTDataTable($window) { return { restrict: "E", - templateUrl: "platform/features/events/res/templates/mct-data-table.html", + template: dataTableTemplate, scope: { headers: "=", rows: "=", diff --git a/platform/features/rtevents/src/directives/MCTRTDataTable.js b/platform/features/rtevents/src/directives/MCTRTDataTable.js index d7337eab4f..6f0cc38913 100644 --- a/platform/features/rtevents/src/directives/MCTRTDataTable.js +++ b/platform/features/rtevents/src/directives/MCTRTDataTable.js @@ -25,14 +25,14 @@ * Module defining MCTRTDataTable. Created by shale on 06/25/2015. */ define( - [], - function () { + ['text!../../res/templates/mct-rt-data-table.html'], + function (dataTableTemplate) { "use strict"; function MCTRTDataTable($window) { return { restrict: "E", - templateUrl: "platform/features/rtevents/res/templates/mct-rt-data-table.html", + template: dataTableTemplate, scope: { headers: "=", rows: "=",