Remove incorrect commenting

This commit is contained in:
Manvil George
2020-05-07 11:46:49 +10:00
parent d7cf825531
commit a629e1ecb7

View File

@@ -1,8 +1,7 @@
Darkswarm.factory "EnterpriseListModal", ($modal, $rootScope, $http, EnterpriseModal)->
# Build a modal popup for an enterprise.
new class EnterpriseListModal
open: (enterprises)->
scope = $rootScope.$new(true) # Spawn an isolate to contain the enterprise
scope = $rootScope.$new(true)
scope.embedded_layout = window.location.search.indexOf("embedded_shopfront=true") != -1
scope.enterprises = enterprises
scope.openModal = EnterpriseModal.open