Permalink
Browse files

Small code cleanup - remove unused vars, commented code

  • Loading branch information...
onewland committed May 4, 2012
1 parent c3bc195 commit bb942b2714ff778f7a77e151ca1705bfe1b72957
Showing with 0 additions and 4 deletions.
  1. +0 −4 prototypes/using-sirius/coffeescripts/extensions/Event.coffee
@@ -25,7 +25,6 @@ window.sirius.Event::display_point = ->
window.sirius.Event::resolve_references = (deferred, object_with_id) ->
deferred.push =>
- obj = node_id: 0, link_id: 0, network_id: 0
console.log @attributes
scenario_elements = @get('targetelements').get('scenarioelement')
console.log scenario_elements
@@ -51,9 +50,6 @@ window.sirius.Event::resolve_references = (deferred, object_with_id) ->
@set 'link', link
@set 'network', network
- #if !node_id and !link_id and !network_id
- # throw "Event must have node_id, link_id, or network_id"
-
window.sirius.Event::encode_references = ->
@set('node_id', @get('node').id) if @has('node')
@set('link_id', @get('link').id) if @has('link')

0 comments on commit bb942b2

Please sign in to comment.