blob: 3ebb3463460ad00deccfe44addf96865dae345ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
###
# 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 '_ActiveFeed', ->
class ActiveFeed
constructor: ->
@id = 0
@type = 3
handle: (data) ->
@id = data.id
@type = data.type
return ActiveFeed
|