Commit 0759dcab authored by Curtis Adam's avatar Curtis Adam

Update node modules

parent 4465c83a
......@@ -205,7 +205,7 @@ export let PomodoroTimer = class PomodoroTimer {
dialogue.confirm = TAPi18n.__('pomodoro.sweetAlert.user.break.start.button.confirm');
}
}
swal({
swal.fire({
title: dialogue.title,
html: dialogue.html,
type: "success",
......@@ -279,7 +279,7 @@ export let PomodoroTimer = class PomodoroTimer {
dialogue.confirm = TAPi18n.__('pomodoro.sweetAlert.user.break.end.button.confirm');
}
}
swal({
swal.fire({
title: dialogue.title,
html: dialogue.html,
confirmButtonText: dialogue.confirm,
......@@ -371,7 +371,7 @@ export let PomodoroTimer = class PomodoroTimer {
dialogue.confirm = TAPi18n.__('pomodoro.sweetAlert.user.quit.button.confirm');
dialogue.cancel = TAPi18n.__('pomodoro.sweetAlert.user.quit.button.cancel');
}
swal({
swal.fire({
title: dialogue.title,
type: "warning",
html: dialogue.html,
......@@ -407,7 +407,7 @@ export let PomodoroTimer = class PomodoroTimer {
});
dialogue.confirm = TAPi18n.__('pomodoro.sweetAlert.user.quit.confirm.button.confirm');
}
swal({
swal.fire({
title: dialogue.title,
html: dialogue.html,
type: "error",
......@@ -455,7 +455,7 @@ export let PomodoroTimer = class PomodoroTimer {
dialogue.cancel = TAPi18n.__('pomodoro.sweetAlert.user.end.button.cancel');
dialogue.confirm = TAPi18n.__('pomodoro.sweetAlert.user.end.button.confirm');
}
swal({
swal.fire({
title: dialogue.title,
type: "warning",
html: dialogue.html,
......@@ -488,7 +488,7 @@ export let PomodoroTimer = class PomodoroTimer {
});
dialogue.confirm = TAPi18n.__('pomodoro.sweetAlert.user.end.confirm.button.confirm');
}
swal({
swal.fire({
title: dialogue.title,
html: dialogue.html,
type: "success",
......
......@@ -6,7 +6,7 @@ import * as config from "../config/sweetAlert.js";
export let SweetAlertMessages = class SweetAlertMessages {
static completeProfile () {
swal(config.completeProfile()).then((result) => {
swal.fire(config.completeProfile()).then((result) => {
if (result.value) {
Router.go('profileSettings', {
_id: Meteor.userId()
......@@ -16,7 +16,7 @@ export let SweetAlertMessages = class SweetAlertMessages {
}
static continuePresentation () {
swal(config.continuePresentation()).then((result) => {
swal.fire(config.continuePresentation()).then((result) => {
if (result.value) {
screenfull.request();
} else {
......@@ -29,7 +29,7 @@ export let SweetAlertMessages = class SweetAlertMessages {
}
static activateFullscreen () {
swal(config.activateFullscreen()).then((result) => {
swal.fire(config.activateFullscreen()).then((result) => {
if (result.value) {
CardVisuals.toggleFullscreen();
} else {
......@@ -42,7 +42,7 @@ export let SweetAlertMessages = class SweetAlertMessages {
}
static exitPresentation () {
swal(config.exitPresentation()).then((result) => {
swal.fire(config.exitPresentation()).then((result) => {
if (result.value) {
screenfull.exit();
Router.go('cardsetdetailsid', {
......
This diff is collapsed.
......@@ -7,28 +7,27 @@
"dependencies": {
"@babel/runtime": "^7.1.2",
"chart.js": "^2.7.3",
"dompurify": "^1.0.3",
"dompurify": "^1.0.10",
"fibers": "^2.0.2",
"gulp": "^4.0.0",
"ink-docstrap": "~1.3.0",
"jscs": "^3.0.7",
"meteor-node-stubs": "~0.2.0",
"ink-docstrap": "^1.3.2",
"meteor-node-stubs": "^0.4.1",
"react": "^15.0.2",
"screenfull": "^4.0.0",
"sweetalert2": "^7.28.2",
"web-push": "^3.2.2",
"wordcloud": "^1.0.6"
"sweetalert2": "^8.2.3",
"web-push": "^3.3.3",
"wordcloud": "^1.1.0"
},
"version": "1.0.0",
"main": "index.js",
"devDependencies": {
"chimpy": "^0.54.0",
"gulp-jscs": "^3.0.2",
"gulp-jshint": "^2.0.0",
"gulp-watch": "^4.3.5",
"gulp-jshint": "^2.1.0",
"gulp-watch": "^5.0.1",
"gulp4": "^4.0.3",
"jshint": "^2.9.6",
"jshint-stylish": "^2.1.0"
"jshint": "^2.10.1",
"jshint-stylish": "^2.2.1"
},
"author": "",
"license": "ISC",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment