16 lines
387 B
JavaScript
16 lines
387 B
JavaScript
#!/bin/js
|
|
|
|
if( !window['~/.profile.js'] ){ // do once (remember /etc/profile gets sources multiple times!)
|
|
|
|
const isoterminal = document.querySelector('[isoterminal]').components.isoterminal.isoterminal
|
|
const scene = document.querySelector('a-scene')
|
|
|
|
window.helloworld = function(){
|
|
alert("hello world")
|
|
return "hello world"
|
|
}
|
|
|
|
window['~/.profile.js'] = true
|
|
}
|
|
|