 class CommonVoting
+  @all: allVotings = []
   # helpers
   log: log ? (obj) ->
     console?.log obj

  logmr: logmr ? (msg, obj) ->
    @log msg
    @log obj
  createObject: createObject ? ->
    object = {}
    for o,i in arguments

    if _.isEmpty @fields
      @fields.up   = 'votesUp'
      @fields.down = 'votesDown'
    @protectFields()
    allVotings.push @
    @logv 'init', 'done'

  # Get targets/voted sorted by count
  _getListName: (source = true, up = true) ->
