Socket
Socket
Sign inDemoInstall

@bimdata/bimobject-viewer-plugin

Package Overview
Dependencies
0
Maintainers
4
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

19

bimobject.plugin.js

@@ -1,11 +0,1 @@

const BIMOBJECT_URL = "{{ APP_URL }}";
// Inject CSS
var head = document.getElementsByTagName('HEAD')[0];
var link = document.createElement('link');
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = BIMOBJECT_URL + '/bimobject.css';
head.appendChild(link);
const BimObjectComponent = {

@@ -56,2 +46,11 @@ name: 'BimObjectComponent',

},
beforeCreate() {
// Inject CSS
var head = document.getElementsByTagName('HEAD')[0];
var link = document.createElement('link');
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = this.bimobject_url + '/bimobject.css';
head.appendChild(link);
},
computed: {

@@ -58,0 +57,0 @@ headers() {

{
"name": "@bimdata/bimobject-viewer-plugin",
"version": "0.0.1",
"version": "0.0.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "bimobject.plugin.js",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc