address some jshint complaints

This commit is contained in:
ansuz
2016-06-23 16:44:20 +02:00
parent 12bbf3e8f6
commit d025d13295
2 changed files with 5 additions and 3 deletions

View File

@@ -1,6 +1,8 @@
define([
'/bower_components/chainpad-crypto/crypto.js'
'/bower_components/chainpad-crypto/crypto.js',
'/bower_components/jquery/dist/jquery.min.js',
], function (Crypto) {
var $ = window.jQuery;
var common = {};
var getSecrets = common.getSecrets = function () {
@@ -47,7 +49,7 @@ define([
var importContent = common.importContent = function (type, f) {
return function () {
var $files = $('<input type="file">').click()
var $files = $('<input type="file">').click();
$files.on('change', function (e) {
var file = e.target.files[0];
var reader = new FileReader();