[Templates] Include templates using text plugin

Resolves #673
This commit is contained in:
Victor Woeltjen
2016-02-26 13:07:50 -08:00
parent 60efdb4ad3
commit bf1fa0ac4c
22 changed files with 292 additions and 100 deletions

View File

@ -25,11 +25,13 @@ define([
"./src/MCTChart",
"./src/PlotController",
"./src/policies/PlotViewPolicy",
"text!./res/templates/plot.html",
'legacyRegistry'
], function (
MCTChart,
PlotController,
PlotViewPolicy,
plotTemplate,
legacyRegistry
) {
"use strict";
@ -42,7 +44,7 @@ define([
"name": "Plot",
"key": "plot",
"glyph": "6",
"templateUrl": "templates/plot.html",
"template": plotTemplate,
"needs": [
"telemetry"
],