[node] allow building all ABIs at once

This commit is contained in:
Konstantin Käfer
2018-04-20 16:40:17 +03:00
parent 973aa963f9
commit d1a266b3e6
8 changed files with 122 additions and 669 deletions

View File

@@ -2,9 +2,8 @@
// Shim to wrap req.respond while preserving callback-passing API
var mbgl = require('../../lib/mapbox_gl_native.node');
var mbgl = require('../../lib/mbgl-node.abi-' + process.versions.modules);
var constructor = mbgl.Map.prototype.constructor;
var process = require('process');
var Map = function(options) {
if (!(options instanceof Object)) {