Restructured library.
This commit is contained in:
Executable
+80
@@ -0,0 +1,80 @@
|
||||
import App from './app.js'
|
||||
import Doctest from './doctest.js'
|
||||
import Errors from './errors.js'
|
||||
import Events from './events.js'
|
||||
import {DOMFlip, DOMFlippable, CardLoader, PDFLoader, ImageLoader, FrameLoader, HTMLLoader} from './flippable.js'
|
||||
import Index from './index.js'
|
||||
import Interface from './interface.js'
|
||||
import Poppable from './poppable.js'
|
||||
import PopupMenu from './popupmenu.js'
|
||||
import Popup from './popup.js'
|
||||
import {IApp} from './app.js'
|
||||
import {Capabilities, CapabilitiesTests} from './capabilities.js'
|
||||
import {EventRecorder} from './events.js'
|
||||
import {FrameContainer, FrameTarget} from './frames.js'
|
||||
import {Inspect} from './inspect.js'
|
||||
import {PointMap, InteractionPoints, Interaction, IInteractionTarget, InteractionDelta, InteractionMapper, InteractionDelegate, IInteractionMapperTarget} from './interaction.js'
|
||||
import {ResizeEvent, DOMScatterContainer, AbstractScatter, DOMScatter, ScatterEvent, BaseEvent} from './scatter.js'
|
||||
import {Cycle, Colors, Elements, Angle, Dates, Points, Polygon, Rect, Sets, Strings, isEmpty, getId, lerp, debounce, randomInt, randomFloat} from './utils.js'
|
||||
import UITest from './uitest.js'
|
||||
|
||||
/* Needed to ensure that rollup.js includes class definitions and the classes
|
||||
are visible inside doctests.
|
||||
*/
|
||||
|
||||
window.AbstractScatter = AbstractScatter
|
||||
window.Angle = Angle
|
||||
window.App = App
|
||||
window.BaseEvent = BaseEvent
|
||||
window.Capabilities = Capabilities
|
||||
window.CapabilitiesTests = CapabilitiesTests
|
||||
window.Colors = Colors
|
||||
window.Cycle = Cycle
|
||||
|
||||
window.DOMFlip = DOMFlip
|
||||
window.DOMFlippable = DOMFlippable
|
||||
window.CardLoader = CardLoader
|
||||
window.PDFLoader = PDFLoader
|
||||
window.HTMLLoader = HTMLLoader
|
||||
window.ImageLoader = ImageLoader
|
||||
window.FrameLoader = FrameLoader
|
||||
|
||||
window.DOMScatter = DOMScatter
|
||||
window.DOMScatterContainer = DOMScatterContainer
|
||||
window.Dates = Dates
|
||||
window.Doctest = Doctest
|
||||
window.Elements = Elements
|
||||
window.Errors = Errors
|
||||
window.EventRecorder = EventRecorder
|
||||
window.Events = Events
|
||||
window.FrameContainer = FrameContainer
|
||||
window.FrameTarget = FrameTarget
|
||||
window.IApp = IApp
|
||||
window.IInteractionMapperTarget = IInteractionMapperTarget
|
||||
window.IInteractionTarget = IInteractionTarget
|
||||
window.Index = Index
|
||||
window.Inspect = Inspect
|
||||
window.Interaction = Interaction
|
||||
window.InteractionDelegate = InteractionDelegate
|
||||
window.InteractionDelta = InteractionDelta
|
||||
window.InteractionMapper = InteractionMapper
|
||||
window.InteractionPoints = InteractionPoints
|
||||
window.Interface = Interface
|
||||
window.PointMap = PointMap
|
||||
window.Rect = Rect
|
||||
window.Points = Points
|
||||
window.Polygon = Polygon
|
||||
window.Poppable = Poppable
|
||||
window.Popup = Popup
|
||||
window.PopupMenu = PopupMenu
|
||||
window.ResizeEvent = ResizeEvent
|
||||
window.ScatterEvent = ScatterEvent
|
||||
window.Sets = Sets
|
||||
window.Strings = Strings
|
||||
window.UITest = UITest
|
||||
window.getId = getId
|
||||
window.isEmpty = isEmpty
|
||||
window.lerp = lerp
|
||||
window.debounce = debounce
|
||||
window.randomInt = randomInt
|
||||
window.randomFloat = randomFloat
|
||||
Reference in New Issue
Block a user