We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4f216f commit f958b4fCopy full SHA for f958b4f
tasks/util/patch_minified.js
@@ -8,7 +8,14 @@ var BACK = '+");';
8
*
9
* so that plotly.min.js loads in Jupyter NBs, more info here:
10
11
- * https://github.com/plotly/plotly.py/pull/545
+ * - https://github.com/plotly/plotly.py/pull/545
12
+ * - https://github.com/plotly/plotly.js/pull/914
13
+ * - https://github.com/plotly/plotly.js/pull/1094
14
+ *
15
+ * For example, this routine replaces
16
+ * 'require("+o(s)+")' -> 'require("+ o(s) +")'
17
18
+ * But works for any 1-letter variable that uglify-js may output.
19
20
*/
21
module.exports = function patchMinified(minifiedCode) {
0 commit comments