Skip to content

Commit

Permalink
Add Tabulator to globals in Rollup config
Browse files Browse the repository at this point in the history
  • Loading branch information
tijmenbaarda committed Sep 4, 2024
1 parent 541af8e commit d87d9fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var extension = /.js$/;

export default {
input: 'vre/main.js',
external: ['jquery', 'lodash', underscorePattern, 'backbone'],
external: ['jquery', 'lodash', underscorePattern, 'backbone', 'tabulator'],
plugins: [
wontache(),
nodeResolve(),
Expand All @@ -24,6 +24,7 @@ export default {
case 'lodash': return '_';
case 'underscore': return '_';
case 'backbone': return 'Backbone';
case 'tabulator': return 'Tabulator';
}
var lastPart = _.last(id.split('/')).replace(extension, '');
if (lastPart === 'underscore') return '_';
Expand Down
1 change: 1 addition & 0 deletions frontend/vre/record/record.list.view.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import Backbone from "backbone";
import {properties} from "../utils/record-ontology";
import {getStringLiteral} from "../utils/jsonld.model";
import {vreChannel} from "../radio";
import Tabulator from "tabulator";

export var RecordListView = Backbone.View.extend({
id: "record-list",
Expand Down

0 comments on commit d87d9fb

Please sign in to comment.