2017-01-03 21:47:33 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| View to Bind JavaScript Vars To
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Set this value to the name of the view (or partial) that
|
|
|
|
| you want to prepend all JavaScript variables to.
|
|
|
|
| This can be a single view, or an array of views.
|
|
|
|
| Example: 'footer' or ['footer', 'bottom']
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
'bind_js_vars_to_this_view' => [
|
2017-03-30 20:23:25 +00:00
|
|
|
'layouts.scripts',
|
2017-01-03 21:47:33 +00:00
|
|
|
],
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| JavaScript Namespace
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| By default, we'll add variables to the global window object. However,
|
|
|
|
| it's recommended that you change this to some namespace - anything.
|
|
|
|
| That way, you can access vars, like "SomeNamespace.someVariable."
|
|
|
|
|
|
|
|
|
*/
|
2017-01-03 22:46:30 +00:00
|
|
|
'js_namespace' => 'Pterodactyl',
|
2017-01-03 21:47:33 +00:00
|
|
|
];
|