     kind:     sprite_dict.kind
     position: sprite_dict.position
     actions:  actions_to_object(sprite_dict.actions)
+    editable: sprite_dict.editable
 
   update_level (level) ->
     if level.sprites[index]?

  object

get_level_copy = ->
  $.extend {}, custom_level.get()

update_level = (change) ->
  level = get_level_copy()
  change level
  custom_level.set level

index_of_conditional = (list, condition) ->
  index = -1


url = ->
  search = queryString.parse location.search
  search.custom = JSON.stringify custom_level()
  "#{location.origin}#{location.pathname}?#{queryString.stringify search}"

pretty_source = ->
  JSON.stringify custom_level(), null, 4

exports.changelog =
  world: (level) ->
