From b59fac080cb61d6cbb9e09092ba5383b4c259faa Mon Sep 17 00:00:00 2001 From: Brian Whitton Date: Tue, 28 Mar 2017 14:07:22 -0700 Subject: [PATCH 1/2] don't rely on our forked version of ember-wormhole anymore --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 46017faac..fe6134618 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "ember-moment": "6.1.0", "ember-multiselect-checkboxes": "0.10.1", "ember-poll": "^1.0.1", - "ember-power-select": "^1.0.0-beta.19", + "ember-power-select": "1.6.0", "ember-query-method": "^0.1.0", "ember-resolver": "^2.0.3", "ember-responsive": "2.0.0", @@ -88,7 +88,7 @@ "ember-sortable": "1.9.0", "ember-truth-helpers": "1.2.0", "ember-waypoints": "nypublicradio/ember-waypoints", - "ember-wormhole": "nypublicradio/ember-wormhole", + "ember-wormhole": "0.5.1", "glob": "7.1.1", "grunt": "^1.0.1", "grunt-modernizr": "^1.0.2", From 429031387cd40c9cd35abe6c78604fd6a35c814a Mon Sep 17 00:00:00 2001 From: Brian Whitton Date: Fri, 31 Mar 2017 14:10:48 -0400 Subject: [PATCH 2/2] pass in audio service to all embedded components --- app/components/django-page/template.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/django-page/template.hbs b/app/components/django-page/template.hbs index 072b37263..8881b5d18 100644 --- a/app/components/django-page/template.hbs +++ b/app/components/django-page/template.hbs @@ -10,7 +10,7 @@ classNames=ec.componentName currentAudio=(if (eq ec.componentName 'listen-button.embedded') audio.currentId) playState=(if (eq ec.componentName 'listen-button.embedded') audio.playState) - audio=(if (eq ec.componentName 'listen-button.embedded') audio) + audio=audio embeddedAttrs=ec.args}} {{/ember-wormhole}} {{/each}}