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", "taigaSearch",
"taigaAdmin", "taigaAdmin",
"taigaNavMenu", "taigaNavMenu",
"taigaLightboxes",
# Vendor modules # Vendor modules
"ngRoute", "ngRoute",

View File

@ -19,13 +19,10 @@
# File: modules/lightboxes.coffee # File: modules/lightboxes.coffee
### ###
module = angular.module("taigaCommon")
# 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", [])
BlockDirective = () -> BlockDirective = ->
link = ($scope, $el, $attrs, $model) -> link = ($scope, $el, $attrs, $model) ->
title = $attrs.title title = $attrs.title
$el.find("h2.title").text(title) $el.find("h2.title").text(title)