Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .meteor/.finished-upgraders
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ notices-for-facebook-graph-api-2
1.4.1-add-shell-server-package
1.4.3-split-account-service-packages
1.5-add-dynamic-import-package
1.7-split-underscore-from-meteor-base
1.8.3-split-jquery-from-blaze
29 changes: 15 additions & 14 deletions .meteor/packages
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,29 @@
# 'meteor add' and 'meteor remove' will edit this file for you,
# but you can also edit it by hand.

meteor-base@1.1.0 # Packages every Meteor app needs to have
mobile-experience@1.0.4 # Packages for a great mobile UX
mongo@1.1.19 # The database Meteor supports right now
meteor-base@1.4.0 # Packages every Meteor app needs to have
mobile-experience@1.1.0 # Packages for a great mobile UX
mongo@1.10.0 # The database Meteor supports right now
[email protected] # Compile .html files into Meteor Blaze views
reactive-var # Reactive variable for tracker
tracker@1.1.3 # Meteor's client-side reactive programming library
reactive-var@1.0.11 # Reactive variable for tracker
tracker@1.2.0 # Meteor's client-side reactive programming library

standard-minifier-css@1.3.4 # CSS minifier run for production mode
standard-minifier-js@2.1.1 # JS minifier run for production mode
es5-shim@4.6.15 # ECMAScript 5 compatibility for older browsers
ecmascript@0.8.1 # Enable ECMAScript2015+ syntax in app code
shell-server@0.2.4 # Server-side component of the `meteor shell` command
standard-minifier-css@1.6.1 # CSS minifier run for production mode
standard-minifier-js@2.6.0 # JS minifier run for production mode
es5-shim@4.8.0 # ECMAScript 5 compatibility for older browsers
ecmascript@0.14.3 # Enable ECMAScript2015+ syntax in app code
shell-server@0.5.0 # Server-side component of the `meteor shell` command

[email protected] # Allow all DB writes from clients (for prototyping)
session
session@1.2.0
mrt:flash-messages
reactive-dict
reactive-dict@1.3.0
fourseven:scss
random
random@1.2.0
iron:router
underscore
underscore@1.0.10
deanius:promise
mrt:cron-tick
momentjs:moment
okgrow:analytics
jquery
2 changes: 1 addition & 1 deletion .meteor/release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
METEOR@1.5.1
METEOR@1.11.1
129 changes: 67 additions & 62 deletions .meteor/versions
Original file line number Diff line number Diff line change
@@ -1,42 +1,43 @@
allow-deny@1.0.6
autoupdate@1.3.12
babel-compiler@6.19.4
babel-runtime@1.0.1
[email protected].10
[email protected].10
[email protected].2
allow-deny@1.1.0
autoupdate@1.6.0
babel-compiler@7.5.3
babel-runtime@1.5.0
[email protected].12
[email protected].11
[email protected].4
[email protected]
[email protected]
boilerplate-generator@1.1.1
caching-compiler@1.1.9
[email protected].2
callback-hook@1.0.10
check@1.2.5
boilerplate-generator@1.7.1
caching-compiler@1.2.2
[email protected].3
callback-hook@1.3.0
check@1.3.1
[email protected]
cosmos:browserify@0.8.4
ddp@1.3.0
ddp-client@2.0.0
ddp-common@1.2.9
ddp-server@2.0.0
cosmos:browserify@0.10.0
ddp@1.4.0
ddp-client@2.3.3
ddp-common@1.4.0
ddp-server@2.3.2
deanius:[email protected]
[email protected]
diff-sequence@1.0.7
dynamic-import@0.1.1
ecmascript@0.8.2
ecmascript-runtime@0.4.1
ecmascript-runtime-client@0.4.3
ecmascript-runtime-server@0.4.1
ejson@1.0.13
es5-shim@4.6.15
[email protected]
fourseven:scss@4.5.4
diff-sequence@1.1.1
dynamic-import@0.5.3
ecmascript@0.14.3
ecmascript-runtime@0.7.0
ecmascript-runtime-client@0.11.0
ecmascript-runtime-server@0.10.0
ejson@1.1.1
es5-shim@4.8.0
[email protected]
fourseven:scss@4.12.0
[email protected]
[email protected]
[email protected]
[email protected]
http@1.2.12
id-map@1.0.9
http@1.4.2
id-map@1.1.0
[email protected]
[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
Expand All @@ -45,49 +46,53 @@ iron:[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
[email protected].10
launch-screen@1.1.1
[email protected].11
launch-screen@1.2.0
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
momentjs:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
momentjs:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
mrt:[email protected]
mrt:[email protected]
npm-mongo@2.2.24
npm-mongo@3.8.1
[email protected]
okgrow:[email protected].3
ordered-dict@1.0.9
promise@0.8.9
random@1.0.10
reactive-dict@1.1.9
okgrow:[email protected].5
ordered-dict@1.1.0
promise@0.11.2
random@1.2.0
reactive-dict@1.3.0
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected].2
standard-minifier-css@1.3.4
standard-minifier-js@2.1.1
[email protected].3
standard-minifier-css@1.6.1
standard-minifier-js@2.6.0
[email protected]
[email protected].2
[email protected].3
[email protected]
[email protected]
tracker@1.1.3
tracker@1.2.0
[email protected]
[email protected]
url@1.1.0
webapp@1.3.17
url@1.3.1
webapp@1.9.1
[email protected]
13 changes: 9 additions & 4 deletions imports/ui/game.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,18 +357,23 @@ Template.game.events({
});
},
"click .pick-fascist": function() {
let playerId = Session.get("playerId");
Meteor.call("discard", {
if (confirm("You're more liberal than Bernie!!! You sure you want to discard this fascist policy??")) {
let playerId = Session.get("playerId");
Meteor.call("discard", {
playerId: playerId,
card: "fascist"
});
}

},
"click .pick-liberal": function() {
let playerId = Session.get("playerId");
Meteor.call("discard", {
if (confirm("Are you Hitler or something??? Do you actually want to discard a liberal policy??")) {
let playerId = Session.get("playerId");
Meteor.call("discard", {
playerId: playerId,
card: "liberal"
});
}
},
"click ul.ring > li": function(event) {
let playerId = $(event.currentTarget).data("playerid");
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"start": "meteor run"
},
"dependencies": {
"@babel/runtime": "^7.12.5",
"babel-runtime": "^6.26.0",
"font-awesome": "^4.7.0",
"meteor-node-stubs": "~0.2.4"
Expand Down