Show More
@@ -618,7 +618,8 b' define([' | |||
|
618 | 618 | if (module_name) { |
|
619 | 619 | require([module_name], function(module) { |
|
620 | 620 | if (module[class_name] === undefined) { |
|
621 |
|
|
|
621 | console.error('Class '+class_name+' not found in module '+module_name) | |
|
622 | reject(); | |
|
622 | 623 | } else { |
|
623 | 624 | resolve(module[class_name]); |
|
624 | 625 | } |
@@ -627,7 +628,8 b' define([' | |||
|
627 | 628 | if (registry && registry[class_name]) { |
|
628 | 629 | resolve(registry[class_name]); |
|
629 | 630 | } else { |
|
630 |
|
|
|
631 | console.error('Class '+class_name+' not found in registry ', registry); | |
|
632 | reject(); | |
|
631 | 633 | } |
|
632 | 634 | } |
|
633 | 635 | }); |
General Comments 0
You need to be logged in to leave comments.
Login now