summary refs log tree commit diff
path: root/webclient/index.html
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-10-30 16:21:27 +0000
committerKegan Dougal <kegan@matrix.org>2014-10-30 16:21:27 +0000
commit9de9661baaa232da170e45534a7d335bf96ef606 (patch)
tree82a709a3a048855a35f8a4e003cef9cfee074f1a /webclient/index.html
parentSYWEB-12: More formatting. (diff)
downloadsynapse-9de9661baaa232da170e45534a7d335bf96ef606.tar.xz
SYWEB-12: More formatting and tweaking of state event JSON.
Use a proper elastic directive to make the <textarea> resize dynamically.
Use an 'asjson' directive to turn an ngModel of a JSON object into a
formatted JSON string so it can be displayed on the textarea. Also, deep
copy the state events being displayed, else it actually alters the underlying
data structures when playing around with the JSON in the textarea!
Diffstat (limited to 'webclient/index.html')
-rw-r--r--webclient/index.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/webclient/index.html b/webclient/index.html
index 35c8051298..d8b9c95353 100644
--- a/webclient/index.html
+++ b/webclient/index.html
@@ -20,6 +20,7 @@
     <script type='text/javascript' src="js/ui-bootstrap-tpls-0.11.2.js"></script>
     <script type='text/javascript' src='js/ng-infinite-scroll-matrix.js'></script>
     <script type='text/javascript' src='js/autofill-event.js'></script>
+    <script type='text/javascript' src='js/elastic.js'></script>
     <script src="app.js"></script>
     <script src="config.js"></script>
     <script src="app-controller.js"></script>