Skip to content

Commit 9b9c281

Browse files
authored
Merge pull request #377 from informatics-lab/fix-server-container
Fix server container
2 parents ed8505c + 9fac8f5 commit 9b9c281

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

forest/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
.. automodule:: forest.presets
2424
2525
"""
26-
__version__ = '0.17.0'
26+
__version__ = '0.17.1'
2727

2828
from .config import *
2929
from . import (

forest/static/forest-min.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
2+
const helloWorld = () => "Hello, World!"
3+
4+
5+
// Populate variable options from dataset value
6+
const link_selects = function(dataset_select, variable_select, source) {
7+
let label = dataset_select.value;
8+
if (label !== "") {
9+
let index = source.data['datasets'].indexOf(label)
10+
let defaults = ["Please specify"];
11+
variable_select.options = defaults.concat(
12+
source.data['variables'][index]);
13+
}
14+
}
15+
16+
17+
module.exports = {
18+
helloWorld,
19+
link_selects
20+
}
21+
22+
},{}],2:[function(require,module,exports){
23+
window.forest = require('./forest')
24+
25+
26+
},{"./forest":1}]},{},[2]);

0 commit comments

Comments
 (0)