-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.js
51 lines (48 loc) · 1.01 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/**
* @license MIT http://troopjs.mit-license.org/
*/
define([
"troopjs-dom/config",
"module",
"mu-merge/main"
], function (config, module, merge) {
"use strict";
/**
* @class widget.config.widget
* @enum
* @private
*/
var WIDGET = {
/**
* Property of the widget where the **weft** resides.
*/
"$weft": "$weft",
/**
* Attribute name of the element where the **weave** resides.
*/
"weave": "data-weave",
/**
* Attribute name of the element where the **unweave** resides.
*/
"unweave": "data-unweave",
/**
* Attribute name of the element where the **woven** resides.
*/
"woven": "data-woven"
};
/**
* Provides configuration for the widget package
* @class widget.config
* @extends dom.config
* @private
* @alias feature.config
*/
return merge.call({}, config, {
/**
* Widget related configuration
* @cfg {widget.config.widget}
* @protected
*/
"widget": WIDGET
}, module.config());
});