Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #3876 from lkcampbell/issue-3297-cleanup
Browse files Browse the repository at this point in the history
Cleanup for pull request #3297
  • Loading branch information
redmunds committed May 17, 2013
2 parents ded2de1 + 98c0116 commit 19791b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/project/SidebarView.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ define(function (require, exports, module) {
* Returns the visibility state of the sidebar.
* @return {boolean} true if element is visible, false if it is not visible
*/
function visible() {
return Resizer.visible($sidebar);
function isVisible() {
return Resizer.isVisible($sidebar);
}

// Initialize items dependent on HTML DOM
Expand Down Expand Up @@ -157,5 +157,5 @@ define(function (require, exports, module) {
exports.toggle = toggle;
exports.show = show;
exports.hide = hide;
exports.visible = visible;
exports.isVisible = isVisible;
});
4 changes: 2 additions & 2 deletions src/utils/Resizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ define(function (require, exports, module) {
* @param {DOMNode} element Html element to toggle
* @return {boolean} true if element is visible, false if it is not visible
*/
function visible(element) {
function isVisible(element) {
return $(element).is(":visible");
}

Expand Down Expand Up @@ -441,7 +441,7 @@ define(function (require, exports, module) {
exports.toggle = toggle;
exports.show = show;
exports.hide = hide;
exports.visible = visible;
exports.isVisible = isVisible;

//Resizer Constants
exports.DIRECTION_VERTICAL = DIRECTION_VERTICAL;
Expand Down

0 comments on commit 19791b4

Please sign in to comment.