mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2025-05-02 20:37:08 +01:00
fix: add missing require()
This commit is contained in:
6
dist/inspectors/duration-inspector.js
vendored
6
dist/inspectors/duration-inspector.js
vendored
@ -1,10 +1,12 @@
|
||||
(function() {
|
||||
var FluentDate, _;
|
||||
var FluentDate, _, lo;
|
||||
|
||||
FluentDate = require('../core/fluent-date');
|
||||
|
||||
_ = require('underscore');
|
||||
|
||||
lo = require('lodash');
|
||||
|
||||
module.exports = {
|
||||
|
||||
/**
|
||||
@ -17,7 +19,7 @@
|
||||
run: function(rez, collKey, startKey, endKey, unit) {
|
||||
var firstDate, hist, lastDate, new_e;
|
||||
unit = unit || 'years';
|
||||
hist = __.get(rez, collKey);
|
||||
hist = lo.get(rez, collKey);
|
||||
if (!hist || !hist.length) {
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user