Skip to content

Commit

Permalink
Merge pull request #377 from informatics-lab/fix-server-container
Browse files Browse the repository at this point in the history
Fix server container
  • Loading branch information
andrewgryan authored May 15, 2020
2 parents ed8505c + 9fac8f5 commit 9b9c281
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion forest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
.. automodule:: forest.presets
"""
__version__ = '0.17.0'
__version__ = '0.17.1'

from .config import *
from . import (
Expand Down
26 changes: 26 additions & 0 deletions forest/static/forest-min.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
(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){
const helloWorld = () => "Hello, World!"


// Populate variable options from dataset value
const link_selects = function(dataset_select, variable_select, source) {
let label = dataset_select.value;
if (label !== "") {
let index = source.data['datasets'].indexOf(label)
let defaults = ["Please specify"];
variable_select.options = defaults.concat(
source.data['variables'][index]);
}
}


module.exports = {
helloWorld,
link_selects
}

},{}],2:[function(require,module,exports){
window.forest = require('./forest')


},{"./forest":1}]},{},[2]);

0 comments on commit 9b9c281

Please sign in to comment.