2 * node-sass: lib/binding.js
5 var errors = require('./errors');
10 module.exports = function(ext) {
11 if (!ext.hasBinary(ext.getBinaryPath())) {
12 if (!ext.isSupportedEnvironment()) {
13 throw new Error(errors.unsupportedEnvironment());
15 throw new Error(errors.missingBinary());
19 return require(ext.getBinaryPath());