Skip to content

Commit 4e85291

Browse files
committed
Remove keymap as not used
1 parent 59ec205 commit 4e85291

16 files changed

+55
-659
lines changed

dist/select.bootstrap.js

+8-108
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* ui-select
33
* http://github.com/angular-ui/ui-select
4-
* Version: 0.12.1 - 2015-08-06T11:06:02.027Z
4+
* Version: 0.12.1 - 2015-08-06T13:28:34.955Z
55
* License: MIT
66
*/
77

@@ -28,110 +28,6 @@ var KEY = {
2828
DELETE: 46,
2929
COMMAND: 91,
3030

31-
MAP: {
32-
91: "COMMAND",
33-
8: "BACKSPACE",
34-
9: "TAB",
35-
13: "ENTER",
36-
16: "SHIFT",
37-
17: "CTRL",
38-
18: "ALT",
39-
19: "PAUSEBREAK",
40-
20: "CAPSLOCK",
41-
27: "ESC",
42-
32: "SPACE",
43-
33: "PAGE_UP",
44-
34: "PAGE_DOWN",
45-
35: "END",
46-
36: "HOME",
47-
37: "LEFT",
48-
38: "UP",
49-
39: "RIGHT",
50-
40: "DOWN",
51-
43: "+",
52-
44: "PRINTSCREEN",
53-
45: "INSERT",
54-
46: "DELETE",
55-
48: "0",
56-
49: "1",
57-
50: "2",
58-
51: "3",
59-
52: "4",
60-
53: "5",
61-
54: "6",
62-
55: "7",
63-
56: "8",
64-
57: "9",
65-
59: ";",
66-
61: "=",
67-
65: "A",
68-
66: "B",
69-
67: "C",
70-
68: "D",
71-
69: "E",
72-
70: "F",
73-
71: "G",
74-
72: "H",
75-
73: "I",
76-
74: "J",
77-
75: "K",
78-
76: "L",
79-
77: "M",
80-
78: "N",
81-
79: "O",
82-
80: "P",
83-
81: "Q",
84-
82: "R",
85-
83: "S",
86-
84: "T",
87-
85: "U",
88-
86: "V",
89-
87: "W",
90-
88: "X",
91-
89: "Y",
92-
90: "Z",
93-
96: "0",
94-
97: "1",
95-
98: "2",
96-
99: "3",
97-
100: "4",
98-
101: "5",
99-
102: "6",
100-
103: "7",
101-
104: "8",
102-
105: "9",
103-
106: "*",
104-
107: "+",
105-
109: "-",
106-
110: ".",
107-
111: "/",
108-
112: "F1",
109-
113: "F2",
110-
114: "F3",
111-
115: "F4",
112-
116: "F5",
113-
117: "F6",
114-
118: "F7",
115-
119: "F8",
116-
120: "F9",
117-
121: "F10",
118-
122: "F11",
119-
123: "F12",
120-
144: "NUMLOCK",
121-
145: "SCROLLLOCK",
122-
186: ";",
123-
187: "=",
124-
188: ",",
125-
189: "-",
126-
190: ".",
127-
191: "/",
128-
192: "`",
129-
219: "[",
130-
220: "\\",
131-
221: "]",
132-
222: "'"
133-
},
134-
13531
isControl: function (e) {
13632
var k = e.which;
13733
switch (k) {
@@ -605,10 +501,10 @@ uis.controller('uiSelectCtrl',
605501
return isDisabled;
606502
};
607503

608-
609504
/**
610505
* Selects an item. Calls the onBeforeSelect and onSelect callbacks
611-
* onBeforeSelect can alter or abort the selection
506+
* onBeforeSelect is called to allow the user to alter or abort the selection
507+
* onSelect is called to notify the user of the selection
612508
*
613509
* Called when the user selects an item with ENTER or clicks the dropdown
614510
*/
@@ -1255,7 +1151,11 @@ uis.directive('uiSelectMultiple', ['uiSelectMinErr', '$timeout', function (uiSel
12551151
$select.sizeSearchInput();
12561152
};
12571153

1258-
// Remove item from multiple select
1154+
/**
1155+
* Remove item from multiple select
1156+
* Calls onBeforeRemove to allow the user to prevent the removal of the item
1157+
* Then calls onRemove to notify the user the item has been removed
1158+
*/
12591159
ctrl.removeChoice = function (index) {
12601160
var removedChoice = $select.selected[index];
12611161

dist/select.bootstrap.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/select.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* ui-select
33
* http://github.com/angular-ui/ui-select
4-
* Version: 0.12.1 - 2015-08-06T11:06:02.064Z
4+
* Version: 0.12.1 - 2015-08-06T13:28:34.992Z
55
* License: MIT
66
*/
77

dist/select.js

+8-108
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* ui-select
33
* http://github.com/angular-ui/ui-select
4-
* Version: 0.12.1 - 2015-08-06T11:06:02.062Z
4+
* Version: 0.12.1 - 2015-08-06T13:28:34.991Z
55
* License: MIT
66
*/
77

@@ -173,110 +173,6 @@ var KEY = {
173173
DELETE: 46,
174174
COMMAND: 91,
175175

176-
MAP: {
177-
91: "COMMAND",
178-
8: "BACKSPACE",
179-
9: "TAB",
180-
13: "ENTER",
181-
16: "SHIFT",
182-
17: "CTRL",
183-
18: "ALT",
184-
19: "PAUSEBREAK",
185-
20: "CAPSLOCK",
186-
27: "ESC",
187-
32: "SPACE",
188-
33: "PAGE_UP",
189-
34: "PAGE_DOWN",
190-
35: "END",
191-
36: "HOME",
192-
37: "LEFT",
193-
38: "UP",
194-
39: "RIGHT",
195-
40: "DOWN",
196-
43: "+",
197-
44: "PRINTSCREEN",
198-
45: "INSERT",
199-
46: "DELETE",
200-
48: "0",
201-
49: "1",
202-
50: "2",
203-
51: "3",
204-
52: "4",
205-
53: "5",
206-
54: "6",
207-
55: "7",
208-
56: "8",
209-
57: "9",
210-
59: ";",
211-
61: "=",
212-
65: "A",
213-
66: "B",
214-
67: "C",
215-
68: "D",
216-
69: "E",
217-
70: "F",
218-
71: "G",
219-
72: "H",
220-
73: "I",
221-
74: "J",
222-
75: "K",
223-
76: "L",
224-
77: "M",
225-
78: "N",
226-
79: "O",
227-
80: "P",
228-
81: "Q",
229-
82: "R",
230-
83: "S",
231-
84: "T",
232-
85: "U",
233-
86: "V",
234-
87: "W",
235-
88: "X",
236-
89: "Y",
237-
90: "Z",
238-
96: "0",
239-
97: "1",
240-
98: "2",
241-
99: "3",
242-
100: "4",
243-
101: "5",
244-
102: "6",
245-
103: "7",
246-
104: "8",
247-
105: "9",
248-
106: "*",
249-
107: "+",
250-
109: "-",
251-
110: ".",
252-
111: "/",
253-
112: "F1",
254-
113: "F2",
255-
114: "F3",
256-
115: "F4",
257-
116: "F5",
258-
117: "F6",
259-
118: "F7",
260-
119: "F8",
261-
120: "F9",
262-
121: "F10",
263-
122: "F11",
264-
123: "F12",
265-
144: "NUMLOCK",
266-
145: "SCROLLLOCK",
267-
186: ";",
268-
187: "=",
269-
188: ",",
270-
189: "-",
271-
190: ".",
272-
191: "/",
273-
192: "`",
274-
219: "[",
275-
220: "\\",
276-
221: "]",
277-
222: "'"
278-
},
279-
280176
isControl: function (e) {
281177
var k = e.which;
282178
switch (k) {
@@ -750,10 +646,10 @@ uis.controller('uiSelectCtrl',
750646
return isDisabled;
751647
};
752648

753-
754649
/**
755650
* Selects an item. Calls the onBeforeSelect and onSelect callbacks
756-
* onBeforeSelect can alter or abort the selection
651+
* onBeforeSelect is called to allow the user to alter or abort the selection
652+
* onSelect is called to notify the user of the selection
757653
*
758654
* Called when the user selects an item with ENTER or clicks the dropdown
759655
*/
@@ -1400,7 +1296,11 @@ uis.directive('uiSelectMultiple', ['uiSelectMinErr', '$timeout', function (uiSel
14001296
$select.sizeSearchInput();
14011297
};
14021298

1403-
// Remove item from multiple select
1299+
/**
1300+
* Remove item from multiple select
1301+
* Calls onBeforeRemove to allow the user to prevent the removal of the item
1302+
* Then calls onRemove to notify the user the item has been removed
1303+
*/
14041304
ctrl.removeChoice = function (index) {
14051305
var removedChoice = $select.selected[index];
14061306

dist/select.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/select.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)