Skip to content

Commit ed1a188

Browse files
committed
Source updated
1 parent 6dfcb27 commit ed1a188

File tree

9 files changed

+22
-12
lines changed

9 files changed

+22
-12
lines changed

client/app.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
import './assets/styles/app.scss';
22
import './assets/styles/main.scss';
33

4-
import 'rxjs/Rx';
5-
64
import { bootstrap } from '@angular/platform-browser-dynamic';
75
import { enableProdMode } from '@angular/core';
8-
import { HTTP_PROVIDERS } from '@angular/http';
96
import { ROUTER_PROVIDERS } from '@angular/router-deprecated';
107
import { environment } from './app/environment';
118

@@ -15,5 +12,5 @@ if (environment.production) {
1512
enableProdMode();
1613
}
1714

18-
bootstrap(NotesApp, [HTTP_PROVIDERS, ROUTER_PROVIDERS])
15+
bootstrap(NotesApp, [ROUTER_PROVIDERS])
1916
.catch(err => console.error(err));

client/app/environment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export const environment = {
2-
production: false
2+
production: true
33
};

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ app.on('ready', function() {
3535

3636
tray.create(mainWindow);
3737

38-
// mainWindow.openDevTools();
38+
mainWindow.openDevTools();
3939
mainWindow.on('closed', function() {
4040
// Dereference the window object, usually you would store windows
4141
// in an array if your app supports multi windows, this is the time

package.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,14 @@
3737
"webpack-stream": "^3.1.0"
3838
},
3939
"dependencies": {
40-
"@angular/common": "2.0.0-rc.1",
41-
"@angular/core": "2.0.0-rc.1",
42-
"@angular/http": "2.0.0-rc.1",
43-
"@angular/platform-browser-dynamic": "2.0.0-rc.1",
44-
"@angular/router-deprecated": "2.0.0-rc.1",
40+
"@angular/common": "2.0.0-rc.4",
41+
"@angular/compiler": "^2.0.0-rc.4",
42+
"@angular/core": "2.0.0-rc.4",
43+
"@angular/http": "2.0.0-rc.4",
44+
"@angular/platform-browser": "2.0.0-rc.4",
45+
"@angular/platform-browser-dynamic": "2.0.0-rc.4",
46+
"@angular/router": "3.0.0-beta.1",
47+
"@angular/router-deprecated": "2.0.0-rc.2",
4548
"angular2-notifications": "^0.1.57",
4649
"babel-preset-es2015": "^6.3.13",
4750
"babel-preset-stage-3": "^6.3.13",
@@ -55,6 +58,7 @@
5558
"ng2-dragula": "^1.1.9",
5659
"pouchdb": "^5.3.2",
5760
"reflect-metadata": "0.1.3",
61+
"rxjs": "5.0.0-beta.6",
5862
"zone.js": "^0.6.12"
5963
},
6064
"babel": {

public/css/bootstrap.min.css.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/css/material.min.css.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/css/ripples.min.css.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/css/roboto.min.css.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webpack.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ const config = {
2121

2222
plugins: [
2323
new webpack.optimize.CommonsChunkPlugin('vendor', 'vendor.bundle.js')
24+
// new webpack.optimize.UglifyJsPlugin({ compressor: { warnings: false } }),
25+
// new webpack.optimize.DedupePlugin(),
26+
// new webpack.DefinePlugin({
27+
// "process.env": { NODE_ENV: JSON.stringify("production") }
28+
// })
2429
],
2530

2631
resolve: {
@@ -36,7 +41,7 @@ const config = {
3641
{ test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: "url?limit=10000&mimetype=application/font-woff" },
3742
{ test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: "file" }
3843
],
39-
noParse: [ path.join(__dirname, 'node_modules', 'angular2', 'bundles') ]
44+
noParse: [ path.join(__dirname, 'node_modules', '@angular', 'bundles') ]
4045
},
4146
postcss: [ autoprefixer ]
4247
};

0 commit comments

Comments
 (0)