Skip to content

Commit 138bee4

Browse files
committed
minor
1 parent bae38f5 commit 138bee4

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

client/head/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ try {
1616
}
1717
}
1818

19-
if (!window.localStorage) { // disabled
20-
21-
}
22-
2319
require('./unready');
2420

2521
//exports.init = require('./init');

handlers/newsletter/tasks/createLetters.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ module.exports = function(options) {
2424
.describe('subject', 'Тема письма')
2525
.describe('test', 'Email, на который выслать тестовое письмо.')
2626
.describe('nounsubscribe', 'Без ссылки на отписку.')
27+
.describe('track', 'Отслеживать переходы.')
2728
.demand(['slug', 'templatePath', 'subject'])
2829
.argv;
2930

@@ -113,6 +114,7 @@ module.exports = function(options) {
113114
yield* mailer.createLetter({
114115
from: 'informer',
115116
templatePath: args.templatePath,
117+
track_clicks: args.track ? true : false,
116118
to: subscription.email,
117119
subject: args.subject,
118120
unsubscribeUrl: unsubscribeUrl,

modules/config/webpack.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,11 @@ var webpackConfig = {
4444
},
4545

4646
cache: process.env.NODE_ENV == 'development',
47+
4748
watchOptions: {
4849
aggregateTimeout: 10
4950
},
51+
5052
watch: process.env.NODE_ENV == 'development',
5153

5254
devtool: process.env.NODE_ENV == 'development' ? "" : // try "eval" ?

0 commit comments

Comments
 (0)