-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed8505c
commit 842af3a
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]); |