scripts/apps/authoring/editor/find-replace.ts
Function FindReplaceDirective
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function FindReplaceDirective(editorResolver, macros) {
return {
link: function(scope, elem) {
const editor = editorResolver.get();
Function link
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function(scope, elem) {
const editor = editorResolver.get();
scope.to = '';
scope.from = '';