Socket
Socket
Sign inDemoInstall

fg-loadcss

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fg-loadcss - npm Package Compare versions

Comparing version 0.1.2 to 0.1.4

3

loadCSS.js

@@ -6,3 +6,3 @@ /*!

*/
function loadCSS( href, before, media ){
function loadCSS( href, before, media, callback ){
"use strict";

@@ -23,2 +23,3 @@ // Arguments explained:

ss.media = "only x";
ss.onload = callback || function() {};
// inject link

@@ -25,0 +26,0 @@ ref.parentNode.insertBefore( ss, ref );

{
"name": "fg-loadcss",
"version": "0.1.2",
"version": "0.1.4",
"description": "A function for loading CSS asynchronously",

@@ -5,0 +5,0 @@ "main": "loadCSS.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc