[API] Miscellaneous platform updates

Adds miscellaneous platform updates to include templates
via the RequireJS text plugin; to support modification of
asset paths; and to support priority order for gestures.

Supports integration of new API, #1124.
This commit is contained in:
Victor Woeltjen
2016-09-30 10:25:22 -07:00
parent 7439d949c4
commit a93f41f1c3
7 changed files with 41 additions and 14 deletions

View File

@ -27,6 +27,9 @@ define([
"./src/controllers/TableOptionsController",
'../../commonUI/regions/src/Region',
'../../commonUI/browse/src/InspectorRegion',
"text!./res/templates/table-options-edit.html",
"text!./res/templates/rt-table.html",
"text!./res/templates/historical-table.html",
"legacyRegistry"
], function (
MCTTable,
@ -35,6 +38,9 @@ define([
TableOptionsController,
Region,
InspectorRegion,
tableOptionsEditTemplate,
rtTableTemplate,
historicalTableTemplate,
legacyRegistry
) {
/**
@ -127,8 +133,8 @@ define([
{
"name": "Historical Table",
"key": "table",
"template": historicalTableTemplate,
"cssclass": "icon-tabular",
"templateUrl": "templates/historical-table.html",
"needs": [
"telemetry"
],
@ -139,7 +145,7 @@ define([
"name": "Real-time Table",
"key": "rt-table",
"cssclass": "icon-tabular-realtime",
"templateUrl": "templates/rt-table.html",
"templateUrl": rtTableTemplate,
"needs": [
"telemetry"
],
@ -157,7 +163,7 @@ define([
"representations": [
{
"key": "table-options-edit",
"templateUrl": "templates/table-options-edit.html"
"template": tableOptionsEditTemplate
}
],
"stylesheets": [