| @@ -84,12 +84,12 @@ | ||
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | 86 | * Fetch the Javascript for ALL graphs that have been Fetched |
| 87 | 87 | */ |
| 88 | - public static function fetchJavascript() | |
| 88 | + public static function fetchJavascript($nonce = null) | |
| 89 | 89 | { |
| 90 | 90 | if(SVGGraph::$last_instance === null) |
| 91 | 91 | return ''; |
| 92 | - return SVGGraph::$last_instance->fetchJavascript(true, true); | |
| 92 | + return SVGGraph::$last_instance->fetchJavascript(true, true, $nonce); | |
| 93 | 93 | } |
| 94 | 94 | } |
| 95 | 95 | |