Skip to content

Commit 53b8921

Browse files
committed
Split qml-parser changes from UglifyJS parse-js
This will allow us to update UglifyJS to a more recent version. parse-js.js is imported from UglifyJS e83767ec5 (between v1.0.1 and v1.0.2). See also initial commit: 2438ae7 One modification is still present in parse-js.js on top of UglifyJS version: 22ccc1c, but that one is already present in newer UglifyJS versions, and the next step here would be to update to an already fixed version. This commit breaks coverage reportings due to eval(), I'm going to refactor that later. Closes: #2 Refs: #3
1 parent aafc672 commit 53b8921

File tree

6 files changed

+562
-361
lines changed

6 files changed

+562
-361
lines changed

gulpfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ const sourcemaps = require('gulp-sourcemaps');
88
const iife = require('gulp-iife');
99

1010
const sources = [
11-
'src/**/*.js'
11+
'src/header.js',
12+
'src/parse-js.js',
13+
'src/api.js',
1214
];
1315

1416
gulp.task('build-dev', function() {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"tape": "^4.5.1"
2020
},
2121
"scripts": {
22-
"test": "tape ./tests/tape.js",
23-
"cover": "istanbul cover tape ./tests/tape.js",
22+
"test": "gulp build; tape ./tests/tape.js",
23+
"cover": "gulp build; istanbul cover tape ./tests/tape.js",
2424
"build": "gulp build",
2525
"watch": "gulp watch"
2626
},

0 commit comments

Comments
 (0)