Move lightboxes toplevel module to common module.
parent
4e78f25ce1
commit
3f18a677f4
|
@ -126,7 +126,6 @@ modules = [
|
||||||
"taigaSearch",
|
"taigaSearch",
|
||||||
"taigaAdmin",
|
"taigaAdmin",
|
||||||
"taigaNavMenu",
|
"taigaNavMenu",
|
||||||
"taigaLightboxes",
|
|
||||||
|
|
||||||
# Vendor modules
|
# Vendor modules
|
||||||
"ngRoute",
|
"ngRoute",
|
||||||
|
|
|
@ -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)
|
Loading…
Reference in New Issue