'use strict';

var dir = './lib';
if (process.env.COVERAGE){
  dir = './lib-cov';
}

var M = require(dir);

if (typeof window !== 'undefined') {
    var _M = window.M;
    window.M = M;
    M.noConflict = function () {
        window.M = _M;
        return M;
    };
}
if (typeof module !== 'undefined') {
    module.exports = M;
}

'use strict';

var M = require('./lib');
if (process.env.COVERAGE){
  var dir = './lib-cov';
  M = require(dir);
}

if (typeof window !== 'undefined') {
    var _M = window.M;
    window.M = M;
    M.noConflict = function () {
        window.M = _M;
        return M;
    };
}
if (typeof module !== 'undefined') {
    module.exports = M;
}

Fix lib-cov require when using browserify
Fix lib-cov require when using browserify
