removed unnecessary factory classes, simplified existing services

This commit is contained in:
alecmerdler 2017-01-23 01:57:00 -08:00
parent 2a59014f0b
commit 64a4b68216
15 changed files with 69 additions and 158 deletions

View file

@ -1,3 +1,4 @@
import { ViewArrayImpl } from "static/js/services/view-array/view-array.impl";
/**
* Specialized wrapper around array which provides a toggle() method for viewing the contents of the
* array in a manner that is asynchronously filled in over a short time period. This prevents long
@ -59,4 +60,10 @@ export abstract class ViewArray {
* @param newState True/False if the contents are visible.
*/
public abstract setVisible(newState: boolean): void;
/**
* Factory function to create a new ViewArray.
* @return viewArray New ViewArray instance.
*/
public abstract create(): ViewArrayImpl;
}