@bimdata/bimobject-viewer-plugin
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6667
189