From 2085e9b30017ab915df20cb0c80feadb1703b109 Mon Sep 17 00:00:00 2001 From: Julius Haertl Date: Wed, 1 Feb 2017 16:32:21 +0100 Subject: [PATCH] Remove unneeded stuff --- .gitignore | 1 + js/script.js | 43 ------------------------------------------- 2 files changed, 1 insertion(+), 43 deletions(-) delete mode 100644 js/script.js diff --git a/.gitignore b/.gitignore index 19e24616f..9d188b68e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ js/node_modules/* js/vendor/ build/ +js/public/ diff --git a/js/script.js b/js/script.js deleted file mode 100644 index b9f83e6f5..000000000 --- a/js/script.js +++ /dev/null @@ -1,43 +0,0 @@ -/* - * @copyright Copyright (c) 2016 Julius Härtl - * - * @author Julius Härtl - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - * - */ - -(function ($, OC) { - - $(document).ready(function () { - $('#hello').click(function () { - alert('Hello from your script file'); - }); - - $('#echo').click(function () { - var url = OC.generateUrl('/apps/deck/echo'); - var data = { - echo: $('#echo-content').val() - }; - - $.post(url, data).success(function (response) { - $('#echo-result').text(response.echo); - }); - - }); - }); - -})(jQuery, OC); \ No newline at end of file