Skip to content

Commit

Permalink
add getMajorVersion to settingsUtil
Browse files Browse the repository at this point in the history
  • Loading branch information
ganimomer committed Jan 24, 2016
1 parent a958c6d commit 33f37ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/util/settingsUtil.js
@@ -1,6 +1,9 @@
'use strict';
var _ = require('lodash');
module.exports = {
getMajorVersion: function (context) {
return _.get(context, ['settings', 'lodash', 'version'], 4);
},
getLodashPragma: function (context) {
return _.get(context, ['settings', 'lodash', 'pragma'], '_');
}
Expand Down

0 comments on commit 33f37ab

Please sign in to comment.