-
-
Notifications
You must be signed in to change notification settings - Fork 498
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Events): Fix the way to check when event properties are undefined
Fix #365
- Loading branch information
Valentin Hervieu
committed
Jul 6, 2016
1 parent
3a6b103
commit e999284
Showing
8 changed files
with
15 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "angularjs-slider", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"homepage": "https://github.com/angular-slider/angularjs-slider", | ||
"authors": [ | ||
"Rafal Zajac <[email protected]>", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! angularjs-slider - v5.1.0 - | ||
/*! angularjs-slider - v5.1.1 - | ||
(c) Rafal Zajac <[email protected]>, Valentin Hervieu <[email protected]>, Jussi Saarivirta <[email protected]>, Angelin Sirbu <[email protected]> - | ||
https://github.com/angular-slider/angularjs-slider - | ||
2016-07-02 */ | ||
2016-07-06 */ | ||
.rzslider { | ||
position: relative; | ||
display: inline-block; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! angularjs-slider - v5.1.0 - | ||
/*! angularjs-slider - v5.1.1 - | ||
(c) Rafal Zajac <[email protected]>, Valentin Hervieu <[email protected]>, Jussi Saarivirta <[email protected]>, Angelin Sirbu <[email protected]> - | ||
https://github.com/angular-slider/angularjs-slider - | ||
2016-07-02 */ | ||
2016-07-06 */ | ||
/*jslint unparam: true */ | ||
/*global angular: false, console: false, define, module */ | ||
(function(root, factory) { | ||
|
@@ -1401,7 +1401,7 @@ | |
/* http://stackoverflow.com/a/12336075/282882 */ | ||
//noinspection JSLint | ||
var clientXY = this.options.vertical ? 'clientY' : 'clientX'; | ||
if (clientXY in event) { | ||
if (event[clientXY] !== undefined) { | ||
return event[clientXY]; | ||
} | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters