From d22d51a1ae49680015326857360eb699f31efced Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 31 Aug 2020 22:37:03 +0200 Subject: NO MORE ANDROID BUILD --- .../android/assets/www/js/lib/nav/FooterView.js | 43 ---------------------- 1 file changed, 43 deletions(-) delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/nav/FooterView.js (limited to 'StoneIsland/platforms/android/assets/www/js/lib/nav/FooterView.js') diff --git a/StoneIsland/platforms/android/assets/www/js/lib/nav/FooterView.js b/StoneIsland/platforms/android/assets/www/js/lib/nav/FooterView.js deleted file mode 100755 index 855c37bd..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/nav/FooterView.js +++ /dev/null @@ -1,43 +0,0 @@ -var FooterView = View.extend({ - - el: "#footer", - - events: { - "click .ok": "ok", - "click .cancel": "cancel", - }, - - initialize: function(){ - this.$ok = this.$(".ok") - this.$cancel = this.$(".cancel") - this.hide() - }, - - show: function(ok, cancel){ - if (cancel) { - this.$ok.removeClass("wide") - this.$cancel.show().html(cancel) - this.$cancel.attr('aria-label', cancel.toLowerCase()) - } - else { - this.$ok.addClass("wide") - this.$cancel.hide() - } - this.$ok.html(ok) - this.$ok.attr('aria-label', ok.toLowerCase()) - this.$el.show() - }, - - hide: function(){ - this.$el.hide() - }, - - ok: function(){ - (app.view.save || app.view.ok).bind(app.view)() - }, - - cancel: function(){ - app.view.cancel ? app.view.cancel() : app.intro.show() - }, - -}) \ No newline at end of file -- cgit v1.2.3-70-g09d2