Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit ec9db82

Browse files
committed
cleanup; add minified version
1 parent d72d4a6 commit ec9db82

File tree

3 files changed

+4
-27
lines changed

3 files changed

+4
-27
lines changed

angular-slider.js

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

angular-slider.min.js

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

src/angular-slider.coffee

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ sliderDirective = ->
88
scope:
99
value: '='
1010
template: "<#{BUTTON_EL} ng-model=\"value\"></#{BUTTON_EL}>"
11-
link: (scope, slider, attr) ->
1211

1312
sliderButtonDirective = ->
1413
restrict: 'E'
15-
link: (scope, button, attr) ->
14+
link: (scope, button) ->
1615
body = bar = button.parent()
1716
body = body.parent() until body[0].tagName is 'BODY'
1817

@@ -75,14 +74,3 @@ module = (window, angular) ->
7574
.directive(SLIDER_BUTTON, sliderButtonDirective)
7675

7776
module(window, window.angular)
78-
79-
###
80-
app = angular.module 'app', [MODULE]
81-
82-
app.controller 'Ctrl', ($scope) ->
83-
$scope.name = 'world'
84-
$scope.cost = 49
85-
86-
angular.bootstrap document, ['app']
87-
88-
###

0 commit comments

Comments
 (0)