# nodegame-window change log

## 7.0.0
- Improved error messages for setInnerHTML
- Frame loading waits for the callback to be executed.
- WaitScreen texts are all paramterers (thanks jjensenius3).


## 6.2.0
- InfoPanel scrolls into view when opened.
- W.createInfoPanel creates toggle button by default.
- InfoPanel.createToggleBtn alias for InfoPanel.createToggleButton.

## 6.1.1
- Fixed no doc in previous update.

## 6.1.0
- If images are on page, it calls W.adjustFrameHeight after all images are
loaded.

## 6.0.2
- Fixed auto scroll-up default.
- Fixed undefined var root in generateInfoPanel.

## 6.0.0
- Auto-scroll up when loading a new frame.

## 5.4.0
- Auto adjusting of frame height can be disabled setting the conf option
adjustFrameHeight to false. In this case, it is set to '100vh' (full screen).

## 5.3.0
- Table accepts cells with a colpan attribute.

## 5.2.1
- Fixed bug in W.adjustFrameHeight occurring when server is slow to send the
page.

## 5.2.0
- `W.cssRule` adds a quick css rule to the page (a style tag is added, and referenced at W.styleElement).

## 5.1.0
- W.show, W.hide, W.toggle call W.adjustFrameHeight.
- Widgets garbage collection is called after destroying page, frame, or header.

## 5.0.0
- HTMLRendered updated to display functions

## 4.0.0
- Removed W.getScreenInfo(). Just use window.screen!
- `#W.getEventButton()` and `#W.addEventButton()` changed input parameters (following changes W.get).
- InfoPanel.

## 3.5.2
- Fixed bug overwriting `#W.unprocessedUri`.

## 3.5.1
- `#W.unprocessedUri keeps reference of the last uri parameter passed to `#W.loadFrame()`.

## 3.5.0
- `#W.addLoadingDots()` returns an object containing the stop method and the span.

## 3.0.1
- Fixed `#W.generateHeader()`.

## 3.0.0
- 02/10/2016 NodeGame Version Upgrade.

## 2.1.0
- Table class checks for null values as input.

## 2.0.1
- Minor cleanup.

## 2.0.0

- 'HEADER_GENERATED' and 'FRAME_GENERATED' events emitted on `ng` event emitter.

## 1.2.0
- `GameWindow.setInnerHTML(search, replace, mod) (break v.1.1.0).
- `GameWindow.searchReplace(elements, mod, prefix) (compatible with setInnerHTML v.1.1.0)

## 1.1.1
- Disable back button method is imported from JSUS.

## 1.1.0

- Fixed bug with Explorer and accessing iframe content
- `#disableBackButton()` method added to disable the back button.
- `#setInnerHTML()` method to set the .innerHTML property of a list of HTML elements identified by id or classname.
- Updated Table class (easier to handle TR).


## 1.0.1
 - GameWindow.getElementsByClassName changed syntax. By default looks up in iframe now.

## 1.0.0
 - GameWindow.state -> GameWindow.stateLevel.
 - loadFrame emits 'LOADED' directly if that is the case.
 - Event 'WINDOW_LOADED' removed.
 - Added event: 'FRAME_LOADED'.
 - Added listener on onload to disconnect the client. This way also non-websockets disconnections are detected immediately.
 - `textOnleave` -> `promptOnleaveText` for consistency with option promptOnleave.
 - Listeners are added with a dedicated method now.
 - IE8 Compatibility: noscript tags are hidden.
 - `#GameWindow.destroyFrame()` checks for existence of frameRoot.
 - Travis Integration Testing.
 - No error thrown on HIDE/SHOW/TOGGLE listeners.
 - New setup functions: frame, header, and page.
 - New methods: `#GameWindow.clearPage()` and `#GameWindow.clearPageBody()`.
 - `#GameWindow.loadFrame()` adds the name of the HTTP channel by default, if the uri load does not start with '/' or 'http://'.
 - `#GameWindow.loadFrame()` can add a prefix to all loaded uri, if the uri load does not start with '/' or 'http://'.
 - `#GameWindow.setUriChannel()`, `#GameWindow.setUriPrefix()`.
 - Removed `#GameWindow.setupFrame()`.

## 0.9.7
 - `#clearFrame()` is synchronous now.
 - New testing framework.
 - Documentation updates.

## 0.9.1
 - Wait Screen is not displayed if the are no more steps in the sequence

## 0.9.0
 - Change log of new version starts here
