/** * Loads an animation timeline with PixiAnimate. * @class KeysTask * @memberof jibo.loader * @private * @param {String} asset.type Must be set to "keys". * @param {String} [asset.src] The keys file path. * @param {String} [asset.data] The keys file object. * @param {String} [assets.root] The root directory of stored keys file. * @param {Boolean} [asset.cache=false] `true` to cache the result. * @param {String} [asset.id] The ID of the task. * @param {Function} [asset.complete] The callback to call when the load is completed. */ /** * Tests if an asset should be loaded. * @method jibo.loader.KeysTask.test * @static * @param {Object} asset The asset to test. * @return {Boolean} `true` if the asset qualifies for this task. */ /** * The timeline source path. * @name jibo.loader.KeysTask#src * @type {String} */ /** * The timeline object. * @name jibo.loader.KeysTask#data * @type {String} */ /** * The root for the project. * @name jibo.loader.KeysTask#root * @type {String} */ /** * Load texture immediate to the GPU. * @name jibo.loader.KeysTask#upload * @type {Boolean} */ /** * Starts the load. * @method jibo.loader.KeysTask#start * @param {jibo.loader.Task~completeCallback} callback Callback to call when the load is done */