summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2014-05-29 17:01:30 +0200
committerLukas Reschke <lukas@statuscode.ch>2014-05-29 17:01:30 +0200
commitc8b32f430950924590417c261e34e68249304628 (patch)
treea83433eb263088724e359e8f04ea9a40f2d0ae86 /core
parent9fba8221a6760b67b507067e5ea4ca9341c77241 (diff)
downloadnextcloud-server-c8b32f430950924590417c261e34e68249304628.tar.gz
nextcloud-server-c8b32f430950924590417c261e34e68249304628.zip
Remove deprecated functions
This functions have been deprecated since Oct 2012 (ownCloud 5), let's finally remove them for ownCloud 7. Ref https://github.com/owncloud/core/commit/c4b8bb10411a4d601b7f4c8758980005f14850ab
Diffstat (limited to 'core')
-rw-r--r--core/js/js.js33
1 files changed, 0 insertions, 33 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 38b97590430..fde6018e9f4 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -935,39 +935,6 @@ function object(o) {
}
/**
- * Fills height of window. (more precise than height: 100%;)
- * @param selector
- */
-function fillHeight(selector) {
- if (selector.length === 0) {
- return;
- }
- var height = parseFloat($(window).height())-selector.offset().top;
- selector.css('height', height + 'px');
- if(selector.outerHeight() > selector.height()){
- selector.css('height', height-(selector.outerHeight()-selector.height()) + 'px');
- }
- console.warn("This function is deprecated! Use CSS instead");
-}
-
-/**
- * Fills height and width of window. (more precise than height: 100%; or width: 100%;)
- * @param selector
- */
-function fillWindow(selector) {
- if (selector.length === 0) {
- return;
- }
- fillHeight(selector);
- var width = parseFloat($(window).width())-selector.offset().left;
- selector.css('width', width + 'px');
- if(selector.outerWidth() > selector.width()){
- selector.css('width', width-(selector.outerWidth()-selector.width()) + 'px');
- }
- console.warn("This function is deprecated! Use CSS instead");
-}
-
-/**
* Initializes core
*/
function initCore() {