Skip to content
This repository has been archived by the owner on May 20, 2021. It is now read-only.

Can't pass properties to zf-slider #98

Open
allthesignals opened this issue Apr 11, 2018 · 0 comments
Open

Can't pass properties to zf-slider #98

allthesignals opened this issue Apr 11, 2018 · 0 comments

Comments

@allthesignals
Copy link

{{#zf-slider data-initial-start=-2082931200 data-initial-end=253392451200}}
  <span {{action 'sliderMoved' 'slider-left'}} 
    class="slider-handle" data-slider-handle 
    role="slider" 
    tabindex="1" 
    aria-controls="slider-left"></span>
  <span class="slider-fill" data-slider-fill></span>
  <span {{action 'sliderMoved' 'slider-right'}}
    class="slider-handle" data-slider-handle 
    role="slider" 
    tabindex="1" 
    aria-controls="slider-right"></span>
  <input type='hidden' id="slider-left">
  <input type='hidden' id="slider-right">
{{/zf-slider}}

Logs:
runtime.js:688 Uncaught TypeError: references[i].value is not a function
at CapturedNamedArguments.value (runtime.js:688)
at processComponentArgs (process-args.js:11)
at CurlyComponentManager.create (curly.js:150)
at runtime.js:1671
at AppendOpcodes.evaluate (runtime.js:70)
at VM.next (runtime.js:7246)
at TemplateIterator.next (runtime.js:7317)
at RootState.render (renderer.js:60)
at TransactionRunner.runInTransaction (ember-metal.js:517)
at InteractiveRenderer._renderRoots (renderer.js:323)
value @ runtime.js:688
processComponentArgs @ process-args.js:11
create @ curly.js:150
(anonymous) @ runtime.js:1671
evaluate @ runtime.js:70
next @ runtime.js:7246
next @ runtime.js:7317
RootState.render @ renderer.js:60
runInTransaction @ ember-metal.js:517
_renderRoots @ renderer.js:323
_renderRootsTransaction @ renderer.js:353
_renderRoot @ renderer.js:289
_appendDefinition @ renderer.js:214
appendOutletView @ renderer.js:202
invoke @ backburner.js:207
flush @ backburner.js:125
flush @ backburner.js:278
end @ backburner.js:410
Backburner._boundAutorunEnd @ backburner.js:372
setTimeout (async)
Backburner.platform.next @ backburner.js:360
_ensureInstance @ backburner.js:884
schedule @ backburner.js:499
(anonymous) @ rsvp.js:13
fulfill @ rsvp.js:330
handleMaybeThenable @ rsvp.js:295
resolve @ rsvp.js:303
(anonymous) @ rsvp.js:244
Promise.then (async)
tryThen @ rsvp.js:229
(anonymous) @ rsvp.js:238
(anonymous) @ rsvp.js:14
invoke @ backburner.js:205
flush @ backburner.js:125
flush @ backburner.js:278
end @ backburner.js:410
_run @ backburner.js:760
_join @ backburner.js:736
join @ backburner.js:477
run.join @ ember-metal.js:4366
(anonymous) @ ember-metal.js:4441
mightThrow @ jquery.js:3534
process @ jquery.js:3602
setTimeout (async)
(anonymous) @ jquery.js:3640
fire @ jquery.js:3268
fireWith @ jquery.js:3398
fire @ jquery.js:3406
fire @ jquery.js:3268
fireWith @ jquery.js:3398
ready @ jquery.js:3878
completed @ jquery.js:3888
VM45237:1281 Uncaught TypeError: Cannot read property 'getAttribute' of undefined
at exports.default.buildOutletTree (:1281:48)
at exports.default.build (:1253:31)
at Class.viewTree (:4656:33)
at later (:4630:25)
at invoke (backburner.js:207)
at Queue.flush (backburner.js:125)
at DeferredActionQueues.flush (backburner.js:278)
at Backburner.end (backburner.js:410)
at Backburner._runExpiredTimers (backburner.js:831)
at Backburner._boundRunExpiredTimers (backburner.js:368)
buildOutletTree @ VM45237:1281
build @ VM45237:1253
viewTree @ VM45237:4656
later @ VM45237:4630
invoke @ backburner.js:207
flush @ backburner.js:125
flush @ backburner.js:278
end @ backburner.js:410
_runExpiredTimers @ backburner.js:831
Backburner._boundRunExpiredTimers @ backburner.js:368
setTimeout (async)
Backburner.platform.setTimeout @ backburner.js:354
_installTimerTimeout @ backburner.js:876
_setTimeout @ backburner.js:778
later @ backburner.js:566
run.later @ ember-metal.js:4591
scheduledSendTree @ VM45237:4625
invoke @ backburner.js:205
flush @ backburner.js:125
flush @ backburner.js:278
end @ backburner.js:410
_run @ backburner.js:760
run @ backburner.js:468
run @ ember-metal.js:4318
wrap @ VM45237:3501
profileManager.wrapForErrors @ VM45237:3790
_profilesFinished @ VM45237:2493
invoke @ backburner.js:205
flush @ backburner.js:125
flush @ backburner.js:278
end @ backburner.js:410
_run @ backburner.js:760
run @ backburner.js:468
run @ ember-metal.js:4318
wrap @ VM45237:3501
profileManager.wrapForErrors @ VM45237:3790
ended @ VM45237:2471
flush @ VM45237:3751
invoke @ backburner.js:207
flush @ backburner.js:125
flush @ backburner.js:278
end @ backburner.js:410
_runExpiredTimers @ backburner.js:831
Backburner._boundRunExpiredTimers @ backburner.js:368
setTimeout (async)
Backburner.platform.setTimeout @ backburner.js:354
_installTimerTimeout @ backburner.js:876
_setTimeout @ backburner.js:778
later @ backburner.js:566
run.later @ ember-metal.js:4591
push @ VM45237:3736
before @ VM45237:3765
_instrumentStart @ ember-metal.js:3969
instrument @ outlet.js:24
StateBucket @ outlet.js:20
create @ outlet.js:92
(anonymous) @ runtime.js:1671
evaluate @ runtime.js:70
next @ runtime.js:7246
next @ runtime.js:7317
RootState.render @ renderer.js:60
runInTransaction @ ember-metal.js:517
_renderRoots @ renderer.js:323
_renderRootsTransaction @ renderer.js:353
_renderRoot @ renderer.js:289
_appendDefinition @ renderer.js:214
appendOutletView @ renderer.js:202
invoke @ backburner.js:207
flush @ backburner.js:125
flush @ backburner.js:278
end @ backburner.js:410
Backburner._boundAutorunEnd @ backburner.js:372
setTimeout (async)
Backburner.platform.next @ backburner.js:360
_ensureInstance @ backburner.js:884
schedule @ backburner.js:499
(anonymous) @ rsvp.js:13
fulfill @ rsvp.js:330
handleMaybeThenable @ rsvp.js:295
resolve @ rsvp.js:303
(anonymous) @ rsvp.js:244
Promise.then (async)
tryThen @ rsvp.js:229
(anonymous) @ rsvp.js:238
(anonymous) @ rsvp.js:14
invoke @ backburner.js:205
flush @ backburner.js:125
flush @ backburner.js:278
end @ backburner.js:410
_run @ backburner.js:760
_join @ backburner.js:736
join @ backburner.js:477
run.join @ ember-metal.js:4366
(anonymous) @ ember-metal.js:4441
mightThrow @ jquery.js:3534
process @ jquery.js:3602
setTimeout (async)
(anonymous) @ jquery.js:3640
fire @ jquery.js:3268
fireWith @ jquery.js:3398
fire @ jquery.js:3406
fire @ jquery.js:3268
fireWith @ jquery.js:3398
ready @ jquery.js:3878
completed @ jquery.js:3888
VM45237:1281 Uncaught TypeError: Cannot read property 'getAttribute' of undefined
at exports.default.buildOutletTree (:1281:48)
at exports.default.build (:1253:31)
at Class.viewTree (:4656:33)
at later (:4630:25)
at invoke (backburner.js:207)
at Queue.flush (backburner.js:125)
at DeferredActionQueues.flush (backburner.js:278)
at Backburner.end (backburner.js:410)
at Backburner._runExpiredTimers (backburner.js:831)
at Backburner._boundRunExpiredTimers (backburner.js:368)
buildOutletTree @ VM45237:1281
build @ VM45237:1253
viewTree @ VM45237:4656
later @ VM45237:4630
invoke @ backburner.js:207
flush @ backburner.js:125
flush @ backburner.js:278
end @ backburner.js:410
_runExpiredTimers @ backburner.js:831
Backburner._boundRunExpiredTimers @ backburner.js:368
setTimeout (async)
Backburner.platform.setTimeout @ backburner.js:354
_installTimerTimeout @ backburner.js:876
_scheduleExpiredTimers @ backburner.js:853
_runExpiredTimers @ backburner.js:830
Backburner._boundRunExpiredTimers @ backburner.js:368
setTimeout (async)
Backburner.platform.setTimeout @ backburner.js:354
_installTimerTimeout @ backburner.js:876
_setTimeout @ backburner.js:778
later @ backburner.js:566
run.later @ ember-metal.js:4591
scheduledSendTree @ VM45237:4625
invoke @ backburner.js:205
flush @ backburner.js:125
flush @ backburner.js:278
end @ backburner.js:410
_run @ backburner.js:760
run @ backburner.js:468
run @ ember-metal.js:4318
wrap @ VM45237:3501
profileManager.wrapForErrors @ VM45237:3790
_profilesFinished @ VM45237:2493
invoke @ backburner.js:205
flush @ backburner.js:125
flush @ backburner.js:278
end @ backburner.js:410
_run @ backburner.js:760
run @ backburner.js:468
run @ ember-metal.js:4318
wrap @ VM45237:3501
profileManager.wrapForErrors @ VM45237:3790
ended @ VM45237:2471
flush @ VM45237:3751
invoke @ backburner.js:207
flush @ backburner.js:125
flush @ backburner.js:278
end @ backburner.js:410
_runExpiredTimers @ backburner.js:831
Backburner._boundRunExpiredTimers @ backburner.js:368
setTimeout (async)
Backburner.platform.setTimeout @ backburner.js:354
_installTimerTimeout @ backburner.js:876
_setTimeout @ backburner.js:778
later @ backburner.js:566
run.later @ ember-metal.js:4591
push @ VM45237:3736
before @ VM45237:3765
_instrumentStart @ ember-metal.js:3969
instrument @ outlet.js:24
StateBucket @ outlet.js:20
create @ outlet.js:92
(anonymous) @ runtime.js:1671
evaluate @ runtime.js:70
next @ runtime.js:7246
next @ runtime.js:7317
RootState.render @ renderer.js:60
runInTransaction @ ember-metal.js:517
_renderRoots @ renderer.js:323
_renderRootsTransaction @ renderer.js:353
_renderRoot @ renderer.js:289
_appendDefinition @ renderer.js:214
appendOutletView @ renderer.js:202
invoke @ backburner.js:207
flush @ backburner.js:125
flush @ backburner.js:278
end @ backburner.js:410
Backburner._boundAutorunEnd @ backburner.js:372
setTimeout (async)
Backburner.platform.next @ backburner.js:360
_ensureInstance @ backburner.js:884
schedule @ backburner.js:499
(anonymous) @ rsvp.js:13
fulfill @ rsvp.js:330
handleMaybeThenable @ rsvp.js:295
resolve @ rsvp.js:303
(anonymous) @ rsvp.js:244
Promise.then (async)
tryThen @ rsvp.js:229
(anonymous) @ rsvp.js:238
(anonymous) @ rsvp.js:14
invoke @ backburner.js:205
flush @ backburner.js:125
flush @ backburner.js:278
end @ backburner.js:410
_run @ backburner.js:760
_join @ backburner.js:736
join @ backburner.js:477
run.join @ ember-metal.js:4366
(anonymous) @ ember-metal.js:4441
mightThrow @ jquery.js:3534
process @ jquery.js:3602
setTimeout (async)
(anonymous) @ jquery.js:3640
fire @ jquery.js:3268
fireWith @ jquery.js:3398
fire @ jquery.js:3406
fire @ jquery.js:3268
fireWith @ jquery.js:3398
ready @ jquery.js:3878
completed @ jquery.js:3888
VM45237:1281 Uncaught TypeError: Cannot read property 'getAttribute' of undefined
at exports.default.buildOutletTree (:1281:48)
at exports.default.build (:1253:31)
at Class.viewTree (:4656:33)
at later (:4630:25)
at invoke (backburner.js:207)
at Queue.flush (backburner.js:125)
at DeferredActionQueues.flush (backburner.js:278)
at Backburner.end (backburner.js:410)
at Backburner._runExpiredTimers (backburner.js:831)
at Backburner._boundRunExpiredTimers (backburner.js:368)
buildOutletTree @ VM45237:1281
build @ VM45237:1253
viewTree @ VM45237:4656
later @ VM45237:4630
invoke @ backburner.js:207
flush @ backburner.js:125
flush @ backburner.js:278
end @ backburner.js:410
_runExpiredTimers @ backburner.js:831
Backburner._boundRunExpiredTimers @ backburner.js:368
setTimeout (async)
Backburner.platform.setTimeout @ backburner.js:354
_installTimerTimeout @ backburner.js:876
_scheduleExpiredTimers @ backburner.js:853
_runExpiredTimers @ backburner.js:830
Backburner._boundRunExpiredTimers @ backburner.js:368
setTimeout (async)
Backburner.platform.setTimeout @ backburner.js:354
_installTimerTimeout @ backburner.js:876
_scheduleExpiredTimers @ backburner.js:853
_runExpiredTimers @ backburner.js:830
Backburner._boundRunExpiredTimers @ backburner.js:368
setTimeout (async)
Backburner.platform.setTimeout @ backburner.js:354
_installTimerTimeout @ backburner.js:876
_setTimeout @ backburner.js:778
later @ backburner.js:566
run.later @ ember-metal.js:4591
scheduledSendTree @ VM45237:4625
invoke @ backburner.js:205
flush @ backburner.js:125
flush @ backburner.js:278
end @ backburner.js:410
_run @ backburner.js:760
run @ backburner.js:468
run @ ember-metal.js:4318
wrap @ VM45237:3501
profileManager.wrapForErrors @ VM45237:3790
_profilesFinished @ VM45237:2493
invoke @ backburner.js:205
flush @ backburner.js:125
flush @ backburner.js:278
end @ backburner.js:410
_run @ backburner.js:760
run @ backburner.js:468
run @ ember-metal.js:4318
wrap @ VM45237:3501
profileManager.wrapForErrors @ VM45237:3790
ended @ VM45237:2471
flush @ VM45237:3751
invoke @ backburner.js:207
flush @ backburner.js:125
flush @ backburner.js:278
end @ backburner.js:410
_runExpiredTimers @ backburner.js:831
Backburner._boundRunExpiredTimers @ backburner.js:368
setTimeout (async)
Backburner.platform.setTimeout @ backburner.js:354
_installTimerTimeout @ backburner.js:876
_setTimeout @ backburner.js:778
later @ backburner.js:566
run.later @ ember-metal.js:4591
push @ VM45237:3736
before @ VM45237:3765
_instrumentStart @ ember-metal.js:3969
instrument @ outlet.js:24
StateBucket @ outlet.js:20
create @ outlet.js:92
(anonymous) @ runtime.js:1671
evaluate @ runtime.js:70
next @ runtime.js:7246
next @ runtime.js:7317
RootState.render @ renderer.js:60
runInTransaction @ ember-metal.js:517
_renderRoots @ renderer.js:323
_renderRootsTransaction @ renderer.js:353
_renderRoot @ renderer.js:289
_appendDefinition @ renderer.js:214
appendOutletView @ renderer.js:202
invoke @ backburner.js:207
flush @ backburner.js:125
flush @ backburner.js:278
end @ backburner.js:410
Backburner._boundAutorunEnd @ backburner.js:372
setTimeout (async)
Backburner.platform.next @ backburner.js:360
_ensureInstance @ backburner.js:884
schedule @ backburner.js:499
(anonymous) @ rsvp.js:13
fulfill @ rsvp.js:330
handleMaybeThenable @ rsvp.js:295
resolve @ rsvp.js:303
(anonymous) @ rsvp.js:244
Promise.then (async)
tryThen @ rsvp.js:229
(anonymous) @ rsvp.js:238
(anonymous) @ rsvp.js:14
invoke @ backburner.js:205
flush @ backburner.js:125
flush @ backburner.js:278
end @ backburner.js:410
_run @ backburner.js:760
_join @ backburner.js:736
join @ backburner.js:477
run.join @ ember-metal.js:4366
(anonymous) @ ember-metal.js:4441
mightThrow @ jquery.js:3534
process @ jquery.js:3602
setTimeout (async)
(anonymous) @ jquery.js:3640
fire @ jquery.js:3268
fireWith @ jquery.js:3398
fire @ jquery.js:3406
fire @ jquery.js:3268
fireWith @ jquery.js:3398
ready @ jquery.js:3878
completed @ jquery.js:3888

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant