use lodash-node rather than vanilla lodash so that lodash doesn't attach to require js even when it's available.

This commit is contained in:
Spencer Alger
2014-02-11 15:43:57 -07:00
parent ad90cbd52c
commit 03f7a844a3
22 changed files with 26 additions and 26 deletions

View File

@ -7,7 +7,7 @@
module.exports = JenkinsReporter;
var Base = require('mocha/lib/reporters/base');
var _ = require('lodash');
var _ = require('lodash-node');
var chalk = require('chalk');
var makeJUnitXml = require('./make_j_unit_xml');
var fs = require('fs');

View File

@ -28,7 +28,7 @@ var testXml = require('xmlbuilder');
var suites = testXml.create('testsuites');
var suiteCount = 0;
var moment = require('moment');
var _ = require('lodash');
var _ = require('lodash-node');
var chalk = require('chalk');
function makeJUnitXml(runnerName, testDetails) {

View File

@ -1,7 +1,7 @@
var express = require('express');
var http = require('http');
var fs = require('fs');
var _ = require('lodash');
var _ = require('lodash-node');
var async = require('async');
var root = require('path').join(__dirname, '../..');
var browserify = require('browserify');