@@ -106,7 +106,7 @@ protected function generateIndex() {
106
106
foreach ($ exposedOptions as $ exposedOption ) {
107
107
$ config [$ exposedOption ] = Config::getOption ($ exposedOption );
108
108
}
109
- $ output .= "var config = " .json_encode ($ config )."; " ;
109
+ $ output .= "var config = " .json_encode ($ config )."; \n " ;
110
110
111
111
// load the ish Controls
112
112
$ ishControls = array ();
@@ -118,24 +118,24 @@ protected function generateIndex() {
118
118
}
119
119
}
120
120
$ ishControls ["ishControlsHide " ] = $ controlsToHide ;
121
- $ output .= "var ishControls = " .json_encode ($ ishControls )."; " ;
121
+ $ output .= "var ishControls = " .json_encode ($ ishControls )."; \n " ;
122
122
123
123
// load and write out the items for the navigation
124
124
$ niExporter = new NavItemsExporter ();
125
125
$ navItems = $ niExporter ->run ();
126
- $ output .= "var navItems = " .json_encode ($ navItems )."; " ;
126
+ $ output .= "var navItems = " .json_encode ($ navItems )."; \n " ;
127
127
128
128
// load and write out the items for the pattern paths
129
129
$ patternPaths = array ();
130
130
$ ppdExporter = new PatternPathDestsExporter ();
131
131
$ patternPaths = $ ppdExporter ->run ();
132
- $ output .= "var patternPaths = " .json_encode ($ patternPaths )."; " ;
132
+ $ output .= "var patternPaths = " .json_encode ($ patternPaths )."; \n " ;
133
133
134
134
// load and write out the items for the view all paths
135
135
$ viewAllPaths = array ();
136
136
$ vapExporter = new ViewAllPathsExporter ();
137
137
$ viewAllPaths = $ vapExporter ->run ($ navItems );
138
- $ output .= "var viewAllPaths = " .json_encode ($ viewAllPaths )."; " ;
138
+ $ output .= "var viewAllPaths = " .json_encode ($ viewAllPaths )."; \n " ;
139
139
140
140
// gather plugin package information
141
141
$ packagesInfo = array ();
0 commit comments