mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 10:34:17 +00:00
Move javascript files to fit new style
This commit is contained in:
parent
660d7ebc99
commit
d298b200dc
@ -1,4 +1,4 @@
|
|||||||
class CorpusAnalysisApp {
|
nopaque.corpus_analysis.App = class App {
|
||||||
constructor(corpusId) {
|
constructor(corpusId) {
|
||||||
this.corpusId = corpusId;
|
this.corpusId = corpusId;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
class CorpusAnalysisConcordance {
|
nopaque.corpus_analysis.ConcordanceExtension = class ConcordanceExtension {
|
||||||
name = 'Concordance';
|
name = 'Concordance';
|
||||||
|
|
||||||
constructor(app) {
|
constructor(app) {
|
@ -1,4 +1,4 @@
|
|||||||
class CorpusAnalysisReader {
|
nopaque.corpus_analysis.ReaderExtension = class ReaderExtension {
|
||||||
name = 'Reader';
|
name = 'Reader';
|
||||||
|
|
||||||
constructor(app) {
|
constructor(app) {
|
@ -1,4 +1,4 @@
|
|||||||
class CorpusAnalysisStaticVisualization {
|
nopaque.corpus_analysis.StaticVisualizationExtension = class StaticVisualizationExtension {
|
||||||
name = 'Static Visualization (beta)';
|
name = 'Static Visualization (beta)';
|
||||||
|
|
||||||
constructor(app) {
|
constructor(app) {
|
@ -76,28 +76,28 @@
|
|||||||
{%- assets
|
{%- assets
|
||||||
filters='rjsmin',
|
filters='rjsmin',
|
||||||
output='gen/corpus-analysis.%(version)s.js',
|
output='gen/corpus-analysis.%(version)s.js',
|
||||||
'js/CorpusAnalysis/index.js',
|
'js/corpus-analysis/index.js',
|
||||||
'js/CorpusAnalysis/cqi/index.js',
|
'js/corpus-analysis/cqi/index.js',
|
||||||
'js/CorpusAnalysis/cqi/constants.js',
|
'js/corpus-analysis/cqi/constants.js',
|
||||||
'js/CorpusAnalysis/cqi/errors.js',
|
'js/corpus-analysis/cqi/errors.js',
|
||||||
'js/CorpusAnalysis/cqi/status.js',
|
'js/corpus-analysis/cqi/status.js',
|
||||||
'js/CorpusAnalysis/cqi/api/index.js',
|
'js/corpus-analysis/cqi/api/index.js',
|
||||||
'js/CorpusAnalysis/cqi/api/client.js',
|
'js/corpus-analysis/cqi/api/client.js',
|
||||||
'js/CorpusAnalysis/cqi/models/index.js',
|
'js/corpus-analysis/cqi/models/index.js',
|
||||||
'js/CorpusAnalysis/cqi/models/resource.js',
|
'js/corpus-analysis/cqi/models/resource.js',
|
||||||
'js/CorpusAnalysis/cqi/models/attributes.js',
|
'js/corpus-analysis/cqi/models/attributes.js',
|
||||||
'js/CorpusAnalysis/cqi/models/subcorpora.js',
|
'js/corpus-analysis/cqi/models/subcorpora.js',
|
||||||
'js/CorpusAnalysis/cqi/models/corpora.js',
|
'js/corpus-analysis/cqi/models/corpora.js',
|
||||||
'js/CorpusAnalysis/cqi/client.js',
|
'js/corpus-analysis/cqi/client.js',
|
||||||
'js/CorpusAnalysis/query-builder/index.js',
|
'js/corpus-analysis/query-builder/index.js',
|
||||||
'js/CorpusAnalysis/query-builder/element-references.js',
|
'js/corpus-analysis/query-builder/element-references.js',
|
||||||
'js/CorpusAnalysis/query-builder/general-query-builder-functions.js',
|
'js/corpus-analysis/query-builder/general-query-builder-functions.js',
|
||||||
'js/CorpusAnalysis/query-builder/structural-attribute-builder-functions.js',
|
'js/corpus-analysis/query-builder/structural-attribute-builder-functions.js',
|
||||||
'js/CorpusAnalysis/query-builder/token-attribute-builder-functions.js',
|
'js/corpus-analysis/query-builder/token-attribute-builder-functions.js',
|
||||||
'js/CorpusAnalysis/CorpusAnalysisApp.js',
|
'js/corpus-analysis/app.js',
|
||||||
'js/CorpusAnalysis/CorpusAnalysisConcordance.js',
|
'js/corpus-analysis/concordance-extension.js',
|
||||||
'js/CorpusAnalysis/CorpusAnalysisReader.js',
|
'js/corpus-analysis/reader-extension.js',
|
||||||
'js/CorpusAnalysis/CorpusAnalysisStaticVisualization.js'
|
'js/corpus-analysis/static-visualization-extension.js'
|
||||||
%}
|
%}
|
||||||
<script src="{{ ASSET_URL }}"></script>
|
<script src="{{ ASSET_URL }}"></script>
|
||||||
{%- endassets %}
|
{%- endassets %}
|
||||||
|
@ -128,7 +128,7 @@
|
|||||||
{# The extension scripts #}
|
{# The extension scripts #}
|
||||||
{% macro scripts() %}
|
{% macro scripts() %}
|
||||||
<script>
|
<script>
|
||||||
const corpusAnalysisConcordance = new CorpusAnalysisConcordance(corpusAnalysisApp);
|
const corpusAnalysisConcordance = new nopaque.corpus_analysis.ConcordanceExtension(corpusAnalysisApp);
|
||||||
const concordanceQueryBuilder = new ConcordanceQueryBuilder();
|
const concordanceQueryBuilder = new ConcordanceQueryBuilder();
|
||||||
</script>
|
</script>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
@ -79,6 +79,6 @@
|
|||||||
{# The extension scripts #}
|
{# The extension scripts #}
|
||||||
{% macro scripts() %}
|
{% macro scripts() %}
|
||||||
<script>
|
<script>
|
||||||
const corpusAnalysisReader = new CorpusAnalysisReader(corpusAnalysisApp);
|
const corpusAnalysisReader = new nopaque.corpus_analysis.ReaderExtension(corpusAnalysisApp);
|
||||||
</script>
|
</script>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
@ -158,7 +158,7 @@
|
|||||||
|
|
||||||
{% macro scripts() %}
|
{% macro scripts() %}
|
||||||
<script>
|
<script>
|
||||||
const corpusAnalysisStaticVisualization = new CorpusAnalysisStaticVisualization(corpusAnalysisApp);
|
const corpusAnalysisStaticVisualization = new nopaque.corpus_analysis.StaticVisualizationExtension(corpusAnalysisApp);
|
||||||
</script>
|
</script>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
@ -81,7 +81,7 @@
|
|||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
<script>
|
<script>
|
||||||
const corpusAnalysisApp = new CorpusAnalysisApp({{ corpus.hashid|tojson }});
|
const corpusAnalysisApp = new nopaque.corpus_analysis.App({{ corpus.hashid|tojson }});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{{ concordance_extension.scripts() }}
|
{{ concordance_extension.scripts() }}
|
||||||
|
Loading…
Reference in New Issue
Block a user