#95 Require new package

master
Keith Irwin 2017-06-30 12:48:29 -04:00
parent e674cd11fb
commit 6126e6210b
No known key found for this signature in database
GPG Key ID: 378933C743E2BBC0
5 changed files with 5 additions and 9 deletions

View File

@ -2,7 +2,7 @@
const slug = require('slug'),
xss = require('xss'),
mellt = require('mellt'),
zxcvbn = require('zxcvbn'),
moment = require('moment'),
mw = require('../middleware.js'),
User = require('../models.js').user,

View File

@ -1,7 +1,7 @@
'use strict';
const router = require('express').Router(),
mellt = require('mellt'),
zxcvbn = require('zxcvbn'),
mw = require('../middleware.js'),
mail = require('../mail.js');

View File

@ -1,7 +1,7 @@
'use strict';
/* global $ Mellt */
/* global $ */
const mellt = new Mellt();
const zxcvbn = require('zxcvbn');
function checkMatch(){
$('#submit').prop('title',"You need to type your password again before you can save it. ");

View File

@ -53,7 +53,5 @@
{% block javascript %}
{{super()}}
<script type="application/javascript" src="/static/js/dist/mellt.js"></script>
<script type="application/javascript" src="/static/js/dist/commonpasswords.js"></script>
<script type="application/javascript" src="/static/js/dist/password.js"></script>
{% endblock %}

View File

@ -7,9 +7,7 @@ module.exports = {
map: './static/js/src/map.js',
controls: './static/js/src/map-controls.js',
settings: './static/js/src/settings.js',
password: './static/js/src/password.js',
mellt: './static/js/src/mellt.js',
commonpasswords: './static/js/src/common-passwords.js'
password: './static/js/src/password.js'
},
output: {
filename: '[name].js',