Skip to content

Commit

Permalink
remove JEDIFY_LANG enviroment language support
Browse files Browse the repository at this point in the history
  • Loading branch information
tellnes committed Nov 29, 2014
1 parent 2179860 commit 15bd888
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions js.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ var through = require('through')
, unparse = require('escodegen').generate
, util = require('util')

var defaultLang = process.env['JEDIFY_LANG'] || 'en'

var re = /\.js$/

module.exports = function (file, options) {
if (!re.test(file)) return through()
options = options || {}
var lang = options.lang || defaultLang
var lang = options.lang || options.l || 'en'

var buf = []
, stream = through(write, end)
Expand Down

0 comments on commit 15bd888

Please sign in to comment.