Update demo to use Webpack

This commit is contained in:
Paris Kasidiaris
2017-12-12 08:46:06 +00:00
parent e39d10e12f
commit 8830820821
12 changed files with 61 additions and 30 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ import { SearchHelper } from './SearchHelper';
* @param term Tne search term.
* @return Whether a result was found.
*/
function findNext(terminal: any, term: string): boolean {
export function findNext(terminal: any, term: string): boolean {
if (!terminal._searchHelper) {
terminal.searchHelper = new SearchHelper(terminal);
}
@@ -25,7 +25,7 @@ function findNext(terminal: any, term: string): boolean {
* @param term Tne search term.
* @return Whether a result was found.
*/
function findPrevious(terminal: any, term: string): boolean {
export function findPrevious(terminal: any, term: string): boolean {
if (!terminal._searchHelper) {
terminal.searchHelper = new SearchHelper(terminal);
}