
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
boomsvgloader
Advanced tools
#BoomSVGLoader
BoomSVGLoader is an AJAX solution for your SVG sprite.
This plugin simply loads your compiled SVG sprite into the page immediately after the opening <body>
tag. The SVG sprite is wrapped in a visually hidden <div>
. Original technique explained on CSS Tricks.
There's a few options to get up and running with BoomSVGLoader:
git clone git://github.com/boomtownroi/boomsvgloader.git
bower install boomsvgloader --save
npm install boomsvgloader
BoomSVGLoader JS files are in the dist/ folder. Either add it to your script bundle build process or load it directly in the page.
<script src='js/boomsvgloader.min.js'></script>
Call BoomSVGLoader's load function with the path to your SVG sprite.
boomsvgloader.load('/path/to/your/sprite.svg')
Use your SVGs! The name after the # should match a symbol ID inside of your SVG sprite.
<svg><use xlink:href="#heart"/></svg>
BoomSVGLoader is maintained by using the Semantic Versioning Specification (SemVer)
Copyright 2015 BoomTown under the MIT License
FAQs
BoomSVGLoader is a simple AJAX solution for your SVG sprite.
The npm package boomsvgloader receives a total of 2 weekly downloads. As such, boomsvgloader popularity was classified as not popular.
We found that boomsvgloader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.