diff options
author | Valerio Virgillito | 2012-07-19 15:53:54 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-07-19 15:53:54 -0700 |
commit | 6403ec6d21048c93138ddcbcc59fc4677121ed5e (patch) | |
tree | 43d371557e28383fb962cb86d1a478f3a35d7ff3 /js/models | |
parent | fc13ef1e806116bb7ece5bb06604fa4f5714a6ed (diff) | |
download | ninja-6403ec6d21048c93138ddcbcc59fc4677121ed5e.tar.gz |
Timeline: updated livePreview to timeline play. Hide canvas and draw red outline
- Changed the play button to a toggle button
- livePreview code in stage activated via bindings
- Draw a red outline of the canvas when in play
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/models')
-rwxr-xr-x | js/models/app-model.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/js/models/app-model.js b/js/models/app-model.js index 52e298a5..1351921b 100755 --- a/js/models/app-model.js +++ b/js/models/app-model.js | |||
@@ -34,19 +34,6 @@ var Montage = require("montage/core/core").Montage, | |||
34 | 34 | ||
35 | exports.AppModel = Montage.create(Component, { | 35 | exports.AppModel = Montage.create(Component, { |
36 | 36 | ||
37 | _livePreview: { | ||
38 | value: false | ||
39 | }, | ||
40 | |||
41 | livePreview: { | ||
42 | get: function() { | ||
43 | return this._livePreview; | ||
44 | }, | ||
45 | set: function(value) { | ||
46 | this._livePreview = value; | ||
47 | } | ||
48 | }, | ||
49 | |||
50 | _layoutView: { | 37 | _layoutView: { |
51 | value: "layoutAll" | 38 | value: "layoutAll" |
52 | }, | 39 | }, |