mirror of
https://github.com/urbit/shrub.git
synced 2024-12-12 10:29:01 +03:00
Revert "setAudience protocol conform"
This reverts commit a386c69ca2dfb5dfa756863f9b0dd9f77f423aa2.
This commit is contained in:
parent
a849aef35f
commit
50d691045c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user