Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
Rebuild with bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie0 committed Dec 24, 2017
1 parent ce0adf6 commit 9db1e84
Show file tree
Hide file tree
Showing 30 changed files with 334 additions and 1,164 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

set -e
npm-run webpack --config webpack.prod.config.js --env production -p
npm-run webpack --config webpack.prod.config.js --env production
cordova build
30 changes: 17 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
"progress-bar-webpack-plugin": "1.8.0",
"raw-loader": "^0.5.1",
"react-hot-loader": "3.0.0-beta.1",
"rxjs": "5.0.3",
"rxjs": "5.4.2",
"style-loader": "0.13.1",
"stylus": "0.54.5",
"stylus-loader": "2.1.1",
"ts-loader": "1.3.0",
"typescript": "2.0.10",
"typescript": "2.4.0",
"webpack": "1.13.1",
"webpack-dev-server": "1.14.1",
"zone.js": "0.7.6"
Expand All @@ -69,6 +69,7 @@
}
},
"devDependencies": {
"@types/node": "^8.5.2",
"copy-webpack-plugin": "^3.0.1"
}
}
}
28 changes: 14 additions & 14 deletions platforms/android/assets/www/app.bundle.js

Large diffs are not rendered by default.

64 changes: 32 additions & 32 deletions platforms/android/assets/www/app.js

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions platforms/android/assets/www/polyfills.bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions platforms/android/assets/www/polyfills.js

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions platforms/android/assets/www/vendor.bundle.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions platforms/android/assets/www/vendor.js

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions platforms/browser/www/app.bundle.js

Large diffs are not rendered by default.

64 changes: 32 additions & 32 deletions platforms/browser/www/app.js

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions platforms/browser/www/polyfills.bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions platforms/browser/www/polyfills.js

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions platforms/browser/www/vendor.bundle.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions platforms/browser/www/vendor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion platforms/ios/ios.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"CFBundleLocalizations": [
{
"xml": "<array><string>en</string></array>",
"count": 2
"count": 15
}
]
}
Expand Down
28 changes: 14 additions & 14 deletions platforms/ios/www/app.bundle.js

Large diffs are not rendered by default.

64 changes: 32 additions & 32 deletions platforms/ios/www/app.js

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions platforms/ios/www/polyfills.bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions platforms/ios/www/polyfills.js

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions platforms/ios/www/vendor.bundle.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions platforms/ios/www/vendor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/app/radio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ export module Radio {
this.audio.addEventListener("playing", (e) => this.handleStateChange(e));
this.audio.addEventListener("pause", (e) => this.handleStateChange(e));
this.audio.addEventListener("stalled", (e) => this.handleStateChange(e));
console.log(this.audio.play());
console.log(this.audio.play(), '!');

}

Expand Down
22 changes: 15 additions & 7 deletions webpack.prod.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module.exports = {
module: {
loaders: [{
test: /\.ts$/,
loader: 'ts',
loader: 'ts-loader',
include: path.join(__dirname, 'src'),

query: {
Expand Down Expand Up @@ -130,13 +130,21 @@ module.exports = {
removeComments: true
}
}),
new webpack.NoErrorsPlugin(),
//new webpack.NoErrorsPlugin(),
new webpack.optimize.DedupePlugin(),
new webpack.optimize.UglifyJsPlugin(),
new CopyWebpackPlugin([{
from: path.join(__dirname, 'src', 'public'),
ignore: ['index.html.ejs']
}]),
new webpack.optimize.UglifyJsPlugin({
beautify: false,
mangle: false,
compress: {
warnings: false,
screw_ie8: true
},
comments: false
}),
//new CopyWebpackPlugin([{
// from: path.join(__dirname, 'src', 'public'),
// ignore: ['index.html.ejs']
//}]),
new ProgressBarPlugin()
],

Expand Down
43 changes: 13 additions & 30 deletions www/app.bundle.js

Large diffs are not rendered by default.

639 changes: 2 additions & 637 deletions www/app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion www/app.js

Large diffs are not rendered by default.

38 changes: 2 additions & 36 deletions www/index.html
Original file line number Diff line number Diff line change
@@ -1,38 +1,4 @@
<!DOCTYPE html>
<html>
<head>
<title>Listen | Insanity Radio 103.2FM</title>

<meta property="og:title" content="Listen to Insanity" />
<meta property="og:type" content="music.radio_station" />
<meta property="og:music:creator" content="Insanity Radio 103.2FM" />
<meta property="og:image" content="https://insanityradio.com/res/og_listen.png" />
<meta property="og:image:height" content="768" />

<meta property="og:site_name" content="Insanity Radio 103.2FM" />
<meta property="og:url" content="http://insanityradio.com/listen/" />

<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta http-equiv="Content-Security-Policy" content="default-src * data: blob:; style-src * 'unsafe-inline'; script-src * 'unsafe-inline' 'unsafe-eval' blob:; media-src * blob: data:; connect-src ws://webapi.insanityradio.com wss://webapi.insanityradio.com http://localhost:8080 ws://localhost:8080 http://stream.cor.insanityradio.com https://stream.cor.insanityradio.com https://scdn.insanityradio.com http://scdn.insanityradio.com">

<script type="text/javascript">

// Not supported on any version of IE currently. Fall back to classic
<!DOCTYPE html> <html> <head> <title>Listen | Insanity Radio 103.2FM</title> <meta property="og:title" content="Listen to Insanity"> <meta property="og:type" content="music.radio_station"> <meta property="og:music:creator" content="Insanity Radio 103.2FM"> <meta property="og:image" content="https://insanityradio.com/res/og_listen.png"> <meta property="og:image:height" content="768"> <meta property="og:site_name" content="Insanity Radio 103.2FM"> <meta property="og:url" content="http://insanityradio.com/listen/"> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta http-equiv="Content-Security-Policy" content="default-src * data: blob:; style-src * 'unsafe-inline'; script-src * 'unsafe-inline' 'unsafe-eval' blob:; media-src * blob: data:; connect-src ws://webapi.insanityradio.com wss://webapi.insanityradio.com http://localhost:8080 ws://localhost:8080 http://stream.cor.insanityradio.com https://stream.cor.insanityradio.com https://scdn.insanityradio.com http://scdn.insanityradio.com"> <script type="text/javascript"> // Not supported on any version of IE currently. Fall back to classic
if(navigator.userAgent.indexOf("Trident") > -1 || navigator.userAgent.indexOf("MSIE") > -1) {
location.href = '/listen/classic/';
}

</script>


<script type="text/javascript" src="components/loader.js"></script>

<link rel="stylesheet" type="text/css" href="components/loader.css">
<link href="app.css" rel="stylesheet"></head>
<body>
<app></app>
<script type="text/javascript" src="polyfills.js"></script><script type="text/javascript" src="vendor.js"></script><script type="text/javascript" src="app.js"></script></body>
</html>
} </script> <script type="text/javascript" src="components/loader.js"></script> <link rel="stylesheet" type="text/css" href="components/loader.css"> <link href="app.css" rel="stylesheet"></head> <body> <app></app> <script type="text/javascript" src="polyfills.bundle.js"></script><script type="text/javascript" src="vendor.bundle.js"></script><script type="text/javascript" src="app.bundle.js"></script></body> </html>
53 changes: 12 additions & 41 deletions www/polyfills.bundle.js

Large diffs are not rendered by default.

214 changes: 43 additions & 171 deletions www/vendor.bundle.js

Large diffs are not rendered by default.

0 comments on commit 9db1e84

Please sign in to comment.