| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html id="root"> | 2 <html id="root"> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <title jscontent="title"></title> | 5 <title jscontent="title"></title> |
| 6 <script> | 6 <script> |
| 7 /** | 7 /** |
| 8 * This variable structure is here to document the structure that the template | 8 * This variable structure is here to document the structure that the template |
| 9 * expects to correctly populate the page. | 9 * expects to correctly populate the page. |
| 10 */ | 10 */ |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 /** | 79 /** |
| 80 * Takes the |extensionsData| input argument which represents data about the | 80 * Takes the |extensionsData| input argument which represents data about the |
| 81 * currently installed/running extensions and populates the html jstemplate with | 81 * currently installed/running extensions and populates the html jstemplate with |
| 82 * that data. It expects an object structure like the above. | 82 * that data. It expects an object structure like the above. |
| 83 * @param {Object} extensionsData Detailed info about installed extensions | 83 * @param {Object} extensionsData Detailed info about installed extensions |
| 84 */ | 84 */ |
| 85 function showExtensionsData(extensionsData) { | 85 function showExtensionsData(extensionsData) { |
| 86 // This is the javascript code that processes the template: | 86 // This is the javascript code that processes the template: |
| 87 var input = new JsExprContext(extensionsData); | 87 var input = new JsEvalContext(extensionsData); |
| 88 var output = document.getElementById('extensionTemplate'); | 88 var output = document.getElementById('extensionTemplate'); |
| 89 jstProcess(input, output); | 89 jstProcess(input, output); |
| 90 } | 90 } |
| 91 | 91 |
| 92 /* | 92 /* |
| 93 * Asks the C++ ExtensionDOMHandler to get details about the installed | 93 * Asks the C++ ExtensionDOMHandler to get details about the installed |
| 94 * extensions and return detailed data about the configuration. The | 94 * extensions and return detailed data about the configuration. The |
| 95 * ExtensionDOMHandler should reply to returnExtensionsData() (below). | 95 * ExtensionDOMHandler should reply to returnExtensionsData() (below). |
| 96 */ | 96 */ |
| 97 function requestExtensionsData() { | 97 function requestExtensionsData() { |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 <!-- TODO(aa): Debug link --> | 304 <!-- TODO(aa): Debug link --> |
| 305 </tr> | 305 </tr> |
| 306 </tbody> | 306 </tbody> |
| 307 </table> | 307 </table> |
| 308 </div> | 308 </div> |
| 309 </div> | 309 </div> |
| 310 </div> | 310 </div> |
| 311 </div> | 311 </div> |
| 312 </body> | 312 </body> |
| 313 </html> | 313 </html> |
| OLD | NEW |