diff options
Diffstat (limited to 'coffee/services/showall.coffee')
-rw-r--r-- | coffee/services/showall.coffee | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/coffee/services/showall.coffee b/coffee/services/showall.coffee new file mode 100644 index 000000000..a707b245c --- /dev/null +++ b/coffee/services/showall.coffee @@ -0,0 +1,23 @@ +### +# ownCloud - News app +# +# @author Bernhard Posselt +# Copyright (c) 2012 - Bernhard Posselt <nukeawhale@gmail.com> +# +# This file is licensed under the Affero General Public License version 3 or later. +# See the COPYING-README file +# +### + +angular.module('News').factory '_ShowAll', -> + + class ShowAll + + constructor: -> + @showAll = false + + handle: (data) -> + @showAll = data + + + return ShowAll |