From 9215b98e427bf5c7644f2002de2f1b4344c106d0 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Wed, 3 Jun 2020 23:02:55 +0200 Subject: [PATCH] Global package upgrade --- src/js/yunohost/helpers.js | 16 ++++++++-------- src/package.json | 12 ++++++++++++ 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/src/js/yunohost/helpers.js b/src/js/yunohost/helpers.js index ba1d4ff1..d14a8c12 100644 --- a/src/js/yunohost/helpers.js +++ b/src/js/yunohost/helpers.js @@ -118,13 +118,13 @@ $.ajax({ dataType: "json", url: 'https://'+ baseUrl +'/installed', - timeout: 3000 - }) - .success(function(data) { - callback(data.installed); - }) - .fail(function() { - callback(undefined); + timeout: 3000, + success: function(data) { + callback(data.installed); + }, + fail: function() { + callback(undefined); + } }); }, @@ -319,7 +319,7 @@ $('#modal').modal('hide'); // Render content - var rendered = this.render('views/'+ view +'.ms', data); + var rendered = this.render('dist/views/'+ view +'.ms', data); // Update content helper var leSwap = function() { diff --git a/src/package.json b/src/package.json index 7de80a95..36b75e72 100644 --- a/src/package.json +++ b/src/package.json @@ -31,5 +31,17 @@ "gulp-uglify": "^3.0.2", "gulp-mustache": "^5.0.0" }, + "dependencies": { + "bootstrap": "^3.3.7", + "fork-awesome": "^1.1.7", + "handlebars": "^4.7.6", + "handlebars-intl": "1.1.2", + "isotope-layout": "^3.0.6", + "jquery": "^3.5.1", + "js-cookie": "^2.2.1", + "jshint": "^2.11.1", + "sammy": "^0.7.6", + "source-code-pro": "^2.30.2", + "source-sans-pro": "^3.6.0" } }