Skip to content

Commit c311d95

Browse files
committed
Added get to StateManager
1 parent 158c171 commit c311d95

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

v3/src/checksum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
var CHECKSUM = {
2-
build: '33d1d0a0-6117-11e7-955b-91742f26d4f3'
2+
build: '1e0381c0-6125-11e7-9207-dda8a31646eb'
33
};
44
module.exports = CHECKSUM;

v3/src/plugins/StateManager.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,11 @@ var StateManager = new Class({
178178
this._queue.push({ type: 'sendToBack' });
179179
},
180180

181+
get: function (key)
182+
{
183+
return this.manager.getState(key);
184+
},
185+
181186
transitionTo: function (key, duration)
182187
{
183188
},

0 commit comments

Comments
 (0)