Skip to content

Commit

Permalink
remove restartable from blueprint
Browse files Browse the repository at this point in the history
  • Loading branch information
nvdk committed May 1, 2019
1 parent 9d0b57a commit f7c2e8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export default Component.extend({

actions: {
insert(){
let mappedLocation = this.get('hintsRegistry').updateLocationToCurrentIndex(this.get('hrId'), this.get('location'));
this.get('hintsRegistry').removeHintsAtLocation(this.get('location'), this.get('hrId'), 'editor-plugins/<%= dasherizedModuleName %>-card');
const mappedLocation = this.get('hintsRegistry').updateLocationToCurrentIndex(this.get('hrId'), this.get('location'));
this.get('editor').replaceTextWithHTML(...mappedLocation, this.get('info').htmlString);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const RdfaEditor<%= classifiedModuleName %>Plugin = Service.extend({
},

/**
* Restartable task to handle the incoming events from the editor dispatcher
* task to handle the incoming events from the editor dispatcher
*
* @method execute
*
Expand All @@ -45,7 +45,7 @@ const RdfaEditor<%= classifiedModuleName %>Plugin = Service.extend({
if(cards.length > 0){
hintsRegistry.addHints(hrId, this.get('who'), cards);
}
}).restartable(),
}),

/**
* Given context object, tries to detect a context the plugin can work on
Expand Down

0 comments on commit f7c2e8d

Please sign in to comment.