@urso/core 0.7.63-dev → 0.7.65-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@urso/core",
3
- "version": "0.7.63-dev",
3
+ "version": "0.7.65-dev",
4
4
  "description": "HTML5 game engine",
5
5
  "main": "build/js/index.js",
6
6
  "author": "Megbrimef",
@@ -124,7 +124,7 @@ class ModulesAssetsService {
124
124
  _loadGroupRestAssets(assetsSpace, group, callback, updateCallback) {
125
125
  let loader = Urso.getInstance('Lib.Loader');
126
126
  //load update callback
127
- loader.setOnLoadUpdate(() => { updateCallback(Math.floor(param.progress)); });
127
+ loader.setOnLoadUpdate((params) => { updateCallback(Math.floor(params.progress)); });
128
128
  const noAtlasSpines = [];
129
129
 
130
130
  for (let assetModel of assetsSpace[group])
@@ -14,6 +14,7 @@ class ModulesScenesService {
14
14
  this.init();
15
15
 
16
16
  this._assetsLoadedHandler = this._assetsLoadedHandler.bind(this);
17
+ this.loadUpdate = this.loadUpdate.bind(this);
17
18
  }
18
19
 
19
20
  init() {