mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-03 20:02:47 +00:00 
			
		
		
		
	integrate all js files into assets
This commit is contained in:
		@@ -7,9 +7,17 @@
 | 
			
		||||
{%- assets
 | 
			
		||||
  filters='rjsmin',
 | 
			
		||||
  output='gen/app.%(version)s.js',
 | 
			
		||||
  'js/App.js',
 | 
			
		||||
  'js/Utils.js',
 | 
			
		||||
  'js/XMLtoObject.js'
 | 
			
		||||
  'js/app/index.js',
 | 
			
		||||
  'js/app/app.js'
 | 
			
		||||
%}
 | 
			
		||||
<script src="{{ ASSET_URL }}"></script>
 | 
			
		||||
{%- endassets %}
 | 
			
		||||
 | 
			
		||||
{%- assets
 | 
			
		||||
  filters='rjsmin',
 | 
			
		||||
  output='gen/utils.%(version)s.js',
 | 
			
		||||
  'js/utils/index.js',
 | 
			
		||||
  'js/utils/utils.js'
 | 
			
		||||
%}
 | 
			
		||||
<script src="{{ ASSET_URL }}"></script>
 | 
			
		||||
{%- endassets %}
 | 
			
		||||
@@ -110,7 +118,7 @@
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
  // TODO: Implement an app.run method and use this for all of the following
 | 
			
		||||
  const app = new App();
 | 
			
		||||
  const app = new App.App();
 | 
			
		||||
  {%- if current_user.is_authenticated %}
 | 
			
		||||
  const currentUserId = {{ current_user.hashid|tojson }};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -148,7 +148,8 @@
 | 
			
		||||
          return response.text();
 | 
			
		||||
        })
 | 
			
		||||
        .then((responseText) => {return new DOMParser().parseFromString(responseText, 'application/xml');})
 | 
			
		||||
        .then((xmlDocument) => {return xmlDocument.toObject();})
 | 
			
		||||
        // .then((xmlDocument) => {return xmlDocument.toObject();})
 | 
			
		||||
        .then((xmlDocument) => {return {};})
 | 
			
		||||
        .then((feed) => {resolve(feed);});
 | 
			
		||||
    });
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user