
Research
/Security News
npm Author Qix Compromised via Phishing Email in Major Supply Chain Attack
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
ls-ember-polymer
Advanced tools
Be cool and use Polymer and Ember together! This addon integrates Polymer with Ember, so you can use the power of custom web components in your ember apps today.
This addon forces Polymer to use Shadow DOM. Browsers that do not natively support Shadow DOM will be supplied with the polyfill. Note that using a polyfilled Shadow DOM results in slightly slower rendering.
ember install ls-ember-polymer
To use a custom element, you will have to first install it through bower. e.g.
bower install PolymerElements/paper-button --save
We now need to import the element. Add a file elements.html
in /app
with the following:
<link rel="import" href="../bower_components/paper-button/paper-button.html">
That's it! You should now be able to use the <paper-button>
element in all its glory!
https://dunnkers.github.io/ember-polymer/
The addon can be configured in the config/environment.js
file as such:
ENV['ember-polymer'] = {
option: 'value'
}
htmlImportsFile
Defaults to app/elements.html
. The file that html imports are done in, and is
used by the addon to vulcanize.
htmlImportsFile: 'app/elements.html'
vulcanizeOutput
Defaults to assets/vulcanized.html
. The output file for all vulcanized
html code and styling.
vulcanizeOutput: 'assets/vulcanized.html'
vulcanizeOptions
Allows you to set options used in vulcanize. Defaults to:
vulcanizeOptions: {
inlineCss: true
}
This addon was sponsored by Fabriquartz, a startup based in The Netherlands.
FAQs
Allows you to use Polymer in your Ember application.
The npm package ls-ember-polymer receives a total of 2 weekly downloads. As such, ls-ember-polymer popularity was classified as not popular.
We found that ls-ember-polymer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.