You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
783 B

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="chrome=1">
  6. <title>Sencha Examples</title>
  7. <script type="text/javascript" src="extjs-build/ext-all.js"></script>
  8. <link rel="stylesheet" type="text/css" href="extjs-build/resources/css/ext-all.css">
  9. <script type="text/javascript">
  10. function loadInlineExample(code, options, callback) {
  11. try {
  12. document.body.innerHTML = '';
  13. eval(code);
  14. callback && callback(true);
  15. } catch (e) {
  16. document.body.innerHTML = e;
  17. callback && callback(false, e);
  18. }
  19. }
  20. </script>
  21. </head>
  22. <body>
  23. </body>
  24. </html>