-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTestInjectExt.html
More file actions
46 lines (32 loc) · 873 Bytes
/
TestInjectExt.html
File metadata and controls
46 lines (32 loc) · 873 Bytes
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
<link rel="import" href="TestInject.html">
<script>
(function() {
//--------------------------------------------------------------------------
//
// Variables
//
//--------------------------------------------------------------------------
/**
* @private
*/
var def = WX.extend( TestInject, null );
/**
* @private
*/
var _super = def._super;
/**
* @private
*/
var _protected = new WeakMap();
//--------------------------------------------------------------------------
//
// Configuration
//
//--------------------------------------------------------------------------
def._config.required = [ { name: "testName" } ];
def._config.inject = function( items ) {
console.log( this, "TestInjectExt.inject()", items );
}
WX.registerElement( def, "TestInjectExt" );
})();
</script>