-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* angular-strap | ||
* @version v2.2.3 - 2015-05-20 | ||
* @version v2.2.4 - 2015-05-28 | ||
* @link http://mgcrea.github.io/angular-strap | ||
* @author Olivier Louvignes <[email protected]> (https://github.com/mgcrea) | ||
* @license MIT License, http://www.opensource.org/licenses/MIT | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* angular-strap | ||
* @version v2.2.3 - 2015-05-20 | ||
* @version v2.2.4 - 2015-05-28 | ||
* @link http://mgcrea.github.io/angular-strap | ||
* @author Olivier Louvignes <[email protected]> (https://github.com/mgcrea) | ||
* @license MIT License, http://www.opensource.org/licenses/MIT | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* angular-strap | ||
* @version v2.2.3 - 2015-05-20 | ||
* @version v2.2.4 - 2015-05-28 | ||
* @link http://mgcrea.github.io/angular-strap | ||
* @author Olivier Louvignes <[email protected]> (https://github.com/mgcrea) | ||
* @license MIT License, http://www.opensource.org/licenses/MIT | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* angular-strap | ||
* @version v2.2.3 - 2015-05-20 | ||
* @version v2.2.4 - 2015-05-28 | ||
* @link http://mgcrea.github.io/angular-strap | ||
* @author Olivier Louvignes <[email protected]> (https://github.com/mgcrea) | ||
* @license MIT License, http://www.opensource.org/licenses/MIT | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* angular-strap | ||
* @version v2.2.3 - 2015-05-20 | ||
* @version v2.2.4 - 2015-05-28 | ||
* @link http://mgcrea.github.io/angular-strap | ||
* @author Olivier Louvignes <[email protected]> (https://github.com/mgcrea) | ||
* @license MIT License, http://www.opensource.org/licenses/MIT | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* angular-strap | ||
* @version v2.2.3 - 2015-05-20 | ||
* @version v2.2.4 - 2015-05-28 | ||
* @link http://mgcrea.github.io/angular-strap | ||
* @author Olivier Louvignes <[email protected]> (https://github.com/mgcrea) | ||
* @license MIT License, http://www.opensource.org/licenses/MIT | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* angular-strap | ||
* @version v2.2.3 - 2015-05-20 | ||
* @version v2.2.4 - 2015-05-28 | ||
* @link http://mgcrea.github.io/angular-strap | ||
* @author Olivier Louvignes <[email protected]> (https://github.com/mgcrea) | ||
* @license MIT License, http://www.opensource.org/licenses/MIT | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* angular-strap | ||
* @version v2.2.3 - 2015-05-20 | ||
* @version v2.2.4 - 2015-05-28 | ||
* @link http://mgcrea.github.io/angular-strap | ||
* @author Olivier Louvignes <[email protected]> (https://github.com/mgcrea) | ||
* @license MIT License, http://www.opensource.org/licenses/MIT | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* angular-strap | ||
* @version v2.2.3 - 2015-05-20 | ||
* @version v2.2.4 - 2015-05-28 | ||
* @link http://mgcrea.github.io/angular-strap | ||
* @author Olivier Louvignes <[email protected]> (https://github.com/mgcrea) | ||
* @license MIT License, http://www.opensource.org/licenses/MIT | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* angular-strap | ||
* @version v2.2.3 - 2015-05-20 | ||
* @version v2.2.4 - 2015-05-28 | ||
* @link http://mgcrea.github.io/angular-strap | ||
* @author Olivier Louvignes <[email protected]> (https://github.com/mgcrea) | ||
* @license MIT License, http://www.opensource.org/licenses/MIT | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* angular-strap | ||
* @version v2.2.3 - 2015-05-20 | ||
* @version v2.2.4 - 2015-05-28 | ||
* @link http://mgcrea.github.io/angular-strap | ||
* @author Olivier Louvignes <[email protected]> (https://github.com/mgcrea) | ||
* @license MIT License, http://www.opensource.org/licenses/MIT | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* angular-strap | ||
* @version v2.2.3 - 2015-05-20 | ||
* @version v2.2.4 - 2015-05-28 | ||
* @link http://mgcrea.github.io/angular-strap | ||
* @author Olivier Louvignes <[email protected]> (https://github.com/mgcrea) | ||
* @license MIT License, http://www.opensource.org/licenses/MIT | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* angular-strap | ||
* @version v2.2.3 - 2015-05-20 | ||
* @version v2.2.4 - 2015-05-28 | ||
* @link http://mgcrea.github.io/angular-strap | ||
* @author Olivier Louvignes <[email protected]> (https://github.com/mgcrea) | ||
* @license MIT License, http://www.opensource.org/licenses/MIT | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* angular-strap | ||
* @version v2.2.3 - 2015-05-20 | ||
* @version v2.2.4 - 2015-05-28 | ||
* @link http://mgcrea.github.io/angular-strap | ||
* @author Olivier Louvignes <[email protected]> (https://github.com/mgcrea) | ||
* @license MIT License, http://www.opensource.org/licenses/MIT | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* angular-strap | ||
* @version v2.2.3 - 2015-05-20 | ||
* @version v2.2.4 - 2015-05-28 | ||
* @link http://mgcrea.github.io/angular-strap | ||
* @author Olivier Louvignes <[email protected]> (https://github.com/mgcrea) | ||
* @license MIT License, http://www.opensource.org/licenses/MIT | ||
|
@@ -46,15 +46,15 @@ angular.module('mgcrea.ngStrap.dropdown', [ 'mgcrea.ngStrap.tooltip' ]).provider | |
$dropdown.show = function() { | ||
show(); | ||
$timeout(function() { | ||
options.keyboard && $dropdown.$element.on('keydown', $dropdown.$onKeyDown); | ||
options.keyboard && $dropdown.$element && $dropdown.$element.on('keydown', $dropdown.$onKeyDown); | ||
bodyEl.on('click', onBodyClick); | ||
}, 0, false); | ||
parentEl.hasClass('dropdown') && parentEl.addClass('open'); | ||
}; | ||
var hide = $dropdown.hide; | ||
$dropdown.hide = function() { | ||
if (!$dropdown.$isShown) return; | ||
options.keyboard && $dropdown.$element.off('keydown', $dropdown.$onKeyDown); | ||
options.keyboard && $dropdown.$element && $dropdown.$element.off('keydown', $dropdown.$onKeyDown); | ||
bodyEl.off('click', onBodyClick); | ||
parentEl.hasClass('dropdown') && parentEl.removeClass('open'); | ||
hide(); | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.