Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
b8059fbc
Commit
b8059fbc
authored
May 29, 2014
by
Bernhard Posselt
Browse files
Options
Downloads
Plain Diff
Merge pull request #8780 from owncloud/remove-deprecated-functions
Remove deprecated functions
parents
9fba8221
c8b32f43
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/js/js.js
+0
-33
0 additions, 33 deletions
core/js/js.js
with
0 additions
and
33 deletions
core/js/js.js
+
0
−
33
View file @
b8059fbc
...
@@ -934,39 +934,6 @@ function object(o) {
...
@@ -934,39 +934,6 @@ function object(o) {
return
new
F
();
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
* Initializes core
*/
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment