glider-rails 0.1.4.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
|
|
1
1
|
###
|
2
|
-
glider 0.1.
|
2
|
+
glider 0.1.5 - AngularJS slider
|
3
3
|
https://github.com/evrone/glider
|
4
4
|
Copyright (c) 2013 Valentin Vasilyev, Dmitry Karpunin
|
5
5
|
Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
|
@@ -27,8 +27,8 @@ gliderModule.directive 'slider', ['$document', ($document) ->
|
|
27
27
|
template: """
|
28
28
|
<span class="g-slider horizontal">
|
29
29
|
<span class="slider" ng-click="sliderClick($event)">
|
30
|
-
<span class="range" style="width:
|
31
|
-
<span class="handle" style="left:
|
30
|
+
<span class="range" ng-style="{width: xPosition+'%'}"></span>
|
31
|
+
<span class="handle" ng-style="{left: xPosition +'%'}" ng-mousedown="handleMouseDown($event)">
|
32
32
|
<span class="value" ng-show="showValueInHandle">{{handleValue | intersperse}}</span>
|
33
33
|
</span>
|
34
34
|
</span>
|
@@ -41,7 +41,7 @@ gliderModule.directive 'slider', ['$document', ($document) ->
|
|
41
41
|
<span class="bound-value">{{max() | intersperse}}</span>
|
42
42
|
</span>
|
43
43
|
<span class="increments">
|
44
|
-
<span ng-repeat="i in increments" class="i" style="left:
|
44
|
+
<span ng-repeat="i in increments" class="i" ng-style="{left: i.offset+'%'}">
|
45
45
|
{{ i.value | intersperse }}
|
46
46
|
</span>
|
47
47
|
</span>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
// Generated by CoffeeScript 1.6.3
|
2
2
|
/*
|
3
|
-
glider 0.1.
|
3
|
+
glider 0.1.5 - AngularJS slider
|
4
4
|
https://github.com/evrone/glider
|
5
5
|
Copyright (c) 2013 Valentin Vasilyev, Dmitry Karpunin
|
6
6
|
Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
|
@@ -30,7 +30,7 @@
|
|
30
30
|
gliderModule.directive('slider', [
|
31
31
|
'$document', function($document) {
|
32
32
|
return {
|
33
|
-
template: "<span class=\"g-slider horizontal\">\n<span class=\"slider\" ng-click=\"sliderClick($event)\">\n<span class=\"range\" style=\"width:
|
33
|
+
template: "<span class=\"g-slider horizontal\">\n<span class=\"slider\" ng-click=\"sliderClick($event)\">\n<span class=\"range\" ng-style=\"{width: xPosition+'%'}\"></span>\n<span class=\"handle\" ng-style=\"{left: xPosition +'%'}\" ng-mousedown=\"handleMouseDown($event)\">\n<span class=\"value\" ng-show=\"showValueInHandle\">{{handleValue | intersperse}}</span>\n</span>\n</span>\n<span class=\"side dec\">\n<span class=\"button\" ng-click=\"step(-1)\">-</span>\n<span class=\"bound-value\">{{min() | intersperse}}</span>\n</span>\n<span class=\"side inc\">\n<span class=\"button\" ng-click=\"step(+1)\">+</span>\n<span class=\"bound-value\">{{max() | intersperse}}</span>\n</span>\n<span class=\"increments\">\n<span ng-repeat=\"i in increments\" class=\"i\" ng-style=\"{left: i.offset+'%'}\">\n{{ i.value | intersperse }}\n</span>\n</span>\n</span>",
|
34
34
|
replace: true,
|
35
35
|
restrict: "E",
|
36
36
|
scope: {
|
data/glider-rails.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "glider-rails"
|
7
|
-
gem.version = "0.1.
|
7
|
+
gem.version = "0.1.5"
|
8
8
|
gem.authors = ["Valentin Valve Vasilyev", "Dmitry KODer Karpunin"]
|
9
9
|
gem.email = ["iamvalentin@gmail.com", "koderfunk@gmail.com"]
|
10
10
|
gem.description = "Glider, AngularJS UI slider for rails asset pipeline"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glider-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -50,7 +50,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
50
50
|
version: '0'
|
51
51
|
requirements: []
|
52
52
|
rubyforge_project:
|
53
|
-
rubygems_version: 1.8.
|
53
|
+
rubygems_version: 1.8.23
|
54
54
|
signing_key:
|
55
55
|
specification_version: 3
|
56
56
|
summary: Glider — AngularJS UI slider library, packaged for Ruby-on-Rails asset pipeline
|