Commit 5c2775f7232d8cba129b814804630ed52aed18e1
- Diff rendering mode:
- inline
- side by side
  | |||
38 | 38 | <script> | |
39 | 39 | // initialize editor | |
40 | 40 | window.M = window.M || {}; | |
41 | M.MenuURL = function() { return "{{ url_for('updateMenu') }}"}; | ||
42 | M.PageURL = function() { return "{{ url_for('insertPage') }}"}; | ||
41 | 43 | M.site_content = {{ content|tojson|safe }}; | |
42 | 44 | window.onload = function() { | |
43 | 45 | M.editor.init(); |
mouchak/templates/index.html
(2 / 2)
  | |||
34 | 34 | <script> | |
35 | 35 | //Code to initialize the framework | |
36 | 36 | window.M = window.M || {}; | |
37 | M.MenuURL = function() { return "{{ url_for('insertPage') }}"}; | ||
38 | M.PageURL = function() { return "{{ url_for('updateMenu') }}"; }; | ||
37 | M.MenuURL = function() { return "{{ url_for('updateMenu') }}"}; | ||
38 | M.PageURL = function() { return "{{ url_for('insertPage') }}"; }; | ||
39 | 39 | M.site_content = {{ content|tojson|safe }}; | |
40 | 40 | window.onload = function() { | |
41 | 41 | M.init(); |