Skip to content

Commit

Permalink
Remove unnecesary method
Browse files Browse the repository at this point in the history
  • Loading branch information
soyjavi committed Jul 5, 2013
1 parent 0f41507 commit b38493f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/modules/Lungo.Router.Tablet.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,6 @@ Lungo.RouterTablet = do (lng = Lungo) ->
lng.Aside.show showSections.first().data("aside")
_callbackSection = future

# _visibleParent = (section) ->
# return lng.dom("section[data-children~=#{section.attr('id')}].#{C.CLASS.SHOW}")

_checkAside = (current, target) ->
aside_id = target.data("aside")
current_aside = lng.Element.Cache.aside
Expand All @@ -177,8 +174,8 @@ Lungo.RouterTablet = do (lng = Lungo) ->
do lng.Aside.hide

_showAside = (aside_id, target) ->
if target.data("children") then lng.Aside.show aside_id
else lng.Aside.showFix aside_id
fixed = if target.data("children") then false else true
lng.Aside.show aside_id, fixed

_parentId = (section) ->
parent = lng.dom("[data-children~=#{section.attr('id')}]")
Expand Down

0 comments on commit b38493f

Please sign in to comment.