Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var Value = require('basis.data').Value;
var Node = require('basis.ui').Node;
var Slider = require('basis.ui.slider').Slider;
var Balloon = require('basis.ui.popup').Balloon;
var File = require('type').AppFile;
var FileLink = require('type').AppFileLink;
var Viva = require('./vivagraph.js');
var fileInfoPopup = new Balloon({
template: resource('./template/popup.tmpl'),
binding: {
filename: 'data:',
name: 'data:',
parent: 'data:'
},
dir: 'center top center bottom',
autorotate: true,
handler: {
delegateChanged: function(){
if (this.delegate)
this.show(this.delegate.element);