iucar / rpms / root

Forked from rpms/root 3 years ago
Clone
ea40f6d
diff -ur root-6.12.04.orig/bindings/pyroot/JsMVA/JPyInterface.py root-6.12.04/bindings/pyroot/JsMVA/JPyInterface.py
ea40f6d
--- root-6.12.04.orig/bindings/pyroot/JsMVA/JPyInterface.py	2017-12-13 08:27:42.000000000 +0100
ea40f6d
+++ root-6.12.04/bindings/pyroot/JsMVA/JPyInterface.py	2018-01-08 13:07:08.088711528 +0100
ea40f6d
@@ -188,7 +188,7 @@
ea40f6d
 ## Class for creating the output scripts and inserting them to cell output
ea40f6d
 class JsDraw:
ea40f6d
     ## Base repository
ea40f6d
-    __jsMVARepo = "https://root.cern.ch/js/jsmva/latest"
ea40f6d
+    __jsMVARepo = "/static/JsMVA"
ea40f6d
  
ea40f6d
     ## String containing the link to JavaScript files
ea40f6d
     __jsMVASourceDir = __jsMVARepo + "/js"
b8c8500
diff -ur root-6.12.04.orig/bindings/pyroot/JupyROOT/helpers/utils.py root-6.12.04/bindings/pyroot/JupyROOT/helpers/utils.py
b8c8500
--- root-6.12.04.orig/bindings/pyroot/JupyROOT/helpers/utils.py	2017-12-13 08:27:42.000000000 +0100
b8c8500
+++ root-6.12.04/bindings/pyroot/JupyROOT/helpers/utils.py	2018-01-08 13:13:40.857391851 +0100
ea40f6d
@@ -39,7 +39,7 @@
ea40f6d
 _jsNotDrawableClassesPatterns = ["TEve*","TF3","TPolyLine3D"]
ea40f6d
 
ea40f6d
 
ea40f6d
-_jsROOTSourceDir = "https://root.cern.ch/js/notebook/"
ea40f6d
+_jsROOTSourceDir = "/static/jsroot/"
ea40f6d
 _jsCanvasWidth = 800
ea40f6d
 _jsCanvasHeight = 600
ea40f6d
 
ea40f6d
diff -ur root-6.12.04.orig/etc/notebook/JsMVA/js/JsMVA.js root-6.12.04/etc/notebook/JsMVA/js/JsMVA.js
ea40f6d
--- root-6.12.04.orig/etc/notebook/JsMVA/js/JsMVA.js	2017-12-13 08:27:42.000000000 +0100
ea40f6d
+++ root-6.12.04/etc/notebook/JsMVA/js/JsMVA.js	2018-01-08 13:20:04.248138322 +0100
ea40f6d
@@ -16,7 +16,7 @@
ea40f6d
 
ea40f6d
 (function(factory){
ea40f6d
 
ea40f6d
-    var JSROOT_source_dir = "https://root.cern.ch/js/notebook/scripts/";
ea40f6d
+    var JSROOT_source_dir = "/static/jsroot/scripts/";
ea40f6d
 
ea40f6d
     var url = "";
ea40f6d
     if (requirejs.s.contexts.hasOwnProperty("_")) {