fileName change to path and componentName changed to name

This commit is contained in:
Vladimir Enchev
2015-07-07 15:36:20 +03:00
parent 3aa8c04929
commit 09d289131e
3 changed files with 11 additions and 11 deletions

View File

@@ -227,7 +227,7 @@ export function load(arg: any): view.View {
if (arguments.length === 1) {
if (!types.isString(arguments[0])) {
var options = <definition.LoadOptions>arguments[0];
componentModule = loadCustomComponent(options.fileName, options.componentName, undefined, options.exports);
componentModule = loadCustomComponent(options.path, options.name, undefined, options.exports);
} else {
componentModule = loadInternal(<string>arguments[0]);
}