index: move export to bottom

This commit is contained in:
Daniel Cousens 2014-06-23 13:35:53 +10:00
parent dc4e1ffa33
commit f3b4f8cc35
1 changed files with 1 additions and 2 deletions

View File

@ -4,8 +4,6 @@ var includeFolder = require('include-folder')
var Wordlists = includeFolder(path.join(__dirname, 'wordlists'))
var crypto = require('crypto')
module.exports = BIP39
function BIP39(language) {
language = language || 'en'
this.wordlist = JSON.parse(Wordlists[language])
@ -90,3 +88,4 @@ function lpad(str, padString, length) {
return str;
}
module.exports = BIP39