forked from prettier/prettier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample2.js
93 lines (80 loc) · 2.59 KB
/
sample2.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
const items = [
this._modePanel,
this.fullComponentNameLabel,
this.newFullComponentNameLabel,
this.editExistingButton,
this.manualList,
];
// иииииииииии:
const initEditorEvents = () => {
this.detachEditorEvents();
this._eventsDisposables.push(this._editor.onDidFocusEditorText(() => this.fireEvent('focus', this)), this._editor.onDidBlurEditorText(() => this.fireEvent('blur', this)), this._editor.onMouseUp(e => e.target.type === AAAAAA_LINE_NUMBERS && this.fireEvent('lineNumberClick', e.target.position.lineNumber, e)), this._editor.onDidChangeModelContent(e => this.fireEvent('change', this, this._editor.getValue())), this._editor.onDidChangeModel(e => this.fireEvent('change', this, this._editor.getValue())));
};
// иииииииииии:
<div>
<Button
onClick={()=>{
window.open('htadsasdasdadsadsasdadsasdasdadsadsadsadsadsasdadstssssssadsasdasdasdd', '_blank');
}}>Где
взять
личный
Pipeline
токен
(Pipeline
Triggers)</Button>
</div>
// иииииииииии:
const superFunc = ()=>{
options.column.setEditor(
Ext.create('Ext.form.aaaasda', {
multiSelect: true,
forceSelection: true,
store: Ext.create('Ext.data.Store', {
fields: ['value', 'display'],
data: data.map(function (d){
return {value: d, display: values && values[d] ? values[d] : d};
}),
}),
queryMode: 'local',
displayField: 'display',
valueField: 'value',
}),
);
return {
clearList: function(){
Ext.create('Conf.view.base.Window', {
title: TEXT.get('web.CONF.AdmScrlbalbalbalbalbalabalbablablalbalbalbalbalbalabalbablablaarList.Title'),
width: 500,
height: 100,
closeAction: 'destroy',
items: [
{
xtype: 'sssssss',
items: [
Ext.create('Conf.view.base.DatetimeField', {
margin: '10 10 10 10',
itemId: 'asdasdasdasd',
fieldLabel: TEXT.get('web.CONF.AblallablablbalbalbalbalbalabalbablablablablablablablabateTo'),
labelWidth: 180,
labelPad: 10,
})],
},
],
bbar: {
items: [
'->',
{
xtype: 'button',
text: TEXT.get('web.CONF.lbalbalbalbalbalabalbablablaarList.ButtonClear'),
handler: function(btn){
const wnd = btn.up('window');
this.asdadssadasd(wnd.down('[itemId=asd]').getValue());
wnd.hide();
}.bind(this),
},
],
},
}).show();
},
arr:[()=>[{supeaaaaa:()=>{},'aaaaaaaaaaaaaaaa':1,'aaaaaaa5665aaaaaaaaa':1,'aaaaaaaaaaaa66aaaa':1,'aaaaaaaaaa88aaaaaa':1,'aaaaaaaaaaaa2aaaa':1,'aaaaaaaaaaaa33aaaa':1,'aaaaaaaaaa4aaaaaa':1,'aaaaaaaaaaaa5aaaa':1,}]]}
};