Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pterodactyl
GitHub Repository: pterodactyl/panel
Path: blob/1.0-develop/config/javascript.php
7382 views
1
<?php
2
3
return [
4
/*
5
|--------------------------------------------------------------------------
6
| View to Bind JavaScript Vars To
7
|--------------------------------------------------------------------------
8
|
9
| Set this value to the name of the view (or partial) that
10
| you want to prepend all JavaScript variables to.
11
| This can be a single view, or an array of views.
12
| Example: 'footer' or ['footer', 'bottom']
13
|
14
*/
15
'bind_js_vars_to_this_view' => [
16
'layouts.scripts',
17
],
18
19
/*
20
|--------------------------------------------------------------------------
21
| JavaScript Namespace
22
|--------------------------------------------------------------------------
23
|
24
| By default, we'll add variables to the global window object. However,
25
| it's recommended that you change this to some namespace - anything.
26
| That way, you can access vars, like "SomeNamespace.someVariable."
27
|
28
*/
29
'js_namespace' => 'Pterodactyl',
30
];
31
32