src/search/FindBar.js
Function open
has 168 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
FindBar.prototype.open = function () {
var self = this;
// Normally, creating a new Find bar will simply cause the old one to close
// automatically. This can cause timing issues because the focus change might
File FindBar.js
has 432 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* Copyright (c) 2014 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
Function showSearchHints
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
FindBar.prototype.showSearchHints = function () {
var self = this;
var searchFieldInput = self.$("#find-what");
this.searchField = new QuickSearchField(searchFieldInput, {
verticalAdjust: searchFieldInput.offset().top > 0 ? 0 : this._modalBar.getRoot().outerHeight(),