From 06c68326769c204e690e9f0ba94e49d3aabb81c0 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Thu, 31 Mar 2016 15:46:56 -0700 Subject: [PATCH] [Timeline] Add default values to model Add default values to model, such that editing which occurs before user supplies these properties does not cause errors to occur. Directly addresses #717, indirectly addresses remaining errant behavior associated with #790. --- platform/features/timeline/bundle.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/platform/features/timeline/bundle.js b/platform/features/timeline/bundle.js index 0e5275b054..22020c2105 100644 --- a/platform/features/timeline/bundle.js +++ b/platform/features/timeline/bundle.js @@ -172,7 +172,10 @@ define([ } ], "model": { - "composition": [] + "composition": [], + "start": { + "timestamp": 0 + } } }, { @@ -211,6 +214,12 @@ define([ "composition": [], "relationships": { "modes": [] + }, + "start": { + "timestamp": 0 + }, + "duration": { + "timestamp": 0 } } },