Skip to content

Commit

Permalink
Merge pull request #86 from TF2Stadium/v0.3.3-alpha
Browse files Browse the repository at this point in the history
v0.3.3-alpha
  • Loading branch information
mcapu committed Dec 12, 2015
2 parents 4aca369 + 1842a2e commit 1b47834
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 13 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"angular-scroll-glue": "~2.0.6",
"angular-ui-router": "~0.2.15",
"clipboard": "~1.5.3",
"wsevent.js": "~0.0.4"
"wsevent.js": "~1.0.0"
},
"devDependencies": {
"angular-mocks": "~1.4.7"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "GPL-3.0",
"repository": "https://github.com/TF2Stadium/Frontend",
"readme": "readme.md",
"version": "0.3.2",
"version": "0.3.3",
"dependencies": {
"del": "~1.2.0",
"uglify-save-license": "~0.4.1",
Expand Down
29 changes: 19 additions & 10 deletions src/app/pages/lobby/lobby.factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,23 +228,32 @@
localStorage.setItem('tabCommunication', '');
localStorage.setItem('tabCommunication', 'closeDialog');
});

Notifications.notifyBrowser({
title: 'Click here to ready up!',
body: 'All the slots are filled, ready up to start',
timeout: 30,
callbacks: {
onclick: function () {
$window.focus();
Settings.getSettings(function (settings) {
Notifications.notifyBrowser({
title: 'Click here to ready up!',
body: 'All the slots are filled, ready up to start',
soundFile: '/assets/sound/lobby-readyup.wav',
soundVolume: settings.soundVolume * 0.01,
timeout: 30,
callbacks: {
onclick: function () {
$window.focus();
}
}
}
});
});
});

Websocket.onJSON('lobbyStart', function (data) {
factory.lobbyJoinInformation = data;
$state.go('lobby-page', {lobbyID: factory.lobbySpectatedId});
$rootScope.$emit('lobby-start');
Notifications.toast({
message: 'Your lobby has started!',
actionMessage: 'Go back',
action: function () {
factory.goToLobby(factory.lobbyJoinedId);
}
});
Settings.getSettings(function (settings) {
Notifications.notifyBrowser({
title: 'Lobby is starting!',
Expand Down
3 changes: 2 additions & 1 deletion src/app/pages/settings/section-theme.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ <h1>Theme</h1>
{{theme.name}}
</md-radio-button>
</md-radio-group>

</div>
<div class="settings-section">
<h1>Chat</h1>
<h2>Timestamps</h2>
<md-radio-group
Expand Down

0 comments on commit 1b47834

Please sign in to comment.