less-rails-semantic_ui 1.10.0.0 → 1.10.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/javascripts/semantic_ui/definitions/behaviors/api.js +18 -10
- data/assets/javascripts/semantic_ui/definitions/behaviors/colorize.js +3 -3
- data/assets/javascripts/semantic_ui/definitions/behaviors/form.js +5 -3
- data/assets/javascripts/semantic_ui/definitions/behaviors/state.js +5 -3
- data/assets/javascripts/semantic_ui/definitions/behaviors/visibility.js +113 -65
- data/assets/javascripts/semantic_ui/definitions/behaviors/visit.js +5 -3
- data/assets/javascripts/semantic_ui/definitions/globals/site.js +3 -3
- data/assets/javascripts/semantic_ui/definitions/modules/accordion.js +3 -3
- data/assets/javascripts/semantic_ui/definitions/modules/checkbox.js +3 -3
- data/assets/javascripts/semantic_ui/definitions/modules/dimmer.js +5 -3
- data/assets/javascripts/semantic_ui/definitions/modules/dropdown.js +3 -3
- data/assets/javascripts/semantic_ui/definitions/modules/modal.js +3 -3
- data/assets/javascripts/semantic_ui/definitions/modules/nag.js +3 -3
- data/assets/javascripts/semantic_ui/definitions/modules/popup.js +3 -3
- data/assets/javascripts/semantic_ui/definitions/modules/progress.js +3 -3
- data/assets/javascripts/semantic_ui/definitions/modules/rating.js +3 -3
- data/assets/javascripts/semantic_ui/definitions/modules/search.js +4 -4
- data/assets/javascripts/semantic_ui/definitions/modules/shape.js +3 -3
- data/assets/javascripts/semantic_ui/definitions/modules/sidebar.js +3 -3
- data/assets/javascripts/semantic_ui/definitions/modules/sticky.js +23 -24
- data/assets/javascripts/semantic_ui/definitions/modules/tab.js +3 -3
- data/assets/javascripts/semantic_ui/definitions/modules/transition.js +3 -4
- data/assets/javascripts/semantic_ui/definitions/modules/video.js +3 -3
- data/assets/stylesheets/semantic_ui/definitions/collections/breadcrumb.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/collections/form.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/collections/grid.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/collections/menu.less +8 -3
- data/assets/stylesheets/semantic_ui/definitions/collections/message.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/collections/table.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/elements/button.less +4 -3
- data/assets/stylesheets/semantic_ui/definitions/elements/divider.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/elements/flag.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/elements/header.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/elements/icon.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/elements/image.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/elements/input.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/elements/label.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/elements/list.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/elements/loader.less +10 -3
- data/assets/stylesheets/semantic_ui/definitions/elements/rail.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/elements/reveal.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/elements/segment.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/elements/step.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/globals/reset.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/globals/site.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/modules/accordion.less +4 -3
- data/assets/stylesheets/semantic_ui/definitions/modules/checkbox.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/modules/dimmer.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/modules/dropdown.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/modules/modal.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/modules/nag.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/modules/popup.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/modules/progress.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/modules/rating.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/modules/search.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/modules/shape.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/modules/sidebar.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/modules/sticky.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/modules/tab.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/modules/transition.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/modules/video.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/views/ad.less +2 -2
- data/assets/stylesheets/semantic_ui/definitions/views/card.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/views/comment.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/views/feed.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/views/item.less +3 -3
- data/assets/stylesheets/semantic_ui/definitions/views/statistic.less +3 -3
- data/assets/stylesheets/semantic_ui/themes/default/collections/menu.variables +1 -0
- data/assets/stylesheets/semantic_ui/themes/default/elements/icon.overrides +3 -3
- data/lib/less/rails/semantic_ui/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60b13a016a97fd828e6f64cc1845ea4851fa5d98
|
4
|
+
data.tar.gz: ed24a7ae707268326590899f382f76d5859e3fc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 412872a9190beb0932453ef7659f682df2b8ec9fd570aee8371545cfae2498d50615c6352659e501e4b2de9d316b589d655dd5104e88e0f5f5bfdf3adc1dc5b3
|
7
|
+
data.tar.gz: 368ba82259e96e24b59189f1c168dc5c85180d3ee07f56a8941613212a173289280eee68b7299283089e6f7ef887d81bcf66e11634c9f81ce57950580365aa3c
|
@@ -1,9 +1,9 @@
|
|
1
|
-
|
2
|
-
* # Semantic - API
|
1
|
+
/*!
|
2
|
+
* # Semantic UI - API
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
6
|
-
* Copyright 2014
|
6
|
+
* Copyright 2014 Contributors
|
7
7
|
* Released under the MIT license
|
8
8
|
* http://opensource.org/licenses/MIT
|
9
9
|
*
|
@@ -11,6 +11,8 @@
|
|
11
11
|
|
12
12
|
;(function ( $, window, document, undefined ) {
|
13
13
|
|
14
|
+
"use strict";
|
15
|
+
|
14
16
|
$.api = $.fn.api = function(parameters) {
|
15
17
|
|
16
18
|
var
|
@@ -160,9 +162,9 @@ $.api = $.fn.api = function(parameters) {
|
|
160
162
|
|
161
163
|
// exit conditions reached, missing url parameters
|
162
164
|
if( !url ) {
|
163
|
-
if(
|
164
|
-
module.
|
165
|
-
|
165
|
+
if( module.is.form() ) {
|
166
|
+
url = $module.attr('action') || '';
|
167
|
+
module.debug('No url or action specified, defaulting to form action', url);
|
166
168
|
}
|
167
169
|
else {
|
168
170
|
module.error(error.missingURL, settings.action);
|
@@ -210,6 +212,12 @@ $.api = $.fn.api = function(parameters) {
|
|
210
212
|
disabled: function() {
|
211
213
|
return ($module.filter(settings.filter).length > 0);
|
212
214
|
},
|
215
|
+
form: function() {
|
216
|
+
return $module.is('form');
|
217
|
+
},
|
218
|
+
input: function() {
|
219
|
+
return $module.is('input');
|
220
|
+
},
|
213
221
|
loading: function() {
|
214
222
|
return (module.request && module.request.state() == 'pending');
|
215
223
|
}
|
@@ -506,10 +514,10 @@ $.api = $.fn.api = function(parameters) {
|
|
506
514
|
data = {}
|
507
515
|
;
|
508
516
|
if( !$.isWindow(element) ) {
|
509
|
-
if(
|
517
|
+
if( module.is.input() ) {
|
510
518
|
data.value = $module.val();
|
511
519
|
}
|
512
|
-
else if(
|
520
|
+
else if( !module.is.form() ) {
|
513
521
|
|
514
522
|
}
|
515
523
|
else {
|
@@ -547,7 +555,7 @@ $.api = $.fn.api = function(parameters) {
|
|
547
555
|
var
|
548
556
|
formData
|
549
557
|
;
|
550
|
-
if($
|
558
|
+
if($module.serializeObject !== undefined) {
|
551
559
|
formData = $form.serializeObject();
|
552
560
|
}
|
553
561
|
else {
|
@@ -568,7 +576,7 @@ $.api = $.fn.api = function(parameters) {
|
|
568
576
|
url = settings.api[action];
|
569
577
|
module.debug('Found template url', url);
|
570
578
|
}
|
571
|
-
else {
|
579
|
+
else if( !module.is.form() ) {
|
572
580
|
module.error(error.missingAction, settings.action, settings.api);
|
573
581
|
}
|
574
582
|
}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
|
2
|
-
* # Semantic - Colorize
|
1
|
+
/*!
|
2
|
+
* # Semantic UI - Colorize
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
6
|
-
* Copyright 2014
|
6
|
+
* Copyright 2014 Contributors
|
7
7
|
* Released under the MIT license
|
8
8
|
* http://opensource.org/licenses/MIT
|
9
9
|
*
|
@@ -1,9 +1,9 @@
|
|
1
|
-
|
2
|
-
* # Semantic - Form Validation
|
1
|
+
/*!
|
2
|
+
* # Semantic UI - Form Validation
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
6
|
-
* Copyright 2014
|
6
|
+
* Copyright 2014 Contributors
|
7
7
|
* Released under the MIT license
|
8
8
|
* http://opensource.org/licenses/MIT
|
9
9
|
*
|
@@ -11,6 +11,8 @@
|
|
11
11
|
|
12
12
|
;(function ( $, window, document, undefined ) {
|
13
13
|
|
14
|
+
"use strict";
|
15
|
+
|
14
16
|
$.fn.form = function(fields, parameters) {
|
15
17
|
var
|
16
18
|
$allModules = $(this),
|
@@ -1,9 +1,9 @@
|
|
1
|
-
|
2
|
-
* # Semantic - State
|
1
|
+
/*!
|
2
|
+
* # Semantic UI - State
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
6
|
-
* Copyright 2014
|
6
|
+
* Copyright 2014 Contributors
|
7
7
|
* Released under the MIT license
|
8
8
|
* http://opensource.org/licenses/MIT
|
9
9
|
*
|
@@ -11,6 +11,8 @@
|
|
11
11
|
|
12
12
|
;(function ( $, window, document, undefined ) {
|
13
13
|
|
14
|
+
"use strict";
|
15
|
+
|
14
16
|
$.fn.state = function(parameters) {
|
15
17
|
var
|
16
18
|
$allModules = $(this),
|
@@ -1,9 +1,9 @@
|
|
1
|
-
|
2
|
-
* # Semantic - Visibility
|
1
|
+
/*!
|
2
|
+
* # Semantic UI - Visibility
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
6
|
-
* Copyright 2014
|
6
|
+
* Copyright 2014 Contributors
|
7
7
|
* Released under the MIT license
|
8
8
|
* http://opensource.org/licenses/MIT
|
9
9
|
*
|
@@ -11,6 +11,8 @@
|
|
11
11
|
|
12
12
|
;(function ( $, window, document, undefined ) {
|
13
13
|
|
14
|
+
"use strict";
|
15
|
+
|
14
16
|
$.fn.visibility = function(parameters) {
|
15
17
|
var
|
16
18
|
$allModules = $(this),
|
@@ -52,6 +54,7 @@ $.fn.visibility = function(parameters) {
|
|
52
54
|
|| function(callback) { setTimeout(callback, 0); },
|
53
55
|
|
54
56
|
element = this,
|
57
|
+
observer,
|
55
58
|
module
|
56
59
|
;
|
57
60
|
|
@@ -72,7 +75,12 @@ $.fn.visibility = function(parameters) {
|
|
72
75
|
module.setup.fixed();
|
73
76
|
}
|
74
77
|
}
|
75
|
-
|
78
|
+
if(settings.initialCheck) {
|
79
|
+
module.checkVisibility();
|
80
|
+
}
|
81
|
+
if(settings.observeChanges) {
|
82
|
+
module.observeChanges();
|
83
|
+
}
|
76
84
|
module.instantiate();
|
77
85
|
},
|
78
86
|
|
@@ -92,6 +100,23 @@ $.fn.visibility = function(parameters) {
|
|
92
100
|
;
|
93
101
|
},
|
94
102
|
|
103
|
+
observeChanges: function() {
|
104
|
+
var
|
105
|
+
context = $context[0]
|
106
|
+
;
|
107
|
+
if('MutationObserver' in window) {
|
108
|
+
observer = new MutationObserver(function(mutations) {
|
109
|
+
module.verbose('DOM tree modified, updating visibility calculations');
|
110
|
+
module.refresh();
|
111
|
+
});
|
112
|
+
observer.observe(element, {
|
113
|
+
childList : true,
|
114
|
+
subtree : true
|
115
|
+
});
|
116
|
+
module.debug('Setting up mutation observer', observer);
|
117
|
+
}
|
118
|
+
},
|
119
|
+
|
95
120
|
bindEvents: function() {
|
96
121
|
module.verbose('Binding visibility events to scroll and resize');
|
97
122
|
$window
|
@@ -174,6 +199,7 @@ $.fn.visibility = function(parameters) {
|
|
174
199
|
module.verbose('Lazy loading image', src);
|
175
200
|
// show when top visible
|
176
201
|
module.topVisible(function() {
|
202
|
+
module.debug('Image top visible', element);
|
177
203
|
module.precache(src, function() {
|
178
204
|
module.set.image(src);
|
179
205
|
settings.onTopVisible = false;
|
@@ -195,8 +221,10 @@ $.fn.visibility = function(parameters) {
|
|
195
221
|
top: settings.offset + 'px'
|
196
222
|
})
|
197
223
|
;
|
198
|
-
if(settings.
|
199
|
-
|
224
|
+
if(settings.transition) {
|
225
|
+
if($.fn.transition !== undefined) {
|
226
|
+
$module.transition(settings.transition, settings.duration);
|
227
|
+
}
|
200
228
|
}
|
201
229
|
},
|
202
230
|
onTopPassedReverse: function() {
|
@@ -226,16 +254,30 @@ $.fn.visibility = function(parameters) {
|
|
226
254
|
$module.show();
|
227
255
|
}
|
228
256
|
else {
|
229
|
-
if(settings.transition
|
230
|
-
|
257
|
+
if(settings.transition) {
|
258
|
+
if( $.fn.transition !== undefined ) {
|
259
|
+
$module.transition(settings.transition, settings.duration);
|
260
|
+
}
|
261
|
+
else {
|
262
|
+
$module.fadeIn(settings.duration);
|
263
|
+
}
|
231
264
|
}
|
232
265
|
else {
|
233
|
-
$module.
|
266
|
+
$module.show();
|
234
267
|
}
|
235
268
|
}
|
236
269
|
}
|
237
270
|
},
|
238
271
|
|
272
|
+
is: {
|
273
|
+
visible: function() {
|
274
|
+
if(module.cache && module.cache.element) {
|
275
|
+
return (module.cache.element.height > 0 && module.cache.element.width > 0);
|
276
|
+
}
|
277
|
+
return false;
|
278
|
+
}
|
279
|
+
},
|
280
|
+
|
239
281
|
refresh: function() {
|
240
282
|
module.debug('Refreshing constants (element width/height)');
|
241
283
|
module.reset();
|
@@ -256,22 +298,24 @@ $.fn.visibility = function(parameters) {
|
|
256
298
|
module.verbose('Checking visibility of element', module.cache.element);
|
257
299
|
module.save.calculations();
|
258
300
|
|
259
|
-
|
260
|
-
|
301
|
+
if( module.is.visible() ) {
|
302
|
+
// percentage
|
303
|
+
module.passed();
|
261
304
|
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
305
|
+
// reverse (must be first)
|
306
|
+
module.passingReverse();
|
307
|
+
module.topVisibleReverse();
|
308
|
+
module.bottomVisibleReverse();
|
309
|
+
module.topPassedReverse();
|
310
|
+
module.bottomPassedReverse();
|
268
311
|
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
312
|
+
// one time
|
313
|
+
module.passing();
|
314
|
+
module.topVisible();
|
315
|
+
module.bottomVisible();
|
316
|
+
module.topPassed();
|
317
|
+
module.bottomPassed();
|
318
|
+
}
|
275
319
|
},
|
276
320
|
|
277
321
|
passed: function(amount, newCallback) {
|
@@ -525,7 +569,7 @@ $.fn.visibility = function(parameters) {
|
|
525
569
|
calculations = module.get.elementCalculations(),
|
526
570
|
screen = module.get.screenCalculations()
|
527
571
|
;
|
528
|
-
callback
|
572
|
+
callback = callback || false;
|
529
573
|
if(callback) {
|
530
574
|
if(settings.continuous) {
|
531
575
|
module.debug('Callback being called continuously', callbackName, calculations);
|
@@ -592,59 +636,58 @@ $.fn.visibility = function(parameters) {
|
|
592
636
|
},
|
593
637
|
elementPosition: function() {
|
594
638
|
var
|
595
|
-
|
639
|
+
element = module.cache.element,
|
640
|
+
screen = module.get.screenSize()
|
596
641
|
;
|
597
642
|
module.verbose('Saving element position');
|
598
|
-
$.extend
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
return
|
643
|
+
// (quicker than $.extend)
|
644
|
+
element.margin = {};
|
645
|
+
element.margin.top = parseInt($module.css('margin-top'), 10);
|
646
|
+
element.margin.bottom = parseInt($module.css('margin-bottom'), 10);
|
647
|
+
element.fits = (element.height < screen.height);
|
648
|
+
element.offset = $module.offset();
|
649
|
+
element.width = $module.outerWidth();
|
650
|
+
element.height = $module.outerHeight();
|
651
|
+
// store
|
652
|
+
module.cache.element = element;
|
653
|
+
return element;
|
609
654
|
},
|
610
655
|
elementCalculations: function() {
|
611
656
|
var
|
612
|
-
screen
|
613
|
-
element
|
657
|
+
screen = module.get.screenCalculations(),
|
658
|
+
element = module.get.elementPosition()
|
614
659
|
;
|
615
660
|
// offset
|
616
661
|
if(settings.includeMargin) {
|
617
|
-
|
618
|
-
|
619
|
-
bottom : element.offset.top + element.height + element.margin.bottom
|
620
|
-
});
|
662
|
+
element.top = element.offset.top - element.margin.top;
|
663
|
+
element.bottom = element.offset.top + element.height + element.margin.bottom;
|
621
664
|
}
|
622
665
|
else {
|
623
|
-
|
624
|
-
|
625
|
-
bottom : element.offset.top + element.height
|
626
|
-
});
|
666
|
+
element.top = element.offset.top;
|
667
|
+
element.bottom = element.offset.top + element.height;
|
627
668
|
}
|
669
|
+
|
628
670
|
// visibility
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
});
|
671
|
+
element.topVisible = (screen.bottom >= element.top);
|
672
|
+
element.topPassed = (screen.top >= element.top);
|
673
|
+
element.bottomVisible = (screen.bottom >= element.bottom);
|
674
|
+
element.bottomPassed = (screen.top >= element.bottom);
|
675
|
+
element.pixelsPassed = 0;
|
676
|
+
element.percentagePassed = 0;
|
677
|
+
|
637
678
|
// meta calculations
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
if(
|
644
|
-
|
645
|
-
|
646
|
-
}
|
647
|
-
module.
|
679
|
+
element.visible = (element.topVisible || element.bottomVisible);
|
680
|
+
element.passing = (element.topPassed && !element.bottomPassed);
|
681
|
+
element.hidden = (!element.topVisible && !element.bottomVisible);
|
682
|
+
|
683
|
+
// passing calculations
|
684
|
+
if(element.passing) {
|
685
|
+
element.pixelsPassed = (screen.top - element.top);
|
686
|
+
element.percentagePassed = (screen.top - element.top) / element.height;
|
687
|
+
}
|
688
|
+
module.cache.element = element;
|
689
|
+
module.verbose('Updated element calculations', element);
|
690
|
+
return element;
|
648
691
|
},
|
649
692
|
screenCalculations: function() {
|
650
693
|
var
|
@@ -918,6 +961,8 @@ $.fn.visibility.settings = {
|
|
918
961
|
fixed: 'fixed'
|
919
962
|
},
|
920
963
|
|
964
|
+
observeChanges : true,
|
965
|
+
|
921
966
|
debug : false,
|
922
967
|
verbose : false,
|
923
968
|
performance : true,
|
@@ -927,6 +972,9 @@ $.fn.visibility.settings = {
|
|
927
972
|
|
928
973
|
context : window,
|
929
974
|
|
975
|
+
// check position immediately on init
|
976
|
+
initialCheck : true,
|
977
|
+
|
930
978
|
// visibility check delay in ms (defaults to animationFrame)
|
931
979
|
throttle : false,
|
932
980
|
|
@@ -935,7 +983,7 @@ $.fn.visibility.settings = {
|
|
935
983
|
|
936
984
|
// image only animation settings
|
937
985
|
transition : false,
|
938
|
-
duration :
|
986
|
+
duration : 1000,
|
939
987
|
|
940
988
|
// array of callbacks for percentage
|
941
989
|
onPassed : {},
|
@@ -1,9 +1,9 @@
|
|
1
|
-
|
2
|
-
* # Semantic - Visit
|
1
|
+
/*!
|
2
|
+
* # Semantic UI - Visit
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
6
|
-
* Copyright 2014
|
6
|
+
* Copyright 2014 Contributors
|
7
7
|
* Released under the MIT license
|
8
8
|
* http://opensource.org/licenses/MIT
|
9
9
|
*
|
@@ -11,6 +11,8 @@
|
|
11
11
|
|
12
12
|
;(function ($, window, document, undefined) {
|
13
13
|
|
14
|
+
"use strict";
|
15
|
+
|
14
16
|
$.visit = $.fn.visit = function(parameters) {
|
15
17
|
var
|
16
18
|
$allModules = $.isFunction(this)
|
@@ -1,9 +1,9 @@
|
|
1
|
-
|
2
|
-
* # Semantic - Accordion
|
1
|
+
/*!
|
2
|
+
* # Semantic UI - Accordion
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
6
|
-
* Copyright 2014
|
6
|
+
* Copyright 2014 Contributors
|
7
7
|
* Released under the MIT license
|
8
8
|
* http://opensource.org/licenses/MIT
|
9
9
|
*
|
@@ -1,9 +1,9 @@
|
|
1
|
-
|
2
|
-
* # Semantic - Checkbox
|
1
|
+
/*!
|
2
|
+
* # Semantic UI - Checkbox
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
6
|
-
* Copyright 2014
|
6
|
+
* Copyright 2014 Contributors
|
7
7
|
* Released under the MIT license
|
8
8
|
* http://opensource.org/licenses/MIT
|
9
9
|
*
|
@@ -1,9 +1,9 @@
|
|
1
|
-
|
2
|
-
* # Semantic - Dimmer
|
1
|
+
/*!
|
2
|
+
* # Semantic UI - Dimmer
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
6
|
-
* Copyright 2014
|
6
|
+
* Copyright 2014 Contributors
|
7
7
|
* Released under the MIT license
|
8
8
|
* http://opensource.org/licenses/MIT
|
9
9
|
*
|
@@ -11,6 +11,8 @@
|
|
11
11
|
|
12
12
|
;(function ( $, window, document, undefined ) {
|
13
13
|
|
14
|
+
"use strict";
|
15
|
+
|
14
16
|
$.fn.dimmer = function(parameters) {
|
15
17
|
var
|
16
18
|
$allModules = $(this),
|
@@ -1,9 +1,9 @@
|
|
1
|
-
|
2
|
-
* # Semantic - Dropdown
|
1
|
+
/*!
|
2
|
+
* # Semantic UI - Dropdown
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
6
|
-
* Copyright 2014
|
6
|
+
* Copyright 2014 Contributors
|
7
7
|
* Released under the MIT license
|
8
8
|
* http://opensource.org/licenses/MIT
|
9
9
|
*
|
@@ -1,9 +1,9 @@
|
|
1
|
-
|
2
|
-
* # Semantic - Progress
|
1
|
+
/*!
|
2
|
+
* # Semantic UI - Progress
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
6
|
-
* Copyright 2014
|
6
|
+
* Copyright 2014 Contributors
|
7
7
|
* Released under the MIT license
|
8
8
|
* http://opensource.org/licenses/MIT
|
9
9
|
*
|
@@ -1,9 +1,9 @@
|
|
1
|
-
|
2
|
-
* # Semantic - Search
|
1
|
+
/*!
|
2
|
+
* # Semantic UI - Search
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
6
|
-
* Copyright 2014
|
6
|
+
* Copyright 2014 Contributors
|
7
7
|
* Released under the MIT license
|
8
8
|
* http://opensource.org/licenses/MIT
|
9
9
|
*
|
@@ -310,7 +310,7 @@ $.fn.search = function(parameters) {
|
|
310
310
|
$.each(results, function(index, category) {
|
311
311
|
if($.isArray(category.results)) {
|
312
312
|
result = module.search.object(value, category.results)[0];
|
313
|
-
if(result.length > 0) {
|
313
|
+
if(result && result.length > 0) {
|
314
314
|
return true;
|
315
315
|
}
|
316
316
|
}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
|
2
|
-
* # Semantic - Sidebar
|
1
|
+
/*!
|
2
|
+
* # Semantic UI - Sidebar
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
6
|
-
* Copyright 2014
|
6
|
+
* Copyright 2014 Contributors
|
7
7
|
* Released under the MIT license
|
8
8
|
* http://opensource.org/licenses/MIT
|
9
9
|
*
|