Skip to content

Commit

Permalink
Quick property name change for issue #23
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminHarding committed Feb 23, 2015
1 parent 578c67e commit e7c750b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions build/kiwi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -774,14 +774,14 @@ declare module Kiwi {
* A flag indicating if the page is currently visible (using the Visiblity API).
* If the Visiblity API is unsupported this will remain set to true regardless of focus / blur events.
*
* @property visible
* @property visibility
* @type boolean
* @default true
* @readOnly
* @since 1.3.0
* @public
*/
visible: boolean;
visibility: boolean;
/**
* Contains string used to access the `hidden` property on the document.
*
Expand Down
4 changes: 2 additions & 2 deletions build/kiwi.js
Original file line number Diff line number Diff line change
Expand Up @@ -1126,12 +1126,12 @@ var Kiwi;
}
}
};
Object.defineProperty(Stage.prototype, "visible", {
Object.defineProperty(Stage.prototype, "visibility", {
/**
* A flag indicating if the page is currently visible (using the Visiblity API).
* If the Visiblity API is unsupported this will remain set to true regardless of focus / blur events.
*
* @property visible
* @property visibility
* @type boolean
* @default true
* @readOnly
Expand Down
2 changes: 1 addition & 1 deletion build/kiwi.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/core/Stage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -892,14 +892,14 @@ module Kiwi {
* A flag indicating if the page is currently visible (using the Visiblity API).
* If the Visiblity API is unsupported this will remain set to true regardless of focus / blur events.
*
* @property visible
* @property visibility
* @type boolean
* @default true
* @readOnly
* @since 1.3.0
* @public
*/
public get visible():boolean {
public get visibility():boolean {

if (this._visibility) {
return !document[this._visibility];
Expand Down
4 changes: 2 additions & 2 deletions templateGame/lib/kiwi.js
Original file line number Diff line number Diff line change
Expand Up @@ -1126,12 +1126,12 @@ var Kiwi;
}
}
};
Object.defineProperty(Stage.prototype, "visible", {
Object.defineProperty(Stage.prototype, "visibility", {
/**
* A flag indicating if the page is currently visible (using the Visiblity API).
* If the Visiblity API is unsupported this will remain set to true regardless of focus / blur events.
*
* @property visible
* @property visibility
* @type boolean
* @default true
* @readOnly
Expand Down

0 comments on commit e7c750b

Please sign in to comment.