Browse Source

Should resolve in all cases even if missing a component

tags/v0.10.4^2
kckckc 2 years ago
parent
commit
9661a902ca
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/client/js/components/components.js

+ 3
- 0
src/client/js/components/components.js View File

@@ -61,6 +61,9 @@ define([
this.templates[target] = $.extend(true, this.templates[target], template);
resolve();
});
} else {
// There's no file for that component type for us to extend
resolve();
}
} else {
this.templates[target] = $.extend(true, this.templates[target], template);


Loading…
Cancel
Save