Add commons module constructor file.

stable
Andrey Antukh 2014-07-22 12:07:51 +02:00
parent 69541a6170
commit 4e78f25ce1
3 changed files with 25 additions and 3 deletions

View File

@ -107,9 +107,6 @@ init = ($log, $i18n, $config, $rootscope) ->
# Default Value for taiga local config module. # Default Value for taiga local config module.
angular.module("taigaLocalConfig", []).value("localconfig", {}) angular.module("taigaLocalConfig", []).value("localconfig", {})
# Default constructor for common module
angular.module("taigaCommon", [])
modules = [ modules = [
# Main Global Modules # Main Global Modules
"taigaBase", "taigaBase",

View File

@ -0,0 +1,22 @@
###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# File: modules/common.coffee
###
module = angular.module("taigaCommon", [])

View File

@ -19,6 +19,9 @@
# File: modules/lightboxes.coffee # 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("taigaLightboxes", [])