init
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
define([
|
||||
'tests/assets/tools',
|
||||
'tests/assets/apply/components/fn',
|
||||
'text!./config.json',
|
||||
'text!./templates/node.html'
|
||||
], function (tools, fnComponent, config, nodeTmpl) {
|
||||
'use strict';
|
||||
|
||||
var preset;
|
||||
|
||||
preset = tools.init(config, {
|
||||
'fn': nodeTmpl
|
||||
});
|
||||
|
||||
preset.fn.component = fnComponent;
|
||||
|
||||
return preset;
|
||||
});
|
||||
Reference in New Issue
Block a user