Permalink
Browse files

Update Component

  • Loading branch information...
Benjamin den Boer
Benjamin den Boer committed Mar 3, 2017
1 parent 6d64ea9 commit 9223f5c9fff62d5a52226f93a2befd94d8b95f3c
Binary file not shown.
@@ -3,7 +3,7 @@ Utils = require "../Utils"
{Events} = require "../Events"
"""
RangedSliderComponent
RangeSliderComponent
minKnob <layer>
maxKnob <layer>
@@ -37,7 +37,7 @@ class Knob extends Layer
super options
class exports.RangedSliderComponent extends Layer
class exports.RangeSliderComponent extends Layer
constructor: (options={}) ->
View
@@ -24,7 +24,7 @@ Framer.print = (require "./Print").print
Framer.ScrollComponent = (require "./Components/ScrollComponent").ScrollComponent
Framer.PageComponent = (require "./Components/PageComponent").PageComponent
Framer.SliderComponent = (require "./Components/SliderComponent").SliderComponent
Framer.RangedSliderComponent = (require "./Components/RangedSliderComponent").RangedSliderComponent
Framer.RangeSliderComponent = (require "./Components/RangeSliderComponent").RangeSliderComponent
Framer.DeviceComponent = (require "./Components/DeviceComponent").DeviceComponent
Framer.GridComponent = (require "./Components/GridComponent").GridComponent
Framer.FlowComponent = (require "./Components/FlowComponent").FlowComponent
View
@@ -44,7 +44,7 @@ require "./tests/VersionTest"
require "./tests/ColorTest"
require "./tests/DeviceComponentTest"
require "./tests/SliderComponentTest"
require "./tests/RangedSliderComponentTest"
require "./tests/RangeSliderComponentTest"
require "./tests/FlowComponentTest"
mocha.run()
@@ -1,13 +1,13 @@
assert = require "assert"
simulate = require "simulate"
describe "RangedSliderComponent", ->
describe "RangeSliderComponent", ->
describe "Defaults", ->
it "should set defaults", ->
slider = new RangedSliderComponent
slider = new RangeSliderComponent
slider.min.should.equal 0
slider.max.should.equal 1
slider.minValue.should.equal 0
@@ -20,7 +20,7 @@ describe "RangedSliderComponent", ->
initialMinValue = 0
initialMaxValue = 0.5
slider = new RangedSliderComponent
slider = new RangeSliderComponent
slider.minValue = initialMinValue
slider.maxValue = initialMaxValue
slider.width = 100

0 comments on commit 9223f5c

Please sign in to comment.