Remove deprecated functions

This functions have been deprecated since Oct 2012 (ownCloud 5), let's finally remove them for ownCloud 7.

Ref c4b8bb1041
This commit is contained in:
Lukas Reschke 2014-05-29 17:01:30 +02:00
parent 9fba8221a6
commit c8b32f4309
1 changed files with 0 additions and 33 deletions

View File

@ -934,39 +934,6 @@ function object(o) {
return new F();
}
/**
* 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
*/