Commit a182289cd9c9e9b737ddc82a6b5129543136d11f
- Diff rendering mode:
- inline
- side by side
server.py
(5 / 0)
  | |||
151 | 151 | script = root.makeelement('script') | |
152 | 152 | script.set('src', url_for('static', filename='text-annotation.js')) | |
153 | 153 | ||
154 | |||
155 | config_script = root.makeelement('script') | ||
156 | config_script.set('src', url_for('static', filename='config.js')) | ||
157 | |||
154 | 158 | tree = root.makeelement('script') | |
155 | 159 | tree.set('src', url_for('static', filename='tree.js')) | |
156 | 160 | ||
… | … | ||
192 | 192 | root.head.append(us) | |
193 | 193 | root.head.append(tree) | |
194 | 194 | root.head.append(script) | |
195 | root.head.append(config_script) | ||
195 | 196 | ||
196 | 197 | return lxml.html.tostring(root) | |
197 | 198 |
static/text-annotation.js
(0 / 4)
  | |||
218 | 218 | } | |
219 | 219 | }; | |
220 | 220 | })(); | |
221 | var config = { | ||
222 | 'postTweetUrl':'http://localhost:5001', | ||
223 | 'indexer':'http://localhost:5000' | ||
224 | }; |