fomantic-ui 2.9.0-beta.311 → 2.9.0-beta.314
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +2 -2
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +2 -2
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +4 -4
- package/dist/components/api.min.js +2 -2
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +1 -1
- package/dist/components/button.min.css +1 -1
- package/dist/components/calendar.css +1 -1
- package/dist/components/calendar.js +3 -4
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +2 -2
- package/dist/components/card.css +1 -1
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +1 -1
- package/dist/components/checkbox.js +2 -2
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +2 -2
- package/dist/components/comment.css +1 -1
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +1 -1
- package/dist/components/container.min.css +1 -1
- package/dist/components/dimmer.css +5 -5
- package/dist/components/dimmer.js +3 -6
- package/dist/components/dimmer.min.css +2 -2
- package/dist/components/dimmer.min.js +2 -2
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +1 -1
- package/dist/components/dropdown.js +24 -50
- package/dist/components/dropdown.min.css +1 -1
- package/dist/components/dropdown.min.js +2 -2
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +3 -5
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +2 -2
- package/dist/components/feed.css +1 -1
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +1 -1
- package/dist/components/flag.min.css +1 -1
- package/dist/components/form.css +1 -1
- package/dist/components/form.js +8 -13
- package/dist/components/form.min.css +1 -1
- package/dist/components/form.min.js +2 -2
- package/dist/components/grid.css +1 -1
- package/dist/components/grid.min.css +1 -1
- package/dist/components/header.css +1 -1
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +1 -1
- package/dist/components/icon.min.css +1 -1
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +1 -1
- package/dist/components/input.min.css +1 -1
- package/dist/components/item.css +1 -1
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +1 -1
- package/dist/components/label.min.css +1 -1
- package/dist/components/list.css +1 -1
- package/dist/components/list.min.css +1 -1
- package/dist/components/loader.css +1 -1
- package/dist/components/loader.min.css +1 -1
- package/dist/components/message.css +1 -1
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +7 -1
- package/dist/components/modal.js +54 -33
- package/dist/components/modal.min.css +2 -2
- package/dist/components/modal.min.js +2 -2
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +2 -2
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +2 -2
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +1 -1
- package/dist/components/popup.js +5 -13
- package/dist/components/popup.min.css +1 -1
- package/dist/components/popup.min.js +2 -2
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +3 -3
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +2 -2
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +1 -1
- package/dist/components/rating.js +2 -2
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +2 -2
- package/dist/components/reset.css +1 -1
- package/dist/components/reset.min.css +1 -1
- package/dist/components/reveal.css +1 -1
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +1 -1
- package/dist/components/search.js +11 -8
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +2 -2
- package/dist/components/segment.css +1 -1
- package/dist/components/segment.min.css +1 -1
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +2 -2
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +2 -2
- package/dist/components/sidebar.css +1 -1
- package/dist/components/sidebar.js +2 -2
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +2 -2
- package/dist/components/site.css +1 -1
- package/dist/components/site.js +2 -2
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +2 -2
- package/dist/components/slider.js +12 -14
- package/dist/components/slider.min.js +2 -2
- package/dist/components/state.js +2 -2
- package/dist/components/state.min.js +2 -2
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +1 -1
- package/dist/components/step.min.css +1 -1
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +6 -13
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +2 -2
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +2 -2
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +2 -2
- package/dist/components/table.css +1 -1
- package/dist/components/table.min.css +1 -1
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +1 -1
- package/dist/components/toast.js +4 -4
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +2 -2
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +6 -8
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +2 -2
- package/dist/components/visibility.js +2 -2
- package/dist/components/visibility.min.js +2 -2
- package/dist/semantic.css +60 -53
- package/dist/semantic.js +167 -199
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +2 -2
- package/package.json +1 -1
- package/src/definitions/behaviors/api.js +3 -3
- package/src/definitions/behaviors/form.js +7 -12
- package/src/definitions/behaviors/state.js +1 -1
- package/src/definitions/behaviors/visibility.js +1 -1
- package/src/definitions/globals/site.js +1 -1
- package/src/definitions/modules/accordion.js +1 -1
- package/src/definitions/modules/calendar.js +2 -3
- package/src/definitions/modules/checkbox.js +1 -1
- package/src/definitions/modules/dimmer.js +2 -5
- package/src/definitions/modules/dimmer.less +4 -4
- package/src/definitions/modules/dropdown.js +23 -49
- package/src/definitions/modules/embed.js +2 -4
- package/src/definitions/modules/modal.js +53 -32
- package/src/definitions/modules/modal.less +4 -0
- package/src/definitions/modules/nag.js +1 -1
- package/src/definitions/modules/popup.js +4 -12
- package/src/definitions/modules/progress.js +2 -2
- package/src/definitions/modules/rating.js +1 -1
- package/src/definitions/modules/search.js +10 -7
- package/src/definitions/modules/shape.js +1 -1
- package/src/definitions/modules/sidebar.js +1 -1
- package/src/definitions/modules/slider.js +11 -13
- package/src/definitions/modules/sticky.js +5 -12
- package/src/definitions/modules/tab.js +1 -1
- package/src/definitions/modules/toast.js +3 -3
- package/src/definitions/modules/transition.js +5 -7
package/dist/semantic.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* # Fomantic UI - 2.9.0-beta.
|
2
|
+
* # Fomantic UI - 2.9.0-beta.314+ac16a50
|
3
3
|
* https://github.com/fomantic/Fomantic-UI
|
4
4
|
* http://fomantic-ui.com/
|
5
5
|
*
|
@@ -9,7 +9,7 @@
|
|
9
9
|
*
|
10
10
|
*/
|
11
11
|
/*!
|
12
|
-
* # Fomantic-UI 2.9.0-beta.
|
12
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - Site
|
13
13
|
* http://github.com/fomantic/Fomantic-UI/
|
14
14
|
*
|
15
15
|
*
|
@@ -369,7 +369,7 @@ $.site = $.fn.site = function(parameters) {
|
|
369
369
|
response
|
370
370
|
;
|
371
371
|
passedArguments = passedArguments || queryArguments;
|
372
|
-
context =
|
372
|
+
context = context || element;
|
373
373
|
if(typeof query == 'string' && object !== undefined) {
|
374
374
|
query = query.split(/[\. ]/);
|
375
375
|
maxDepth = query.length - 1;
|
@@ -503,7 +503,7 @@ $.extend($.expr[ ":" ], {
|
|
503
503
|
})( jQuery, window, document );
|
504
504
|
|
505
505
|
/*!
|
506
|
-
* # Fomantic-UI 2.9.0-beta.
|
506
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - Form Validation
|
507
507
|
* http://github.com/fomantic/Fomantic-UI/
|
508
508
|
*
|
509
509
|
*
|
@@ -969,7 +969,7 @@ $.fn.form = function(parameters) {
|
|
969
969
|
},
|
970
970
|
beforeUnload: function(event) {
|
971
971
|
if (module.is.dirty() && !submitting) {
|
972
|
-
|
972
|
+
event = event || window.event;
|
973
973
|
|
974
974
|
// For modern browsers
|
975
975
|
if (event) {
|
@@ -1305,16 +1305,11 @@ $.fn.form = function(parameters) {
|
|
1305
1305
|
if(typeof identifier !== 'string') {
|
1306
1306
|
module.error(error.identifier, identifier);
|
1307
1307
|
}
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
1311
|
-
|
1312
|
-
|
1313
|
-
}
|
1314
|
-
else if( $field.filter('[data-' + metadata.validate + '="'+ identifier +'"]').length > 0 ) {
|
1315
|
-
return true;
|
1316
|
-
}
|
1317
|
-
return false;
|
1308
|
+
return (
|
1309
|
+
$field.filter('#' + identifier).length > 0 ||
|
1310
|
+
$field.filter('[name="' + identifier +'"]').length > 0 ||
|
1311
|
+
$field.filter('[data-' + metadata.validate + '="'+ identifier +'"]').length > 0
|
1312
|
+
);
|
1318
1313
|
}
|
1319
1314
|
|
1320
1315
|
},
|
@@ -1961,7 +1956,7 @@ $.fn.form = function(parameters) {
|
|
1961
1956
|
response
|
1962
1957
|
;
|
1963
1958
|
passedArguments = passedArguments || queryArguments;
|
1964
|
-
context =
|
1959
|
+
context = context || element;
|
1965
1960
|
if(typeof query == 'string' && object !== undefined) {
|
1966
1961
|
query = query.split(/[\. ]/);
|
1967
1962
|
maxDepth = query.length - 1;
|
@@ -2584,7 +2579,7 @@ $.fn.form.settings = {
|
|
2584
2579
|
})( jQuery, window, document );
|
2585
2580
|
|
2586
2581
|
/*!
|
2587
|
-
* # Fomantic-UI 2.9.0-beta.
|
2582
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - Accordion
|
2588
2583
|
* http://github.com/fomantic/Fomantic-UI/
|
2589
2584
|
*
|
2590
2585
|
*
|
@@ -3081,7 +3076,7 @@ $.fn.accordion = function(parameters) {
|
|
3081
3076
|
response
|
3082
3077
|
;
|
3083
3078
|
passedArguments = passedArguments || queryArguments;
|
3084
|
-
context =
|
3079
|
+
context = context || element;
|
3085
3080
|
if(typeof query == 'string' && object !== undefined) {
|
3086
3081
|
query = query.split(/[\. ]/);
|
3087
3082
|
maxDepth = query.length - 1;
|
@@ -3209,7 +3204,7 @@ $.extend( $.easing, {
|
|
3209
3204
|
|
3210
3205
|
|
3211
3206
|
/*!
|
3212
|
-
* # Fomantic-UI 2.9.0-beta.
|
3207
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - Calendar
|
3213
3208
|
* http://github.com/fomantic/Fomantic-UI/
|
3214
3209
|
*
|
3215
3210
|
*
|
@@ -3809,9 +3804,9 @@ $.fn.calendar = function(parameters) {
|
|
3809
3804
|
}
|
3810
3805
|
|
3811
3806
|
if (module.popup('is visible')) {
|
3807
|
+
var mode = module.get.mode();
|
3812
3808
|
if (keyCode === 37 || keyCode === 38 || keyCode === 39 || keyCode === 40) {
|
3813
3809
|
//arrow keys
|
3814
|
-
var mode = module.get.mode();
|
3815
3810
|
var bigIncrement = mode === 'day' ? 7 : mode === 'hour' ? 4 : mode === 'minute' ? timeGap['column'] : 3;
|
3816
3811
|
var increment = keyCode === 37 ? -1 : keyCode === 38 ? -bigIncrement : keyCode == 39 ? 1 : bigIncrement;
|
3817
3812
|
increment *= mode === 'minute' ? settings.minTimeGap : 1;
|
@@ -3830,7 +3825,6 @@ $.fn.calendar = function(parameters) {
|
|
3830
3825
|
}
|
3831
3826
|
} else if (keyCode === 13) {
|
3832
3827
|
//enter
|
3833
|
-
var mode = module.get.mode();
|
3834
3828
|
var date = module.get.focusDate();
|
3835
3829
|
if (date && !settings.isDisabled(date, mode) && !module.helper.isDisabled(date, mode) && module.helper.isEnabled(date, mode)) {
|
3836
3830
|
if (settings.onSelect.call(element, date, module.get.mode()) !== false) {
|
@@ -4623,7 +4617,7 @@ $.fn.calendar = function(parameters) {
|
|
4623
4617
|
response
|
4624
4618
|
;
|
4625
4619
|
passedArguments = passedArguments || queryArguments;
|
4626
|
-
context =
|
4620
|
+
context = context || element;
|
4627
4621
|
if (typeof query == 'string' && object !== undefined) {
|
4628
4622
|
query = query.split(/[\. ]/);
|
4629
4623
|
maxDepth = query.length - 1;
|
@@ -5101,7 +5095,7 @@ $.fn.calendar.settings = {
|
|
5101
5095
|
})(jQuery, window, document);
|
5102
5096
|
|
5103
5097
|
/*!
|
5104
|
-
* # Fomantic-UI 2.9.0-beta.
|
5098
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - Checkbox
|
5105
5099
|
* http://github.com/fomantic/Fomantic-UI/
|
5106
5100
|
*
|
5107
5101
|
*
|
@@ -5856,7 +5850,7 @@ $.fn.checkbox = function(parameters) {
|
|
5856
5850
|
response
|
5857
5851
|
;
|
5858
5852
|
passedArguments = passedArguments || queryArguments;
|
5859
|
-
context =
|
5853
|
+
context = context || element;
|
5860
5854
|
if(typeof query == 'string' && object !== undefined) {
|
5861
5855
|
query = query.split(/[\. ]/);
|
5862
5856
|
maxDepth = query.length - 1;
|
@@ -5985,7 +5979,7 @@ $.fn.checkbox.settings = {
|
|
5985
5979
|
})( jQuery, window, document );
|
5986
5980
|
|
5987
5981
|
/*!
|
5988
|
-
* # Fomantic-UI 2.9.0-beta.
|
5982
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - Dimmer
|
5989
5983
|
* http://github.com/fomantic/Fomantic-UI/
|
5990
5984
|
*
|
5991
5985
|
*
|
@@ -6366,10 +6360,7 @@ $.fn.dimmer = function(parameters) {
|
|
6366
6360
|
},
|
6367
6361
|
closable: function() {
|
6368
6362
|
if(settings.closable == 'auto') {
|
6369
|
-
|
6370
|
-
return false;
|
6371
|
-
}
|
6372
|
-
return true;
|
6363
|
+
return settings.on != 'hover';
|
6373
6364
|
}
|
6374
6365
|
return settings.closable;
|
6375
6366
|
},
|
@@ -6588,7 +6579,7 @@ $.fn.dimmer = function(parameters) {
|
|
6588
6579
|
response
|
6589
6580
|
;
|
6590
6581
|
passedArguments = passedArguments || queryArguments;
|
6591
|
-
context =
|
6582
|
+
context = context || element;
|
6592
6583
|
if(typeof query == 'string' && object !== undefined) {
|
6593
6584
|
query = query.split(/[\. ]/);
|
6594
6585
|
maxDepth = query.length - 1;
|
@@ -6754,7 +6745,7 @@ $.fn.dimmer.settings = {
|
|
6754
6745
|
})( jQuery, window, document );
|
6755
6746
|
|
6756
6747
|
/*!
|
6757
|
-
* # Fomantic-UI 2.9.0-beta.
|
6748
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - Dropdown
|
6758
6749
|
* http://github.com/fomantic/Fomantic-UI/
|
6759
6750
|
*
|
6760
6751
|
*
|
@@ -6983,7 +6974,6 @@ $.fn.dropdown = function(parameters) {
|
|
6983
6974
|
var
|
6984
6975
|
$userChoices,
|
6985
6976
|
$userChoice,
|
6986
|
-
isUserValue,
|
6987
6977
|
html
|
6988
6978
|
;
|
6989
6979
|
values = values || module.get.userValues();
|
@@ -7669,30 +7659,18 @@ $.fn.dropdown = function(parameters) {
|
|
7669
7659
|
}
|
7670
7660
|
if(settings.match === 'both' || settings.match === 'text') {
|
7671
7661
|
text = module.remove.diacritics(String(module.get.choiceText($choice, false)));
|
7672
|
-
if(text.search(beginsWithRegExp) !== -1
|
7673
|
-
|
7674
|
-
|
7675
|
-
}
|
7676
|
-
else if (settings.fullTextSearch === 'exact' && module.exactSearch(searchTerm, text)) {
|
7677
|
-
results.push(this);
|
7678
|
-
return true;
|
7679
|
-
}
|
7680
|
-
else if (settings.fullTextSearch === true && module.fuzzySearch(searchTerm, text)) {
|
7662
|
+
if(text.search(beginsWithRegExp) !== -1 ||
|
7663
|
+
(settings.fullTextSearch === 'exact' && module.exactSearch(searchTerm, text)) ||
|
7664
|
+
(settings.fullTextSearch === true && module.fuzzySearch(searchTerm, text))) {
|
7681
7665
|
results.push(this);
|
7682
7666
|
return true;
|
7683
7667
|
}
|
7684
7668
|
}
|
7685
7669
|
if(settings.match === 'both' || settings.match === 'value') {
|
7686
7670
|
value = module.remove.diacritics(String(module.get.choiceValue($choice, text)));
|
7687
|
-
if(value.search(beginsWithRegExp) !== -1
|
7688
|
-
|
7689
|
-
|
7690
|
-
}
|
7691
|
-
else if (settings.fullTextSearch === 'exact' && module.exactSearch(searchTerm, value)) {
|
7692
|
-
results.push(this);
|
7693
|
-
return true;
|
7694
|
-
}
|
7695
|
-
else if (settings.fullTextSearch === true && module.fuzzySearch(searchTerm, value)) {
|
7671
|
+
if(value.search(beginsWithRegExp) !== -1 ||
|
7672
|
+
(settings.fullTextSearch === 'exact' && module.exactSearch(searchTerm, value)) ||
|
7673
|
+
(settings.fullTextSearch === true && module.fuzzySearch(searchTerm, value))) {
|
7696
7674
|
results.push(this);
|
7697
7675
|
return true;
|
7698
7676
|
}
|
@@ -8193,8 +8171,7 @@ $.fn.dropdown = function(parameters) {
|
|
8193
8171
|
isFocusedOnSearch = module.is.focusedOnSearch(),
|
8194
8172
|
isFocused = module.is.focused(),
|
8195
8173
|
caretAtStart = (isFocusedOnSearch && module.get.caretPosition(false) === 0),
|
8196
|
-
isSelectedSearch = (caretAtStart && module.get.caretPosition(true) !== 0)
|
8197
|
-
$nextLabel
|
8174
|
+
isSelectedSearch = (caretAtStart && module.get.caretPosition(true) !== 0)
|
8198
8175
|
;
|
8199
8176
|
if(isSearch && !hasActiveLabel && !isFocusedOnSearch) {
|
8200
8177
|
return;
|
@@ -8311,8 +8288,7 @@ $.fn.dropdown = function(parameters) {
|
|
8311
8288
|
delimiterPressed = (event.key === settings.delimiter && module.is.multiple()),
|
8312
8289
|
isAdditionWithoutMenu = (settings.allowAdditions && settings.hideAdditions && (pressedKey == keys.enter || delimiterPressed) && selectedIsSelectable),
|
8313
8290
|
$nextItem,
|
8314
|
-
isSubMenuItem
|
8315
|
-
newIndex
|
8291
|
+
isSubMenuItem
|
8316
8292
|
;
|
8317
8293
|
// allow selection with menu closed
|
8318
8294
|
if(isAdditionWithoutMenu) {
|
@@ -8416,7 +8392,7 @@ $.fn.dropdown = function(parameters) {
|
|
8416
8392
|
// down arrow (traverse menu down)
|
8417
8393
|
if(pressedKey == keys.downArrow) {
|
8418
8394
|
$nextItem = (hasSelectedItem && inVisibleMenu)
|
8419
|
-
? $
|
8395
|
+
? $selectedItem.nextAll(selector.item + ':not(' + selector.unselectable + ')').eq(0)
|
8420
8396
|
: $item.eq(0)
|
8421
8397
|
;
|
8422
8398
|
if($nextItem.length === 0) {
|
@@ -9171,7 +9147,6 @@ $.fn.dropdown = function(parameters) {
|
|
9171
9147
|
currentScroll = $menu.scrollTop(),
|
9172
9148
|
itemHeight = $item.eq(0).outerHeight(),
|
9173
9149
|
itemsPerPage = Math.floor(menuHeight / itemHeight),
|
9174
|
-
maxScroll = $menu.prop('scrollHeight'),
|
9175
9150
|
newScroll = (direction == 'up')
|
9176
9151
|
? currentScroll - (itemHeight * itemsPerPage)
|
9177
9152
|
: currentScroll + (itemHeight * itemsPerPage),
|
@@ -9296,7 +9271,6 @@ $.fn.dropdown = function(parameters) {
|
|
9296
9271
|
$menu,
|
9297
9272
|
hasActive,
|
9298
9273
|
offset,
|
9299
|
-
itemHeight,
|
9300
9274
|
itemOffset,
|
9301
9275
|
menuOffset,
|
9302
9276
|
menuScroll,
|
@@ -9459,8 +9433,7 @@ $.fn.dropdown = function(parameters) {
|
|
9459
9433
|
currentValue = module.get.values(),
|
9460
9434
|
stringValue = (value !== undefined)
|
9461
9435
|
? String(value)
|
9462
|
-
: value
|
9463
|
-
newValue
|
9436
|
+
: value
|
9464
9437
|
;
|
9465
9438
|
if(hasInput) {
|
9466
9439
|
if(!settings.allowReselection && stringValue == currentValue) {
|
@@ -9669,7 +9642,7 @@ $.fn.dropdown = function(parameters) {
|
|
9669
9642
|
;
|
9670
9643
|
}
|
9671
9644
|
else {
|
9672
|
-
$
|
9645
|
+
$('<div/>')
|
9673
9646
|
.html(html)
|
9674
9647
|
.addClass(className.message)
|
9675
9648
|
.appendTo($menu)
|
@@ -9752,16 +9725,13 @@ $.fn.dropdown = function(parameters) {
|
|
9752
9725
|
hasCount = (message.search('{count}') !== -1),
|
9753
9726
|
hasMaxCount = (message.search('{maxCount}') !== -1),
|
9754
9727
|
hasTerm = (message.search('{term}') !== -1),
|
9755
|
-
count,
|
9756
9728
|
query
|
9757
9729
|
;
|
9758
9730
|
module.verbose('Adding templated variables to message', message);
|
9759
9731
|
if(hasCount) {
|
9760
|
-
|
9761
|
-
message = message.replace('{count}', count);
|
9732
|
+
message = message.replace('{count}', module.get.selectionCount());
|
9762
9733
|
}
|
9763
9734
|
if(hasMaxCount) {
|
9764
|
-
count = module.get.selectionCount();
|
9765
9735
|
message = message.replace('{maxCount}', settings.maxSelections);
|
9766
9736
|
}
|
9767
9737
|
if(hasTerm) {
|
@@ -10208,7 +10178,7 @@ $.fn.dropdown = function(parameters) {
|
|
10208
10178
|
return (document.activeElement === $search[0]);
|
10209
10179
|
},
|
10210
10180
|
allFiltered: function() {
|
10211
|
-
return( (module.is.multiple() || module.has.search()) && !(settings.hideAdditions
|
10181
|
+
return( (module.is.multiple() || module.has.search()) && !(!settings.hideAdditions && module.has.userSuggestion()) && !module.has.message() && module.has.allResultsFiltered() );
|
10212
10182
|
},
|
10213
10183
|
hidden: function($subMenu) {
|
10214
10184
|
return !module.is.visible($subMenu);
|
@@ -10294,22 +10264,17 @@ $.fn.dropdown = function(parameters) {
|
|
10294
10264
|
|
10295
10265
|
can: {
|
10296
10266
|
activate: function($item) {
|
10297
|
-
|
10298
|
-
|
10299
|
-
|
10300
|
-
|
10301
|
-
|
10302
|
-
}
|
10303
|
-
if(module.has.maxSelections() && $item.hasClass(className.active)) {
|
10304
|
-
return true;
|
10305
|
-
}
|
10306
|
-
return false;
|
10267
|
+
return (
|
10268
|
+
settings.useLabels ||
|
10269
|
+
!module.has.maxSelections() ||
|
10270
|
+
(module.has.maxSelections() && $item.hasClass(className.active))
|
10271
|
+
);
|
10307
10272
|
},
|
10308
10273
|
openDownward: function($subMenu) {
|
10309
10274
|
var
|
10310
10275
|
$currentMenu = $subMenu || $menu,
|
10311
|
-
canOpenDownward
|
10312
|
-
onScreen
|
10276
|
+
canOpenDownward,
|
10277
|
+
onScreen,
|
10313
10278
|
calculations
|
10314
10279
|
;
|
10315
10280
|
$currentMenu
|
@@ -10569,7 +10534,7 @@ $.fn.dropdown = function(parameters) {
|
|
10569
10534
|
}
|
10570
10535
|
;
|
10571
10536
|
if(shouldEscape.test(string)) {
|
10572
|
-
string = string.replace(/&(?![a-z0-9#]{1,
|
10537
|
+
string = string.replace(/&(?![a-z0-9#]{1,12};)/gi, "&");
|
10573
10538
|
return string.replace(badChars, escapedChar);
|
10574
10539
|
}
|
10575
10540
|
return string;
|
@@ -10691,7 +10656,7 @@ $.fn.dropdown = function(parameters) {
|
|
10691
10656
|
response
|
10692
10657
|
;
|
10693
10658
|
passedArguments = passedArguments || queryArguments;
|
10694
|
-
context =
|
10659
|
+
context = context || element;
|
10695
10660
|
if(typeof query == 'string' && object !== undefined) {
|
10696
10661
|
query = query.split(/[\. ]/);
|
10697
10662
|
maxDepth = query.length - 1;
|
@@ -11006,7 +10971,7 @@ $.fn.dropdown.settings.templates = {
|
|
11006
10971
|
}
|
11007
10972
|
;
|
11008
10973
|
if(shouldEscape.test(string)) {
|
11009
|
-
string = string.replace(/&(?![a-z0-9#]{1,
|
10974
|
+
string = string.replace(/&(?![a-z0-9#]{1,12};)/gi, "&");
|
11010
10975
|
return string.replace(badChars, escapedChar);
|
11011
10976
|
}
|
11012
10977
|
return string;
|
@@ -11136,7 +11101,7 @@ $.fn.dropdown.settings.templates = {
|
|
11136
11101
|
})( jQuery, window, document );
|
11137
11102
|
|
11138
11103
|
/*!
|
11139
|
-
* # Fomantic-UI 2.9.0-beta.
|
11104
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - Embed
|
11140
11105
|
* http://github.com/fomantic/Fomantic-UI/
|
11141
11106
|
*
|
11142
11107
|
*
|
@@ -11265,9 +11230,7 @@ $.fn.embed = function(parameters) {
|
|
11265
11230
|
|
11266
11231
|
createPlaceholder: function(placeholder) {
|
11267
11232
|
var
|
11268
|
-
icon = module.get.icon()
|
11269
|
-
url = module.get.url(),
|
11270
|
-
embed = module.generate.embed(url)
|
11233
|
+
icon = module.get.icon()
|
11271
11234
|
;
|
11272
11235
|
placeholder = placeholder || module.get.placeholder();
|
11273
11236
|
$module.html( templates.placeholder(placeholder, icon) );
|
@@ -11646,7 +11609,7 @@ $.fn.embed = function(parameters) {
|
|
11646
11609
|
response
|
11647
11610
|
;
|
11648
11611
|
passedArguments = passedArguments || queryArguments;
|
11649
|
-
context =
|
11612
|
+
context = context || element;
|
11650
11613
|
if(typeof query == 'string' && object !== undefined) {
|
11651
11614
|
query = query.split(/[\. ]/);
|
11652
11615
|
maxDepth = query.length - 1;
|
@@ -11852,7 +11815,7 @@ $.fn.embed.settings = {
|
|
11852
11815
|
})( jQuery, window, document );
|
11853
11816
|
|
11854
11817
|
/*!
|
11855
|
-
* # Fomantic-UI 2.9.0-beta.
|
11818
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - Modal
|
11856
11819
|
* http://github.com/fomantic/Fomantic-UI/
|
11857
11820
|
*
|
11858
11821
|
*
|
@@ -11876,7 +11839,7 @@ window = (typeof window != 'undefined' && window.Math == Math)
|
|
11876
11839
|
: Function('return this')()
|
11877
11840
|
;
|
11878
11841
|
|
11879
|
-
$.fn.modal = function(parameters) {
|
11842
|
+
$.modal = $.fn.modal = function(parameters) {
|
11880
11843
|
var
|
11881
11844
|
$allModules = $(this),
|
11882
11845
|
$window = $(window),
|
@@ -11918,7 +11881,8 @@ $.fn.modal = function(parameters) {
|
|
11918
11881
|
moduleNamespace = 'module-' + namespace,
|
11919
11882
|
|
11920
11883
|
$module = $(this),
|
11921
|
-
$context = [window,document].indexOf(settings.context) < 0 ? $
|
11884
|
+
$context = [window,document].indexOf(settings.context) < 0 ? $document.find(settings.context) : $body,
|
11885
|
+
isBody = $context[0] === $body[0],
|
11922
11886
|
$closeIcon = $module.find(selector.closeIcon),
|
11923
11887
|
$inputs,
|
11924
11888
|
|
@@ -11928,8 +11892,10 @@ $.fn.modal = function(parameters) {
|
|
11928
11892
|
$dimmable,
|
11929
11893
|
$dimmer,
|
11930
11894
|
|
11895
|
+
isModalComponent = $module.hasClass('modal'),
|
11896
|
+
|
11931
11897
|
element = this,
|
11932
|
-
instance =
|
11898
|
+
instance = isModalComponent ? $module.data(moduleNamespace) : undefined,
|
11933
11899
|
|
11934
11900
|
ignoreRepeatedEvents = false,
|
11935
11901
|
|
@@ -11937,6 +11903,8 @@ $.fn.modal = function(parameters) {
|
|
11937
11903
|
initialMouseDownInScrollbar,
|
11938
11904
|
initialBodyMargin = '',
|
11939
11905
|
tempBodyMargin = '',
|
11906
|
+
keepScrollingClass = false,
|
11907
|
+
hadScrollbar = false,
|
11940
11908
|
|
11941
11909
|
elementEventNamespace,
|
11942
11910
|
id,
|
@@ -11947,7 +11915,7 @@ $.fn.modal = function(parameters) {
|
|
11947
11915
|
|
11948
11916
|
initialize: function() {
|
11949
11917
|
module.create.id();
|
11950
|
-
if(
|
11918
|
+
if(!isModalComponent) {
|
11951
11919
|
module.create.modal();
|
11952
11920
|
if(!$.isFunction(settings.onHidden)) {
|
11953
11921
|
settings.onHidden = function () {
|
@@ -12054,6 +12022,7 @@ $.fn.modal = function(parameters) {
|
|
12054
12022
|
}
|
12055
12023
|
module.debug('Creating dimmer');
|
12056
12024
|
$dimmable = $context.dimmer(dimmerSettings);
|
12025
|
+
keepScrollingClass = module.is.scrolling();
|
12057
12026
|
if(settings.detachable) {
|
12058
12027
|
module.verbose('Modal is detachable, moving content into dimmer');
|
12059
12028
|
$dimmable.dimmer('add content', $module);
|
@@ -12179,13 +12148,13 @@ $.fn.modal = function(parameters) {
|
|
12179
12148
|
},
|
12180
12149
|
scrollLock: function() {
|
12181
12150
|
// touch events default to passive, due to changes in chrome to optimize mobile perf
|
12182
|
-
$dimmable
|
12151
|
+
$dimmable[0].addEventListener('touchmove', module.event.preventScroll, { passive: false });
|
12183
12152
|
}
|
12184
12153
|
},
|
12185
12154
|
|
12186
12155
|
unbind: {
|
12187
12156
|
scrollLock: function() {
|
12188
|
-
$dimmable
|
12157
|
+
$dimmable[0].removeEventListener('touchmove', module.event.preventScroll, { passive: false });
|
12189
12158
|
}
|
12190
12159
|
},
|
12191
12160
|
|
@@ -12267,7 +12236,7 @@ $.fn.modal = function(parameters) {
|
|
12267
12236
|
if(initialMouseDownInModal) {
|
12268
12237
|
module.verbose('Mouse down event registered inside the modal');
|
12269
12238
|
}
|
12270
|
-
initialMouseDownInScrollbar = module.is.scrolling() && ((!isRtl && $
|
12239
|
+
initialMouseDownInScrollbar = module.is.scrolling() && ((!isRtl && $window.outerWidth() - settings.scrollbarWidth <= event.clientX) || (isRtl && settings.scrollbarWidth >= event.clientX));
|
12271
12240
|
if(initialMouseDownInScrollbar) {
|
12272
12241
|
module.verbose('Mouse down event registered inside the scrollbar');
|
12273
12242
|
}
|
@@ -12371,9 +12340,12 @@ $.fn.modal = function(parameters) {
|
|
12371
12340
|
module.verbose('Show callback returned false cancelling show');
|
12372
12341
|
return;
|
12373
12342
|
}
|
12343
|
+
hadScrollbar = module.has.scrollbar();
|
12374
12344
|
module.showDimmer();
|
12375
12345
|
module.cacheSizes();
|
12376
|
-
|
12346
|
+
if(hadScrollbar) {
|
12347
|
+
module.set.bodyMargin();
|
12348
|
+
}
|
12377
12349
|
if(module.can.useFlex()) {
|
12378
12350
|
module.remove.legacy();
|
12379
12351
|
}
|
@@ -12502,7 +12474,12 @@ $.fn.modal = function(parameters) {
|
|
12502
12474
|
|
12503
12475
|
showDimmer: function() {
|
12504
12476
|
if($dimmable.dimmer('is animating') || !$dimmable.dimmer('is active') ) {
|
12505
|
-
|
12477
|
+
if(hadScrollbar) {
|
12478
|
+
if(!isBody) {
|
12479
|
+
$dimmer.css('top', $dimmable.scrollTop());
|
12480
|
+
}
|
12481
|
+
module.save.bodyMargin();
|
12482
|
+
}
|
12506
12483
|
module.debug('Showing dimmer');
|
12507
12484
|
$dimmable.dimmer('show');
|
12508
12485
|
}
|
@@ -12515,14 +12492,15 @@ $.fn.modal = function(parameters) {
|
|
12515
12492
|
if( $dimmable.dimmer('is animating') || ($dimmable.dimmer('is active')) ) {
|
12516
12493
|
module.unbind.scrollLock();
|
12517
12494
|
$dimmable.dimmer('hide', function() {
|
12518
|
-
|
12495
|
+
if(hadScrollbar) {
|
12496
|
+
module.restore.bodyMargin();
|
12497
|
+
}
|
12519
12498
|
module.remove.clickaway();
|
12520
12499
|
module.remove.screenHeight();
|
12521
12500
|
});
|
12522
12501
|
}
|
12523
12502
|
else {
|
12524
12503
|
module.debug('Dimmer is not visible cannot hide');
|
12525
|
-
return;
|
12526
12504
|
}
|
12527
12505
|
},
|
12528
12506
|
|
@@ -12596,9 +12574,9 @@ $.fn.modal = function(parameters) {
|
|
12596
12574
|
}
|
12597
12575
|
},
|
12598
12576
|
bodyMargin: function() {
|
12599
|
-
initialBodyMargin = $
|
12577
|
+
initialBodyMargin = $context.css((isBody ? 'margin-':'padding-')+(module.can.leftBodyScrollbar() ? 'left':'right'));
|
12600
12578
|
var bodyMarginRightPixel = parseInt(initialBodyMargin.replace(/[^\d.]/g, '')),
|
12601
|
-
bodyScrollbarWidth = window.innerWidth - document.documentElement.clientWidth;
|
12579
|
+
bodyScrollbarWidth = isBody ? window.innerWidth - document.documentElement.clientWidth : $context[0].offsetWidth - $context[0].clientWidth;
|
12602
12580
|
tempBodyMargin = bodyMarginRightPixel + bodyScrollbarWidth;
|
12603
12581
|
}
|
12604
12582
|
},
|
@@ -12611,8 +12589,8 @@ $.fn.modal = function(parameters) {
|
|
12611
12589
|
},
|
12612
12590
|
bodyMargin: function() {
|
12613
12591
|
var position = module.can.leftBodyScrollbar() ? 'left':'right';
|
12614
|
-
$
|
12615
|
-
$
|
12592
|
+
$context.css((isBody ? 'margin-':'padding-')+position, initialBodyMargin);
|
12593
|
+
$context.find(selector.bodyFixed.replace('right',position)).each(function(){
|
12616
12594
|
var el = $(this),
|
12617
12595
|
attribute = el.css('position') === 'fixed' ? 'padding-'+position : position
|
12618
12596
|
;
|
@@ -12646,16 +12624,17 @@ $.fn.modal = function(parameters) {
|
|
12646
12624
|
$dimmable.removeClass(className.blurring);
|
12647
12625
|
},
|
12648
12626
|
bodyStyle: function() {
|
12649
|
-
if($
|
12627
|
+
if($context.attr('style') === '') {
|
12650
12628
|
module.verbose('Removing style attribute');
|
12651
|
-
$
|
12629
|
+
$context.removeAttr('style');
|
12652
12630
|
}
|
12653
12631
|
},
|
12654
12632
|
screenHeight: function() {
|
12655
12633
|
module.debug('Removing page height');
|
12656
|
-
$
|
12634
|
+
$context
|
12657
12635
|
.css('height', '')
|
12658
12636
|
;
|
12637
|
+
module.remove.bodyStyle()
|
12659
12638
|
},
|
12660
12639
|
keyboardShortcuts: function() {
|
12661
12640
|
module.verbose('Removing keyboard shortcuts');
|
@@ -12664,7 +12643,9 @@ $.fn.modal = function(parameters) {
|
|
12664
12643
|
;
|
12665
12644
|
},
|
12666
12645
|
scrolling: function() {
|
12667
|
-
|
12646
|
+
if(!keepScrollingClass) {
|
12647
|
+
$dimmable.removeClass(className.scrolling);
|
12648
|
+
}
|
12668
12649
|
$module.removeClass(className.scrolling);
|
12669
12650
|
}
|
12670
12651
|
},
|
@@ -12678,12 +12659,12 @@ $.fn.modal = function(parameters) {
|
|
12678
12659
|
;
|
12679
12660
|
if(module.cache.pageHeight === undefined || modalHeight !== 0) {
|
12680
12661
|
$.extend(module.cache, {
|
12681
|
-
pageHeight : $
|
12662
|
+
pageHeight : $document.outerHeight(),
|
12682
12663
|
width : modalWidth,
|
12683
12664
|
height : modalHeight + settings.offset,
|
12684
12665
|
scrollHeight : scrollHeight + settings.offset,
|
12685
|
-
contextHeight :
|
12686
|
-
? $
|
12666
|
+
contextHeight : isBody
|
12667
|
+
? $window.height()
|
12687
12668
|
: $dimmable.height(),
|
12688
12669
|
});
|
12689
12670
|
module.cache.topOffset = -(module.cache.height / 2);
|
@@ -12714,7 +12695,7 @@ $.fn.modal = function(parameters) {
|
|
12714
12695
|
}
|
12715
12696
|
;
|
12716
12697
|
if(shouldEscape.test(string)) {
|
12717
|
-
string = string.replace(/&(?![a-z0-9#]{1,
|
12698
|
+
string = string.replace(/&(?![a-z0-9#]{1,12};)/gi, "&");
|
12718
12699
|
return string.replace(badChars, escapedChar);
|
12719
12700
|
}
|
12720
12701
|
return string;
|
@@ -12757,6 +12738,9 @@ $.fn.modal = function(parameters) {
|
|
12757
12738
|
has: {
|
12758
12739
|
configActions: function () {
|
12759
12740
|
return Array.isArray(settings.actions) && settings.actions.length > 0;
|
12741
|
+
},
|
12742
|
+
scrollbar: function() {
|
12743
|
+
return isBody || $context.css('overflow-y') !== 'hidden';
|
12760
12744
|
}
|
12761
12745
|
},
|
12762
12746
|
is: {
|
@@ -12788,7 +12772,7 @@ $.fn.modal = function(parameters) {
|
|
12788
12772
|
},
|
12789
12773
|
rtl: function() {
|
12790
12774
|
if(module.cache.isRTL === undefined) {
|
12791
|
-
module.cache.isRTL = $body.attr('dir') === 'rtl' || $body.css('direction') === 'rtl';
|
12775
|
+
module.cache.isRTL = $module.attr('dir') === 'rtl' || $module.css('direction') === 'rtl' || $body.attr('dir') === 'rtl' || $body.css('direction') === 'rtl' || $context.attr('dir') === 'rtl' || $context.css('direction') === 'rtl';
|
12792
12776
|
}
|
12793
12777
|
return module.cache.isRTL;
|
12794
12778
|
},
|
@@ -12830,9 +12814,9 @@ $.fn.modal = function(parameters) {
|
|
12830
12814
|
bodyMargin: function() {
|
12831
12815
|
var position = module.can.leftBodyScrollbar() ? 'left':'right';
|
12832
12816
|
if(settings.detachable || module.can.fit()) {
|
12833
|
-
$
|
12817
|
+
$context.css((isBody ? 'margin-':'padding-')+position, tempBodyMargin + 'px');
|
12834
12818
|
}
|
12835
|
-
$
|
12819
|
+
$context.find(selector.bodyFixed.replace('right',position)).each(function(){
|
12836
12820
|
var el = $(this),
|
12837
12821
|
attribute = el.css('position') === 'fixed' ? 'padding-'+position : position
|
12838
12822
|
;
|
@@ -12898,10 +12882,10 @@ $.fn.modal = function(parameters) {
|
|
12898
12882
|
$module
|
12899
12883
|
.css({
|
12900
12884
|
top: (!$module.hasClass('aligned') && canFit)
|
12901
|
-
? $
|
12885
|
+
? $document.scrollTop() + (module.cache.contextHeight - module.cache.height) / 2
|
12902
12886
|
: !canFit || $module.hasClass('top')
|
12903
|
-
? $
|
12904
|
-
: $
|
12887
|
+
? $document.scrollTop() + settings.padding
|
12888
|
+
: $document.scrollTop() + (module.cache.contextHeight - module.cache.height - settings.padding),
|
12905
12889
|
marginLeft: -(module.cache.width / 2)
|
12906
12890
|
})
|
12907
12891
|
;
|
@@ -12919,11 +12903,11 @@ $.fn.modal = function(parameters) {
|
|
12919
12903
|
},
|
12920
12904
|
screenHeight: function() {
|
12921
12905
|
if( module.can.fit() ) {
|
12922
|
-
$
|
12906
|
+
$context.css('height', '');
|
12923
12907
|
}
|
12924
12908
|
else if(!$module.hasClass('bottom')) {
|
12925
12909
|
module.debug('Modal is taller than page content, resizing page height');
|
12926
|
-
$
|
12910
|
+
$context
|
12927
12911
|
.css('height', module.cache.height + (settings.padding * 2) )
|
12928
12912
|
;
|
12929
12913
|
}
|
@@ -13075,7 +13059,7 @@ $.fn.modal = function(parameters) {
|
|
13075
13059
|
response
|
13076
13060
|
;
|
13077
13061
|
passedArguments = passedArguments || queryArguments;
|
13078
|
-
context =
|
13062
|
+
context = context || element;
|
13079
13063
|
if(typeof query == 'string' && object !== undefined) {
|
13080
13064
|
query = query.split(/[\. ]/);
|
13081
13065
|
maxDepth = query.length - 1;
|
@@ -13387,7 +13371,7 @@ $.fn.modal.settings.templates = {
|
|
13387
13371
|
})( jQuery, window, document );
|
13388
13372
|
|
13389
13373
|
/*!
|
13390
|
-
* # Fomantic-UI 2.9.0-beta.
|
13374
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - Nag
|
13391
13375
|
* http://github.com/fomantic/Fomantic-UI/
|
13392
13376
|
*
|
13393
13377
|
*
|
@@ -13791,7 +13775,7 @@ $.fn.nag = function(parameters) {
|
|
13791
13775
|
response
|
13792
13776
|
;
|
13793
13777
|
passedArguments = passedArguments || queryArguments;
|
13794
|
-
context =
|
13778
|
+
context = context || element;
|
13795
13779
|
if(typeof query == 'string' && object !== undefined) {
|
13796
13780
|
query = query.split(/[\. ]/);
|
13797
13781
|
maxDepth = query.length - 1;
|
@@ -13946,7 +13930,7 @@ $.extend( $.easing, {
|
|
13946
13930
|
})( jQuery, window, document );
|
13947
13931
|
|
13948
13932
|
/*!
|
13949
|
-
* # Fomantic-UI 2.9.0-beta.
|
13933
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - Popup
|
13950
13934
|
* http://github.com/fomantic/Fomantic-UI/
|
13951
13935
|
*
|
13952
13936
|
*
|
@@ -15034,10 +15018,7 @@ $.fn.popup = function(parameters) {
|
|
15034
15018
|
is: {
|
15035
15019
|
closable: function() {
|
15036
15020
|
if(settings.closable == 'auto') {
|
15037
|
-
|
15038
|
-
return false;
|
15039
|
-
}
|
15040
|
-
return true;
|
15021
|
+
return settings.on != 'hover';
|
15041
15022
|
}
|
15042
15023
|
return settings.closable;
|
15043
15024
|
},
|
@@ -15052,12 +15033,7 @@ $.fn.popup = function(parameters) {
|
|
15052
15033
|
offstage.push(direction);
|
15053
15034
|
}
|
15054
15035
|
});
|
15055
|
-
|
15056
|
-
return true;
|
15057
|
-
}
|
15058
|
-
else {
|
15059
|
-
return false;
|
15060
|
-
}
|
15036
|
+
return offstage.length > 0;
|
15061
15037
|
},
|
15062
15038
|
svg: function(element) {
|
15063
15039
|
return module.supports.svg() && (element instanceof SVGGraphicsElement);
|
@@ -15211,7 +15187,7 @@ $.fn.popup = function(parameters) {
|
|
15211
15187
|
response
|
15212
15188
|
;
|
15213
15189
|
passedArguments = passedArguments || queryArguments;
|
15214
|
-
context =
|
15190
|
+
context = context || element;
|
15215
15191
|
if(typeof query == 'string' && object !== undefined) {
|
15216
15192
|
query = query.split(/[\. ]/);
|
15217
15193
|
maxDepth = query.length - 1;
|
@@ -15460,7 +15436,7 @@ $.fn.popup.settings = {
|
|
15460
15436
|
}
|
15461
15437
|
;
|
15462
15438
|
if(shouldEscape.test(string)) {
|
15463
|
-
string = string.replace(/&(?![a-z0-9#]{1,
|
15439
|
+
string = string.replace(/&(?![a-z0-9#]{1,12};)/gi, "&");
|
15464
15440
|
return string.replace(badChars, escapedChar);
|
15465
15441
|
}
|
15466
15442
|
return string;
|
@@ -15490,7 +15466,7 @@ $.fn.popup.settings = {
|
|
15490
15466
|
})( jQuery, window, document );
|
15491
15467
|
|
15492
15468
|
/*!
|
15493
|
-
* # Fomantic-UI 2.9.0-beta.
|
15469
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - Progress
|
15494
15470
|
* http://github.com/fomantic/Fomantic-UI/
|
15495
15471
|
*
|
15496
15472
|
*
|
@@ -16368,7 +16344,7 @@ $.fn.progress = function(parameters) {
|
|
16368
16344
|
response
|
16369
16345
|
;
|
16370
16346
|
passedArguments = passedArguments || queryArguments;
|
16371
|
-
context =
|
16347
|
+
context = context || element;
|
16372
16348
|
if(typeof query == 'string' && object !== undefined) {
|
16373
16349
|
query = query.split(/[\. ]/);
|
16374
16350
|
maxDepth = query.length - 1;
|
@@ -16489,7 +16465,7 @@ $.fn.progress.settings = {
|
|
16489
16465
|
},
|
16490
16466
|
|
16491
16467
|
regExp: {
|
16492
|
-
variable: /\{\$*[
|
16468
|
+
variable: /\{\$*[a-z0-9]+\}/gi
|
16493
16469
|
},
|
16494
16470
|
|
16495
16471
|
metadata: {
|
@@ -16527,7 +16503,7 @@ $.fn.progress.settings = {
|
|
16527
16503
|
})( jQuery, window, document );
|
16528
16504
|
|
16529
16505
|
/*!
|
16530
|
-
* # Fomantic-UI 2.9.0-beta.
|
16506
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - Slider
|
16531
16507
|
* http://github.com/fomantic/Fomantic-UI/
|
16532
16508
|
*
|
16533
16509
|
*
|
@@ -16982,8 +16958,8 @@ $.fn.slider = function(parameters) {
|
|
16982
16958
|
module.setup.labels();
|
16983
16959
|
},
|
16984
16960
|
takeStep: function(multiplier) {
|
16961
|
+
multiplier = multiplier != undefined ? multiplier : 1;
|
16985
16962
|
var
|
16986
|
-
multiplier = multiplier != undefined ? multiplier : 1,
|
16987
16963
|
step = module.get.step(),
|
16988
16964
|
currValue = module.get.currentThumbValue()
|
16989
16965
|
;
|
@@ -17000,8 +16976,8 @@ $.fn.slider = function(parameters) {
|
|
17000
16976
|
},
|
17001
16977
|
|
17002
16978
|
backStep: function(multiplier) {
|
16979
|
+
multiplier = multiplier != undefined ? multiplier : 1;
|
17003
16980
|
var
|
17004
|
-
multiplier = multiplier != undefined ? multiplier : 1,
|
17005
16981
|
step = module.get.step(),
|
17006
16982
|
currValue = module.get.currentThumbValue()
|
17007
16983
|
;
|
@@ -17249,11 +17225,11 @@ $.fn.slider = function(parameters) {
|
|
17249
17225
|
;
|
17250
17226
|
return pos;
|
17251
17227
|
},
|
17252
|
-
positionFromValue: function(
|
17228
|
+
positionFromValue: function(val) {
|
17253
17229
|
var
|
17254
17230
|
min = module.get.min(),
|
17255
17231
|
max = module.get.max(),
|
17256
|
-
value =
|
17232
|
+
value = val > max ? max : val < min ? min : val,
|
17257
17233
|
trackLength = module.get.trackLength(),
|
17258
17234
|
ratio = (value - min) / (max - min),
|
17259
17235
|
position = Math.round(ratio * trackLength)
|
@@ -17461,14 +17437,12 @@ $.fn.slider = function(parameters) {
|
|
17461
17437
|
},
|
17462
17438
|
position: function(position, which) {
|
17463
17439
|
var thumbVal = module.determine.value(position);
|
17464
|
-
|
17465
|
-
|
17466
|
-
|
17467
|
-
|
17468
|
-
|
17469
|
-
|
17470
|
-
module.thumbVal = thumbVal;
|
17471
|
-
module.update.position(thumbVal, $thumb);
|
17440
|
+
if (which === 'second') {
|
17441
|
+
module.secondThumbVal = thumbVal;
|
17442
|
+
module.update.position(thumbVal, $secondThumb);
|
17443
|
+
} else {
|
17444
|
+
module.thumbVal = thumbVal;
|
17445
|
+
module.update.position(thumbVal, $thumb);
|
17472
17446
|
}
|
17473
17447
|
value = Math.abs(module.thumbVal - (module.secondThumbVal || 0));
|
17474
17448
|
module.set.value(value);
|
@@ -17737,7 +17711,7 @@ $.fn.slider = function(parameters) {
|
|
17737
17711
|
response
|
17738
17712
|
;
|
17739
17713
|
passedArguments = passedArguments || queryArguments;
|
17740
|
-
context =
|
17714
|
+
context = context || element;
|
17741
17715
|
if(typeof query == 'string' && object !== undefined) {
|
17742
17716
|
query = query.split(/[\. ]/);
|
17743
17717
|
maxDepth = query.length - 1;
|
@@ -17883,7 +17857,7 @@ $.fn.slider.settings = {
|
|
17883
17857
|
})( jQuery, window, document );
|
17884
17858
|
|
17885
17859
|
/*!
|
17886
|
-
* # Fomantic-UI 2.9.0-beta.
|
17860
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - Rating
|
17887
17861
|
* http://github.com/fomantic/Fomantic-UI/
|
17888
17862
|
*
|
17889
17863
|
*
|
@@ -18303,7 +18277,7 @@ $.fn.rating = function(parameters) {
|
|
18303
18277
|
response
|
18304
18278
|
;
|
18305
18279
|
passedArguments = passedArguments || queryArguments;
|
18306
|
-
context =
|
18280
|
+
context = context || element;
|
18307
18281
|
if(typeof query == 'string' && object !== undefined) {
|
18308
18282
|
query = query.split(/[\. ]/);
|
18309
18283
|
maxDepth = query.length - 1;
|
@@ -18442,7 +18416,7 @@ $.fn.rating.settings = {
|
|
18442
18416
|
})( jQuery, window, document );
|
18443
18417
|
|
18444
18418
|
/*!
|
18445
|
-
* # Fomantic-UI 2.9.0-beta.
|
18419
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - Search
|
18446
18420
|
* http://github.com/fomantic/Fomantic-UI/
|
18447
18421
|
*
|
18448
18422
|
*
|
@@ -18919,10 +18893,7 @@ $.fn.search = function(parameters) {
|
|
18919
18893
|
return $prompt.val();
|
18920
18894
|
},
|
18921
18895
|
results: function() {
|
18922
|
-
|
18923
|
-
results = $module.data(metadata.results)
|
18924
|
-
;
|
18925
|
-
return results;
|
18896
|
+
return $module.data(metadata.results);
|
18926
18897
|
},
|
18927
18898
|
result: function(value, results) {
|
18928
18899
|
var
|
@@ -19139,7 +19110,7 @@ $.fn.search = function(parameters) {
|
|
19139
19110
|
// content fuzzy matches (last in results)
|
19140
19111
|
addResult(exactResults, content);
|
19141
19112
|
}
|
19142
|
-
else if(settings.fullTextSearch
|
19113
|
+
else if(settings.fullTextSearch === true && module.fuzzySearch(searchTerm, text) ) {
|
19143
19114
|
// content fuzzy matches (last in results)
|
19144
19115
|
addResult(fuzzyResults, content);
|
19145
19116
|
}
|
@@ -19649,7 +19620,7 @@ $.fn.search = function(parameters) {
|
|
19649
19620
|
response
|
19650
19621
|
;
|
19651
19622
|
passedArguments = passedArguments || queryArguments;
|
19652
|
-
context =
|
19623
|
+
context = context || element;
|
19653
19624
|
if(typeof query == 'string' && object !== undefined) {
|
19654
19625
|
query = query.split(/[\. ]/);
|
19655
19626
|
maxDepth = query.length - 1;
|
@@ -19880,7 +19851,7 @@ $.fn.search.settings = {
|
|
19880
19851
|
}
|
19881
19852
|
;
|
19882
19853
|
if(shouldEscape.test(string)) {
|
19883
|
-
string = string.replace(/&(?![a-z0-9#]{1,
|
19854
|
+
string = string.replace(/&(?![a-z0-9#]{1,12};)/gi, "&");
|
19884
19855
|
return string.replace(badChars, escapedChar);
|
19885
19856
|
}
|
19886
19857
|
return string;
|
@@ -20031,10 +20002,16 @@ $.fn.search.settings = {
|
|
20031
20002
|
}
|
20032
20003
|
};
|
20033
20004
|
|
20005
|
+
$.extend($.easing, {
|
20006
|
+
easeOutExpo: function(x) {
|
20007
|
+
return x === 1 ? 1 : 1 - Math.pow(2, -10 * x);
|
20008
|
+
}
|
20009
|
+
});
|
20010
|
+
|
20034
20011
|
})( jQuery, window, document );
|
20035
20012
|
|
20036
20013
|
/*!
|
20037
|
-
* # Fomantic-UI 2.9.0-beta.
|
20014
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - Shape
|
20038
20015
|
* http://github.com/fomantic/Fomantic-UI/
|
20039
20016
|
*
|
20040
20017
|
*
|
@@ -20742,7 +20719,7 @@ $.fn.shape = function(parameters) {
|
|
20742
20719
|
response
|
20743
20720
|
;
|
20744
20721
|
passedArguments = passedArguments || queryArguments;
|
20745
|
-
context =
|
20722
|
+
context = context || element;
|
20746
20723
|
if(typeof query == 'string' && object !== undefined) {
|
20747
20724
|
query = query.split(/[\. ]/);
|
20748
20725
|
maxDepth = query.length - 1;
|
@@ -20883,7 +20860,7 @@ $.fn.shape.settings = {
|
|
20883
20860
|
})( jQuery, window, document );
|
20884
20861
|
|
20885
20862
|
/*!
|
20886
|
-
* # Fomantic-UI 2.9.0-beta.
|
20863
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - Sidebar
|
20887
20864
|
* http://github.com/fomantic/Fomantic-UI/
|
20888
20865
|
*
|
20889
20866
|
*
|
@@ -21842,7 +21819,7 @@ $.fn.sidebar = function(parameters) {
|
|
21842
21819
|
response
|
21843
21820
|
;
|
21844
21821
|
passedArguments = passedArguments || queryArguments;
|
21845
|
-
context =
|
21822
|
+
context = context || element;
|
21846
21823
|
if(typeof query == 'string' && object !== undefined) {
|
21847
21824
|
query = query.split(/[\. ]/);
|
21848
21825
|
maxDepth = query.length - 1;
|
@@ -21999,7 +21976,7 @@ $.fn.sidebar.settings = {
|
|
21999
21976
|
})( jQuery, window, document );
|
22000
21977
|
|
22001
21978
|
/*!
|
22002
|
-
* # Fomantic-UI 2.9.0-beta.
|
21979
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - Sticky
|
22003
21980
|
* http://github.com/fomantic/Fomantic-UI/
|
22004
21981
|
*
|
22005
21982
|
*
|
@@ -22155,7 +22132,6 @@ $.fn.sticky = function(parameters) {
|
|
22155
22132
|
}
|
22156
22133
|
if($context.length === 0) {
|
22157
22134
|
module.error(error.invalidContext, settings.context, $module);
|
22158
|
-
return;
|
22159
22135
|
}
|
22160
22136
|
},
|
22161
22137
|
|
@@ -22166,7 +22142,6 @@ $.fn.sticky = function(parameters) {
|
|
22166
22142
|
if(module.cache.element.height > module.cache.context.height) {
|
22167
22143
|
module.reset();
|
22168
22144
|
module.error(error.elementSize, $module);
|
22169
|
-
return;
|
22170
22145
|
}
|
22171
22146
|
},
|
22172
22147
|
|
@@ -22317,13 +22292,8 @@ $.fn.sticky = function(parameters) {
|
|
22317
22292
|
direction = 'down'
|
22318
22293
|
;
|
22319
22294
|
scroll = scroll || $scroll.scrollTop();
|
22320
|
-
if(module.lastScroll
|
22321
|
-
if(module.lastScroll < scroll) {
|
22322
|
-
direction = 'down';
|
22323
|
-
}
|
22324
|
-
else if(module.lastScroll > scroll) {
|
22295
|
+
if(module.lastScroll && module.lastScroll > scroll) {
|
22325
22296
|
direction = 'up';
|
22326
|
-
}
|
22327
22297
|
}
|
22328
22298
|
return direction;
|
22329
22299
|
},
|
@@ -22371,7 +22341,7 @@ $.fn.sticky = function(parameters) {
|
|
22371
22341
|
lastScroll: function() {
|
22372
22342
|
delete module.lastScroll;
|
22373
22343
|
},
|
22374
|
-
elementScroll: function(
|
22344
|
+
elementScroll: function() {
|
22375
22345
|
delete module.elementScroll;
|
22376
22346
|
},
|
22377
22347
|
minimumSize: function() {
|
@@ -22467,9 +22437,9 @@ $.fn.sticky = function(parameters) {
|
|
22467
22437
|
}
|
22468
22438
|
},
|
22469
22439
|
|
22470
|
-
stick: function(
|
22440
|
+
stick: function(scrollPosition) {
|
22471
22441
|
var
|
22472
|
-
cachedPosition =
|
22442
|
+
cachedPosition = scrollPosition || $scroll.scrollTop(),
|
22473
22443
|
cache = module.cache,
|
22474
22444
|
fits = cache.fits,
|
22475
22445
|
sameHeight = cache.sameHeight,
|
@@ -22816,7 +22786,7 @@ $.fn.sticky = function(parameters) {
|
|
22816
22786
|
response
|
22817
22787
|
;
|
22818
22788
|
passedArguments = passedArguments || queryArguments;
|
22819
|
-
context =
|
22789
|
+
context = context || element;
|
22820
22790
|
if(typeof query == 'string' && object !== undefined) {
|
22821
22791
|
query = query.split(/[\. ]/);
|
22822
22792
|
maxDepth = query.length - 1;
|
@@ -22957,7 +22927,7 @@ $.fn.sticky.settings = {
|
|
22957
22927
|
})( jQuery, window, document );
|
22958
22928
|
|
22959
22929
|
/*!
|
22960
|
-
* # Fomantic-UI 2.9.0-beta.
|
22930
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - Tab
|
22961
22931
|
* http://github.com/fomantic/Fomantic-UI/
|
22962
22932
|
*
|
22963
22933
|
*
|
@@ -23826,7 +23796,7 @@ $.fn.tab = function(parameters) {
|
|
23826
23796
|
response
|
23827
23797
|
;
|
23828
23798
|
passedArguments = passedArguments || queryArguments;
|
23829
|
-
context =
|
23799
|
+
context = context || element;
|
23830
23800
|
if(typeof query == 'string' && object !== undefined) {
|
23831
23801
|
query = query.split(/[\. ]/);
|
23832
23802
|
maxDepth = query.length - 1;
|
@@ -23977,7 +23947,7 @@ $.fn.tab.settings = {
|
|
23977
23947
|
})( jQuery, window, document );
|
23978
23948
|
|
23979
23949
|
/*!
|
23980
|
-
* # Fomantic-UI 2.9.0-beta.
|
23950
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - Toast
|
23981
23951
|
* http://github.com/fomantic/Fomantic-UI/
|
23982
23952
|
*
|
23983
23953
|
*
|
@@ -24001,7 +23971,7 @@ window = (typeof window != 'undefined' && window.Math == Math)
|
|
24001
23971
|
: Function('return this')()
|
24002
23972
|
;
|
24003
23973
|
|
24004
|
-
$.fn.toast = function(parameters) {
|
23974
|
+
$.toast = $.fn.toast = function(parameters) {
|
24005
23975
|
var
|
24006
23976
|
$allModules = $(this),
|
24007
23977
|
moduleSelector = $allModules.selector || '',
|
@@ -24553,7 +24523,7 @@ $.fn.toast = function(parameters) {
|
|
24553
24523
|
}
|
24554
24524
|
;
|
24555
24525
|
if(shouldEscape.test(string)) {
|
24556
|
-
string = string.replace(/&(?![a-z0-9#]{1,
|
24526
|
+
string = string.replace(/&(?![a-z0-9#]{1,12};)/gi, "&");
|
24557
24527
|
return string.replace(badChars, escapedChar);
|
24558
24528
|
}
|
24559
24529
|
return string;
|
@@ -24685,7 +24655,7 @@ $.fn.toast = function(parameters) {
|
|
24685
24655
|
response
|
24686
24656
|
;
|
24687
24657
|
passedArguments = passedArguments || queryArguments;
|
24688
|
-
context =
|
24658
|
+
context = context || element;
|
24689
24659
|
if(typeof query == 'string' && object !== undefined) {
|
24690
24660
|
query = query.split(/[\. ]/);
|
24691
24661
|
maxDepth = query.length - 1;
|
@@ -24904,7 +24874,7 @@ $.extend( $.easing, {
|
|
24904
24874
|
})( jQuery, window, document );
|
24905
24875
|
|
24906
24876
|
/*!
|
24907
|
-
* # Fomantic-UI 2.9.0-beta.
|
24877
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - Transition
|
24908
24878
|
* http://github.com/fomantic/Fomantic-UI/
|
24909
24879
|
*
|
24910
24880
|
*
|
@@ -24991,7 +24961,7 @@ $.fn.transition = function() {
|
|
24991
24961
|
if(methodInvoked === false) {
|
24992
24962
|
module.verbose('Converted arguments into settings object', settings);
|
24993
24963
|
if(settings.interval) {
|
24994
|
-
module.delay(settings.
|
24964
|
+
module.delay(settings.interval);
|
24995
24965
|
}
|
24996
24966
|
else {
|
24997
24967
|
module.animate();
|
@@ -25058,9 +25028,9 @@ $.fn.transition = function() {
|
|
25058
25028
|
: settings.interval
|
25059
25029
|
;
|
25060
25030
|
shouldReverse = (settings.reverse == 'auto' && direction == className.outward);
|
25061
|
-
delay = (shouldReverse || settings.reverse
|
25062
|
-
? ($allModules.length - index) *
|
25063
|
-
: index *
|
25031
|
+
delay = (shouldReverse || settings.reverse === true)
|
25032
|
+
? ($allModules.length - index) * interval
|
25033
|
+
: index * interval
|
25064
25034
|
;
|
25065
25035
|
module.debug('Delaying animation by', delay);
|
25066
25036
|
setTimeout(module.animate, delay);
|
@@ -25697,7 +25667,6 @@ $.fn.transition = function() {
|
|
25697
25667
|
module.force.hidden();
|
25698
25668
|
settings.onHidden.call(element);
|
25699
25669
|
settings.onComplete.call(element);
|
25700
|
-
// module.repaint();
|
25701
25670
|
},
|
25702
25671
|
|
25703
25672
|
show: function(display) {
|
@@ -25712,7 +25681,6 @@ $.fn.transition = function() {
|
|
25712
25681
|
module.set.visible();
|
25713
25682
|
settings.onVisible.call(element);
|
25714
25683
|
settings.onComplete.call(element);
|
25715
|
-
// module.repaint();
|
25716
25684
|
},
|
25717
25685
|
|
25718
25686
|
toggle: function() {
|
@@ -25871,7 +25839,7 @@ $.fn.transition = function() {
|
|
25871
25839
|
response
|
25872
25840
|
;
|
25873
25841
|
passedArguments = passedArguments || queryArguments;
|
25874
|
-
context =
|
25842
|
+
context = context || element;
|
25875
25843
|
if(typeof query == 'string' && object !== undefined) {
|
25876
25844
|
query = query.split(/[\. ]/);
|
25877
25845
|
maxDepth = query.length - 1;
|
@@ -26021,7 +25989,7 @@ $.fn.transition.settings = {
|
|
26021
25989
|
})( jQuery, window, document );
|
26022
25990
|
|
26023
25991
|
/*!
|
26024
|
-
* # Fomantic-UI 2.9.0-beta.
|
25992
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - API
|
26025
25993
|
* http://github.com/fomantic/Fomantic-UI/
|
26026
25994
|
*
|
26027
25995
|
*
|
@@ -27037,7 +27005,7 @@ $.api = $.fn.api = function(parameters) {
|
|
27037
27005
|
response
|
27038
27006
|
;
|
27039
27007
|
passedArguments = passedArguments || queryArguments;
|
27040
|
-
context =
|
27008
|
+
context = context || element;
|
27041
27009
|
if(typeof query == 'string' && object !== undefined) {
|
27042
27010
|
query = query.split(/[\. ]/);
|
27043
27011
|
maxDepth = query.length - 1;
|
@@ -27228,8 +27196,8 @@ $.api.settings = {
|
|
27228
27196
|
},
|
27229
27197
|
|
27230
27198
|
regExp : {
|
27231
|
-
required : /\{\$*[
|
27232
|
-
optional : /\{\/\$*[
|
27199
|
+
required : /\{\$*[a-z0-9]+\}/gi,
|
27200
|
+
optional : /\{\/\$*[a-z0-9]+\}/gi,
|
27233
27201
|
validate: /^[a-z_][a-z0-9_-]*(?:\[[a-z0-9_-]*\])*$/i,
|
27234
27202
|
key: /[a-z0-9_-]+|(?=\[\])/gi,
|
27235
27203
|
push: /^$/,
|
@@ -27258,7 +27226,7 @@ $.api.settings = {
|
|
27258
27226
|
})( jQuery, window, document );
|
27259
27227
|
|
27260
27228
|
/*!
|
27261
|
-
* # Fomantic-UI 2.9.0-beta.
|
27229
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - State
|
27262
27230
|
* http://github.com/fomantic/Fomantic-UI/
|
27263
27231
|
*
|
27264
27232
|
*
|
@@ -27786,7 +27754,7 @@ $.fn.state = function(parameters) {
|
|
27786
27754
|
response
|
27787
27755
|
;
|
27788
27756
|
passedArguments = passedArguments || queryArguments;
|
27789
|
-
context =
|
27757
|
+
context = context || element;
|
27790
27758
|
if(typeof query == 'string' && object !== undefined) {
|
27791
27759
|
query = query.split(/[\. ]/);
|
27792
27760
|
maxDepth = query.length - 1;
|
@@ -27970,7 +27938,7 @@ $.fn.state.settings = {
|
|
27970
27938
|
})( jQuery, window, document );
|
27971
27939
|
|
27972
27940
|
/*!
|
27973
|
-
* # Fomantic-UI 2.9.0-beta.
|
27941
|
+
* # Fomantic-UI 2.9.0-beta.314+ac16a50 - Visibility
|
27974
27942
|
* http://github.com/fomantic/Fomantic-UI/
|
27975
27943
|
*
|
27976
27944
|
*
|
@@ -29110,7 +29078,7 @@ $.fn.visibility = function(parameters) {
|
|
29110
29078
|
response
|
29111
29079
|
;
|
29112
29080
|
passedArguments = passedArguments || queryArguments;
|
29113
|
-
context =
|
29081
|
+
context = context || element;
|
29114
29082
|
if(typeof query == 'string' && object !== undefined) {
|
29115
29083
|
query = query.split(/[\. ]/);
|
29116
29084
|
maxDepth = query.length - 1;
|