Skip to content

Commit

Permalink
chore: uncomment uglify + fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Apr 19, 2017
1 parent c41f56d commit 9c4bc59
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
24 changes: 12 additions & 12 deletions build/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,18 @@ const config = webpackMerge(commonConfig({
minimize: true,
debug: false
}),
// new webpack.optimize.UglifyJsPlugin({
// compress: {
// warnings: false,
// screw_ie8: true,
// negate_iife: false // for lazy v8
// },
// mangle: { screw_ie8 : true },
// output: {
// comments: false
// },
// sourceMap: true
// }),
new webpack.optimize.UglifyJsPlugin({
compress: {
warnings: false,
screw_ie8: true,
negate_iife: false // for lazy v8
},
mangle: { screw_ie8 : true },
output: {
comments: false
},
sourceMap: true
}),
new webpack.BannerPlugin(BANNER)
]
})
Expand Down
6 changes: 3 additions & 3 deletions lib/services/menu.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ export class MenuService {
items: MenuItem[];
activeIdx: number = -1;

public domRoot: Document | Element = document;

private _flatItems: MenuItem[];
private _hashSubscription: Subscription;
private _scrollSubscription: Subscription;
private _progressSubscription: Subscription;
private _tagsWithOperations: any;

public domRoot: Document | Element = document;

constructor(
private hash:Hash,
private tasks: LazyTasksService,
Expand All @@ -70,7 +70,7 @@ export class MenuService {
this.specMgr.spec.subscribe(spec => {
if (!spec) return;
this.buildMenu();
})
});

this._scrollSubscription = scrollService.scroll.subscribe((evt) => {
this.onScroll(evt.isScrolledDown);
Expand Down

0 comments on commit 9c4bc59

Please sign in to comment.