Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mag-app

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mag-app - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

19

lib/css.js

@@ -12,3 +12,4 @@ /**

//metrics = require('app:metrics'),
linkCSS;
$linkCSS = document.createElement('link'),
$style;

@@ -19,9 +20,15 @@

linkCSS = document.createElement('link');
linkCSS.rel = 'stylesheet';
linkCSS.href = window.core.theme.path + app.metrics.height + '.css' + (DEVELOP ? '?' + Date.now() : '');
document.head.appendChild(linkCSS);
$linkCSS = document.createElement('link');
$linkCSS.rel = 'stylesheet';
$linkCSS.href = window.core.theme.path + app.metrics.height + '.css' + (DEVELOP ? '?' + Date.now() : '');
document.head.appendChild($linkCSS);
if ( core.theme.vars && core.theme.vars.bodyBgFilename ) {
$style = document.createElement('style');
$style.innerText = 'body, .theme-page-background { background: url("' + core.theme.vars.bodyBgFilename.value + '"); }';
document.head.appendChild($style);
}
// public
module.exports = linkCSS;
module.exports = $linkCSS;
{
"name": "mag-app",
"version": "3.1.0",
"version": "3.2.0",
"description": "MAG SDK application core.",

@@ -5,0 +5,0 @@ "author": {

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