Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Allow ember-prism to be used by other addons #13

Merged
merged 1 commit into from
Sep 4, 2015

Conversation

dfreeman
Copy link
Contributor

This change allows addons to make use of ember-prism in their own components (with a bit of elbow grease from the author). It contains small refactorings to expose two functions, installPrismBowerPackage and importPrismSources, to allow consuming addons to pull Prism into their host applications. This follows a similar form-factor to the solution used by ember-tether.

I pulled the definition of those two functions off of their owning objects to reinforce for the authors of any future changes that they're now "public", but can move them back inline if you'd prefer.

The change as a whole just amounted to some refactoring and documentation. Apps using ember-prism today should see no difference.

Note: one acceptance test (Acceptance | CodeBlock: has line-numbers plugin) is failing, but that also seems to be the case on master.

@dfreeman
Copy link
Contributor Author

Ping @brandonjmckay – anything I can do to help clarify on this?

@bj-mcduck
Copy link
Contributor

Cool, thanks. Just got back from vacation. I'll try to check this out this week.
I may have some questions about it.

bj-mcduck pushed a commit that referenced this pull request Sep 4, 2015
Allow ember-prism to be used by other addons
@bj-mcduck bj-mcduck merged commit 99272bf into shipshapecode:master Sep 4, 2015
@dfreeman
Copy link
Contributor Author

dfreeman commented Sep 8, 2015

👍 Thanks!

@dfreeman
Copy link
Contributor Author

@brandonjmckay Not urgent, but when you have a chance could you publish a new release to NPM to capture these changes?

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

Successfully merging this pull request may close these issues.

2 participants