Skip to content

Commit

Permalink
Appbar.js (SVACE): move states before its usage
Browse files Browse the repository at this point in the history
[Issue] 609501
[Problem] Warning Message:
	Move the declaration of "states" before this usage.
[Solution] move states before its usage

Signed-off-by: Grzegorz Czajkowski <g.czajkowski@samsung.com>
  • Loading branch information
grzegorz-czajkowski authored and HunseopJeong committed Apr 21, 2020
1 parent 3242137 commit 05b9be9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/js/core/widget/core/Appbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
Page = ns.widget.core.Page,
min = Math.min,
max = Math.max,
states = {
EXPANDED: "EXPANDED",
COLLAPSED: "COLLAPSED",
DRAGGING: "DRAGGING"
},
Appbar = function () {
var self = this;

Expand Down Expand Up @@ -76,11 +81,6 @@
bottomBar: "ui-bottom-bar",
hidden: "ui-hidden"
},
states = {
EXPANDED: "EXPANDED",
COLLAPSED: "COLLAPSED",
DRAGGING: "DRAGGING"
},
nominalHeights = {
COLLAPSED: 56,
EXPANDED: 280
Expand Down

0 comments on commit 05b9be9

Please sign in to comment.