@@ -106,7 +106,7 @@ protected function generateIndex() {
106106 foreach ($ exposedOptions as $ exposedOption ) {
107107 $ config [$ exposedOption ] = Config::getOption ($ exposedOption );
108108 }
109- $ output .= "var config = " .json_encode ($ config )."; " ;
109+ $ output .= "var config = " .json_encode ($ config )."; \n " ;
110110
111111 // load the ish Controls
112112 $ ishControls = array ();
@@ -118,24 +118,24 @@ protected function generateIndex() {
118118 }
119119 }
120120 $ ishControls ["ishControlsHide " ] = $ controlsToHide ;
121- $ output .= "var ishControls = " .json_encode ($ ishControls )."; " ;
121+ $ output .= "var ishControls = " .json_encode ($ ishControls )."; \n " ;
122122
123123 // load and write out the items for the navigation
124124 $ niExporter = new NavItemsExporter ();
125125 $ navItems = $ niExporter ->run ();
126- $ output .= "var navItems = " .json_encode ($ navItems )."; " ;
126+ $ output .= "var navItems = " .json_encode ($ navItems )."; \n " ;
127127
128128 // load and write out the items for the pattern paths
129129 $ patternPaths = array ();
130130 $ ppdExporter = new PatternPathDestsExporter ();
131131 $ patternPaths = $ ppdExporter ->run ();
132- $ output .= "var patternPaths = " .json_encode ($ patternPaths )."; " ;
132+ $ output .= "var patternPaths = " .json_encode ($ patternPaths )."; \n " ;
133133
134134 // load and write out the items for the view all paths
135135 $ viewAllPaths = array ();
136136 $ vapExporter = new ViewAllPathsExporter ();
137137 $ viewAllPaths = $ vapExporter ->run ($ navItems );
138- $ output .= "var viewAllPaths = " .json_encode ($ viewAllPaths )."; " ;
138+ $ output .= "var viewAllPaths = " .json_encode ($ viewAllPaths )."; \n " ;
139139
140140 // gather plugin package information
141141 $ packagesInfo = array ();
0 commit comments