Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

FileTree: ModalViewStack: modalview and modalviewstack causes circular dependency so delete the instanceof check from modalviewstack.coffee file to fix instanceof check error. #129

Merged
merged 1 commit into from
Jul 1, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/components/modals/modalviewstack.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ module.exports = class KDModalViewStack extends KDObject

addModal: (modal)->

unless modal instanceof KDModalView
return warn "You can only add KDModalView instances to the modal stack."

modal.on "KDObjectWillBeDestroyed", => @next()

{lastToFirst} = @getOptions()
Expand Down