Move lightboxes toplevel module to common module.

stable
Andrey Antukh 2014-07-22 12:12:18 +02:00
parent 4e78f25ce1
commit 3f18a677f4
2 changed files with 2 additions and 6 deletions

View File

@ -126,7 +126,6 @@ modules = [
"taigaSearch",
"taigaAdmin",
"taigaNavMenu",
"taigaLightboxes",
# Vendor modules
"ngRoute",

View File

@ -19,13 +19,10 @@
# File: modules/lightboxes.coffee
###
# FIXME: this module should not be as the toplevel module.
# It should be moved and to be part of taigaCommons module.
module = angular.module("taigaLightboxes", [])
module = angular.module("taigaCommon")
BlockDirective = () ->
BlockDirective = ->
link = ($scope, $el, $attrs, $model) ->
title = $attrs.title
$el.find("h2.title").text(title)