Skip to content

Commit

Permalink
Use window.zxcvbn_load_hook?() instead of zxcvbn_load_hook?() for the…
Browse files Browse the repository at this point in the history
… function definition check to prevent browser errors
  • Loading branch information
croby committed Apr 16, 2012
1 parent 9d21004 commit 3b5b554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ window.zxcvbn = (password, user_inputs) ->
result.calc_time = time() - start
result

zxcvbn_load_hook?() # run load hook from user, if defined
window.zxcvbn_load_hook?() # run load hook from user, if defined

0 comments on commit 3b5b554

Please sign in to comment.