     scope.$watch (->Flow.language), ->
       scope.updateTranslationStatus(scope.ruleset, Flow.flow.base_language, Flow.language)
 
-
-
-
   return {
     restrict: "A"
     link: link

# turn an element into a jsplumb source
app.directive "source", [ 'Plumb', '$log', (Plumb, $log) ->
  link = (scope, element, attrs) ->
    if window.mutable
      Plumb.makeSource(attrs.id, attrs.dropScope)


# manage connections when actionset changes
app.directive "actionset", [ "$timeout", "$log", "Plumb", "Flow", ($timeout, $log, Plumb, Flow) ->

  link = (scope, element, attrs) ->

    Plumb.updateConnection(scope.actionset)
