Skip to content

Commit f11f686

Browse files
committed
Bumping versions and rebuilding
1 parent 4f2dfdf commit f11f686

File tree

5 files changed

+18
-28
lines changed

5 files changed

+18
-28
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "springroll-container",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"main": "dist/container.min.js",
55
"dependencies":
66
{

dist/container.js

Lines changed: 13 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! SpringRoll Container 1.1.1 */
1+
/*! SpringRoll Container 1.1.2 */
22
/**
33
* @module Core
44
* @namespace window
@@ -1389,9 +1389,9 @@
13891389
* @property {String} version
13901390
* @static
13911391
* @readOnly
1392-
* @default "1.1.1"
1392+
* @default "1.1.2"
13931393
*/
1394-
Container.version = "1.1.1";
1394+
Container.version = "1.1.2";
13951395

13961396
//Reference to the prototype
13971397
var s = EventDispatcher.prototype;
@@ -1521,15 +1521,11 @@
15211521
this.client.connect(this.dom);
15221522

15231523
//Handle bellhop events coming from the application
1524-
this.client.on(
1525-
{
1526-
loading: onLoading.bind(this),
1527-
progress: onProgress.bind(this),
1528-
loadDone: onLoadDone.bind(this), // @deprecated use 'loaded' instead
1529-
loaded: onLoadDone.bind(this),
1530-
endGame: onEndGame.bind(this),
1531-
localError: onLocalError.bind(this)
1532-
});
1524+
this.client.on('loading', onLoading.bind(this));
1525+
this.client.on('progress', onProgress.bind(this));
1526+
this.client.on('loaded', onLoadDone.bind(this));
1527+
this.client.on('endGame', onEndGame.bind(this));
1528+
this.client.on('localError', onLocalError.bind(this));
15331529
};
15341530

15351531
/**
@@ -2422,11 +2418,8 @@
24222418

24232419
plugin.open = function()
24242420
{
2425-
this.client.on(
2426-
{
2427-
focus: onFocus.bind(this),
2428-
keepFocus: onKeepFocus.bind(this)
2429-
});
2421+
this.client.on('focus', onFocus.bind(this));
2422+
this.client.on('keepFocus', onKeepFocus.bind(this));
24302423
};
24312424

24322425
plugin.opened = function()
@@ -3182,12 +3175,9 @@
31823175

31833176
plugin.open = function()
31843177
{
3185-
this.client.on(
3186-
{
3187-
userDataRemove: onUserDataRemove.bind(this),
3188-
userDataRead: onUserDataRead.bind(this),
3189-
userDataWrite: onUserDataWrite.bind(this),
3190-
});
3178+
this.client.on('userDataRemove', onUserDataRemove.bind(this));
3179+
this.client.on('userDataRead', onUserDataRead.bind(this));
3180+
this.client.on('userDataWrite', onUserDataWrite.bind(this));
31913181
};
31923182

31933183
/**

0 commit comments

Comments
 (0)