Skip to content
Permalink
Browse files
Rename production scripts.
  • Loading branch information
RubenVerborgh committed Jul 28, 2017
1 parent f4a726e commit b982ac21aa6a02d65d016f3b18c936cab75fdf50
Showing with 4 additions and 4 deletions.
  1. +2 −2 gulpfile.js
  2. +1 −1 index.html
  3. +1 −1 src/ldf-client-ui.js
@@ -76,7 +76,7 @@ gulp.task('scripts:ui', ['deps:n3'], function (done) {
'src/ldf-client-url-state.js',
], { base: './' }),
sourcemaps.init({ loadMaps: true }),
concat('ldf-client-ui-packaged.js'),
concat('ldf-client-ui.min.js'),
production ? uglify({ output: { comments: saveLicense } }) : util.noop(),
sourcemaps.write('./', { sourceRoot: '../' }),
gulp.dest('build/scripts'),
@@ -92,7 +92,7 @@ gulp.task('scripts:worker', ['deps:ldf-client'], function (done) {
'src/ldf-client-worker.js',
], { base: './' }),
sourcemaps.init({ loadMaps: true }),
concat('ldf-client-worker.js'),
concat('ldf-client-worker.min.js'),
// Correct lodash from window (browser) to self (Web Worker)
replace(/var root =.*;/, 'var root = self;'),
production ? uglify({ output: { comments: saveLicense } }) : util.noop(),
@@ -68,7 +68,7 @@ <h1><a href="#">Query Linked Data on the Web</a></h1>
</p>
</footer>

<script src="scripts/ldf-client-ui-packaged.js"></script>
<script src="scripts/ldf-client-ui.min.js"></script>
<script>
jQuery(function ($) {
$('.ldf-client').queryui({ settings: 'queries.json' });
@@ -45,7 +45,7 @@

// Create the query execution Web Worker
var self = this;
this._queryWorker = new Worker('scripts/ldf-client-worker.js');
this._queryWorker = new Worker('scripts/ldf-client-worker.min.js');
this._queryWorker.onmessage = function (message) {
var data = message.data;
switch (data.type) {

0 comments on commit b982ac2

Please sign in to comment.