|
|
@@ -2,7 +2,6 @@ define [
|
|
|
], () ->
|
|
|
class ReferencesSearchManager
|
|
|
constructor: (@ide, @$scope) ->
|
|
|
- console.log ">> yay"
|
|
|
|
|
|
@$scope.$on 'document:closed', (e, doc) =>
|
|
|
if doc.doc_id
|
|
|
@@ -13,7 +12,6 @@ define [
|
|
|
@indexReferences doc.doc_id
|
|
|
|
|
|
indexReferences: (doc_id) ->
|
|
|
- console.log ">> doc id #{doc_id}"
|
|
|
$.post(
|
|
|
"/project/#{@$scope.project_id}/references",
|
|
|
{
|