aboutsummaryrefslogtreecommitdiff
path: root/deps/libgnomekbd/scripts.js
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2013-07-30 16:54:09 -0400
committerWilliam Hua <william.hua@canonical.com>2013-07-30 16:54:09 -0400
commitf4a3c189ea0f4869e223426f93ad54881c08bd0c (patch)
tree11d37149901b8cf159f03f88939c890d29b0e296 /deps/libgnomekbd/scripts.js
parentfa9b85fcb7a5263016994b36111052234ca2c930 (diff)
downloadayatana-indicator-keyboard-f4a3c189ea0f4869e223426f93ad54881c08bd0c.tar.gz
ayatana-indicator-keyboard-f4a3c189ea0f4869e223426f93ad54881c08bd0c.tar.bz2
ayatana-indicator-keyboard-f4a3c189ea0f4869e223426f93ad54881c08bd0c.zip
Remove unneeded valadocs.
Diffstat (limited to 'deps/libgnomekbd/scripts.js')
-rw-r--r--deps/libgnomekbd/scripts.js46
1 files changed, 0 insertions, 46 deletions
diff --git a/deps/libgnomekbd/scripts.js b/deps/libgnomekbd/scripts.js
deleted file mode 100644
index eb790936..00000000
--- a/deps/libgnomekbd/scripts.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/* markupwriter.vala
- *
- * Copyright (C) 2008-2009 Florian Brosch
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- * Author:
- * Florian Brosch <flo.brosch@gmail.com>
- */
-
-function get_path (path) {
- var pos = path.lastIndexOf ('/');
- if (pos < 0) {
- return '';
- }
-
- return path.substring (pos, -1) + '/';
-}
-
-function toggle_box (self, id) {
- var element = document.getElementById (id);
- if (element == null) {
- return ;
- }
-
- if (element.style.display == 'block') {
- element.style.display = 'none';
- self.src = get_path (self.src) + 'coll_open.png';
- } else {
- element.style.display = 'block';
- self.src = get_path (self.src) + 'coll_close.png';
- }
-}
-