Victor Woeltjen
185567cf29
[Licenses] Update copyright year to 2017
...
Fixes #1517
2017-04-05 14:52:46 -07:00
Henry
c8898ac6aa
[Documentation] Updated copyright statement. Fixes #1081
2016-07-12 16:55:57 -07:00
Victor Woeltjen
ad5691142e
[Code Style] Rename shadowing variables
2016-05-20 13:05:32 -07:00
Victor Woeltjen
ac5ac8d34e
[Build] Remove boilerplate from scripts
...
No longer necessary after JSHint configuration.
2016-03-04 10:46:38 -08:00
Victor Woeltjen
f615dc5409
[Build] Add JSDoc
...
...for third argument of TemplateLinker.link, per code review
https://github.com/nasa/openmctweb/pull/642#discussion_r52212006
2016-02-08 12:17:20 -08:00
Victor Woeltjen
25a7df7885
[Build] Update JSDoc
2016-01-29 11:46:37 -08:00
Victor Woeltjen
e0fbaa83b0
[Build] Add compatibility with text plugin
...
Allow templates to be loaded via the text plugin, which
in turn will allow these to be built into the final JS
artifact.
2016-01-28 11:41:14 -08:00
Victor Woeltjen
3498b0a50a
[Representation] Prefetch templates
...
...to ensure that dialogs et al can be displayed, even
after loss of network connectivity.
https://github.com/nasa/openmctweb/issues/383
2015-12-08 12:59:18 -08:00
Victor Woeltjen
ae928a138c
[Representation] Update compilation approach
...
Update compilation approach for templateLinker to more
closely resemble ng-include; minimizes likelihood of
subtle behavioral differences (e.g. incorrect size
selection for split pane)
2015-10-30 16:37:47 -07:00
Victor Woeltjen
454a63e1f1
[Representation] Destroy scopes before adding
...
Destroy representation scope before adding elements back into
the DOM; avoids having a momentary activation of watches and
listeners on those scopes before they are replaced with newly
compiled content for new scopes.
2015-10-30 16:18:01 -07:00
Victor Woeltjen
04594ea536
[Representation] Rebuild scopes on every change
...
Create new scopes on every changeTemplate request, even if
the same template is being viewed; presume that we want a
new instance of the same template. Avoids scope reuse for
cases such as switching from a plot of one object to a
plot of another object.
2015-10-30 15:32:20 -07:00
Victor Woeltjen
a45dfc3822
[Representation] Don't reuse scopes
...
Addresses nasa/openmctweb#227
2015-10-30 15:09:35 -07:00
Victor Woeltjen
4abb48abd8
[Representation] Update parameters in JSDoc
2015-10-30 13:34:13 -07:00
Victor Woeltjen
a38d4829eb
[Representation] Add JSDoc
2015-10-30 12:38:32 -07:00
Victor Woeltjen
d5f1d45759
[Representation] Use $templateRequest
...
...from templateLinker, to remove the need to use $http and
to explicitly cache templates.
2015-10-30 12:35:36 -07:00
Victor Woeltjen
5ed34c1c30
[Representation] Build URLs from templateLinker
2015-10-30 11:02:13 -07:00
Victor Woeltjen
54d608adb2
[Representation] Provide initial templates
...
...to avoid temporarily replacing with a comment when this
is not needed.
2015-10-29 08:17:25 -07:00
Victor Woeltjen
b177c38656
[Representation] Add JSDoc
...
...to TelemetryLinker.
2015-10-29 07:58:32 -07:00
Victor Woeltjen
c5fcc5a558
[Representation] Handle edge cases
...
Handle edge cases (e.g. directive priorities, race conditions)
to ensure that mct-representation and mct-include display correctly
when added to or removed from the DOM.
2015-10-28 15:57:47 -07:00
Victor Woeltjen
5677548298
[Representation] Show element synchronously
...
...to avoid exceptions when trying to invoke representers
before an mct-representation has been added back into the
DOM.
2015-10-28 15:32:50 -07:00
Victor Woeltjen
bcc42d705e
[Representation] Hide elements without transclusion
2015-10-28 15:30:27 -07:00
Victor Woeltjen
ab008ae497
[Representation] Begin integration
...
...of templateLinker into mct-representation. Not working currently
due to prevalence of mct-representation instances with transcluding
directives (hitting a multiple transclusion error.)
2015-10-28 15:17:36 -07:00
Victor Woeltjen
3d59f6df0b
[Representation] Separate out template loading/linking
...
...from mct-include, to facilitate reuse for MCTRepresentation.
2015-10-28 14:51:30 -07:00