Skip to content

Commit e0db9eb

Browse files
committed
Build assets (gulp)
1 parent c109bf6 commit e0db9eb

8 files changed

+15
-10
lines changed

public/jquery.selectric.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* /,'
1010
* /'
1111
*
12-
* Selectric ϟ v1.12.0 (Jul 03 2017) - http://lcdsantos.github.io/jQuery-Selectric/
12+
* Selectric ϟ v1.13.0 (Aug 21 2017) - http://lcdsantos.github.io/jQuery-Selectric/
1313
*
1414
* Copyright (c) 2017 Leonardo Santos; MIT License
1515
*
@@ -44,7 +44,7 @@
4444
var $win = $(window);
4545

4646
var pluginName = 'selectric';
47-
var classList = 'Input Items Open Disabled TempShow HideSelect Wrapper Focus Hover Responsive Above Scroll Group GroupLabel';
47+
var classList = 'Input Items Open Disabled TempShow HideSelect Wrapper Focus Hover Responsive Above Below Scroll Group GroupLabel';
4848
var eventNamespaceSuffix = '.sl';
4949

5050
var chars = ['a', 'e', 'i', 'o', 'u', 'n', 'c', 'y'];
@@ -773,6 +773,8 @@
773773

774774
if (_this.options.forceRenderAbove === true) {
775775
_this.elements.outerWrapper.addClass(_this.classes.above);
776+
} else if (_this.options.forceRenderBelow === true) {
777+
_this.elements.outerWrapper.addClass(_this.classes.below);
776778
} else {
777779
var scrollTop = $win.scrollTop();
778780
var winHeight = $win.height();
@@ -787,8 +789,10 @@
787789
// It's acceptable that the user needs to
788790
// scroll the viewport to see the cut off UI
789791
var renderAbove = !fitsDown && fitsAbove;
792+
var renderBelow = !renderAbove;
790793

791794
_this.elements.outerWrapper.toggleClass(_this.classes.above, renderAbove);
795+
_this.elements.outerWrapper.toggleClass(_this.classes.below, renderBelow);
792796
}
793797
},
794798

@@ -1081,6 +1085,7 @@
10811085
inheritOriginalWidth : false,
10821086
allowWrap : true,
10831087
forceRenderAbove : false,
1088+
forceRenderBelow : false,
10841089
stopPropagation : true,
10851090
optionsItemBuilder : '{text}', // function(itemData, element, index)
10861091
labelBuilder : '{text}', // function(currItem)

public/jquery.selectric.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/plugins/jquery.selectric.addNew.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Selectric AddNew ϟ v0.2.0 (2017-01-11) - git.io/tjl9sQ - Copyright (c) 2017 David Shen (git.io/mhQmLQ) - MIT License */
1+
/*! Selectric AddNew ϟ v0.2.0 (2017-08-21) - git.io/tjl9sQ - Copyright (c) 2017 David Shen (git.io/mhQmLQ) - MIT License */
22
(function(factory) {
33
/* global define */
44
if ( typeof define === 'function' && define.amd ) {

public/plugins/jquery.selectric.addNew.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/plugins/jquery.selectric.placeholder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Selectric Placeholder ϟ v0.2.0 (2017-01-11) - git.io/tjl9sQ - Copyright (c) 2017 Leonardo Santos - MIT License */
1+
/*! Selectric Placeholder ϟ v0.2.0 (2017-08-21) - git.io/tjl9sQ - Copyright (c) 2017 Leonardo Santos - MIT License */
22
(function(factory) {
33
/* global define */
44
if ( typeof define === 'function' && define.amd ) {

public/plugins/jquery.selectric.placeholder.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/selectric.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*======================================
2-
Selectric v1.12.0
2+
Selectric v1.13.0
33
======================================*/
44

55
.selectric-wrapper {

selectric.jquery.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "selectric",
3-
"version": "1.12.0",
3+
"version": "1.13.0",
44
"title": "jQuery Selectric",
55
"author": {
66
"name": "Leonardo Santos",

0 commit comments

Comments
 (0)