-
-
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.
- Loading branch information
Showing
11 changed files
with
146 additions
and
130 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"semi": false, | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
} |
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
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,29 +1,17 @@ | ||
{ | ||
"name": "angularjs-slider", | ||
"version": "6.4.0", | ||
"version": "6.4.2", | ||
"homepage": "https://github.com/angular-slider/angularjs-slider", | ||
"authors": [ | ||
"Rafal Zajac <[email protected]>", | ||
"Valentin Hervieu <[email protected]>", | ||
"Jussi Saarivirta <[email protected]>" | ||
], | ||
"description": "AngularJS slider directive with no external dependencies. Mobile friendly!", | ||
"main": [ | ||
"dist/rzslider.js", | ||
"dist/rzslider.css" | ||
], | ||
"keywords": [ | ||
"angularjs", | ||
"slider" | ||
], | ||
"main": ["dist/rzslider.js", "dist/rzslider.css"], | ||
"keywords": ["angularjs", "slider"], | ||
"license": "MIT", | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"test", | ||
"tests" | ||
], | ||
"ignore": ["**/.*", "node_modules", "bower_components", "test", "tests"], | ||
"devDependencies": { | ||
"angular": "~1.4.0" | ||
} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! angularjs-slider - v6.4.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 - | ||
2017-11-17 */ | ||
2017-11-30 */ | ||
/*jslint unparam: true */ | ||
/*global angular: false, console: false, define, module */ | ||
;(function(root, factory) { | ||
|
@@ -404,16 +404,16 @@ | |
|
||
// Watchers (order is important because in case of simultaneous change, | ||
// watchers will be called in the same order) | ||
this.scope.$watchCollection( | ||
'rzSliderOptions()', | ||
function(newValue, oldValue) { | ||
if (newValue === oldValue) return | ||
self.applyOptions() // need to be called before synchronizing the values | ||
self.syncLowValue() | ||
if (self.range) self.syncHighValue() | ||
self.resetSlider() | ||
} | ||
) | ||
this.scope.$watchCollection('rzSliderOptions()', function( | ||
newValue, | ||
oldValue | ||
) { | ||
if (newValue === oldValue) return | ||
self.applyOptions() // need to be called before synchronizing the values | ||
self.syncLowValue() | ||
if (self.range) self.syncHighValue() | ||
self.resetSlider() | ||
}) | ||
|
||
this.scope.$watch('rzSliderModel', function(newValue, oldValue) { | ||
if (self.internalChange) return | ||
|
@@ -2660,3 +2660,4 @@ | |
|
||
return module.name | ||
}) | ||
; |
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.
Oops, something went wrong.