Revert "setAudience protocol conform"

This reverts commit a386c69ca2dfb5dfa756863f9b0dd9f77f423aa2.
This commit is contained in:
Philip C Monk 2015-08-27 19:31:34 -04:00
parent a849aef35f
commit 50d691045c

View File

@ -25,8 +25,6 @@ module.exports =
Dispatcher.handleViewAction {type:'newItem', index, item} Dispatcher.handleViewAction {type:'newItem', index, item}
setItem: ({id,version},key,val) -> setItem: ({id,version},key,val) ->
if key is "audience"
return @setAudience {id},val
version += 1 version += 1
key = key.split('_').join '-' key = key.split('_').join '-'
set = "#{key}": val set = "#{key}": val