Skip to content

Commit

Permalink
More template tweaks
Browse files Browse the repository at this point in the history
Added codemirror/* and ext CDN references to the individual entry templates for the editor.
These libraries are only used for the entry.tmpl template and aren't loaded otherwise. Also tried to optimize JS library loading slightly using `defer` to delay the disqus.js and analytics.js libs to give codemirror a bit more of a priority.
  • Loading branch information
Peter deHaan (Sencha) committed Jun 13, 2012
1 parent a35bc92 commit 63915e2
Show file tree
Hide file tree
Showing 1,031 changed files with 9,225 additions and 2,062 deletions.
5 changes: 3 additions & 2 deletions all/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8"/>
<title>All Examples | Sencha Try</title>
<meta name="description" content="Just a bunch of Ext JS and Sencha Touch examples" />
<meta name="description" content="Just a bunch of Ext JS and Sencha Touch examples." />
<meta name="keywords" content="Sencha, Ext JS, Sencha Touch" />
<meta name="author" content="Sencha Inc." />
<link href="http://hollow-galaxy-2879.herokuapp.com/assets/application.css" media="screen" rel="stylesheet" type="text/css" />
Expand Down Expand Up @@ -4420,7 +4420,8 @@ <h4 class="alt"><a href="/touch/2.0.1/guides/views.6/">views Example</a></h4>
</div>
</footer>

<script src="/scripts/analytics.js" type="text/javascript"></script>

<script src="/scripts/analytics.js" type="text/javascript" defer></script>

</body>
</html>
11 changes: 9 additions & 2 deletions extjs/4.0.7/demos/Ext.Array.clean.1/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<meta name="keywords" content="Sencha, Ext JS, Ext JS 4.0.7, Ext.Array, clean()" />
<meta name="author" content="Sencha Inc." />
<link href="http://hollow-galaxy-2879.herokuapp.com/assets/application.css" media="screen" rel="stylesheet" type="text/css" />
<link href="http://cdn.sencha.io/try/extjs/4.1.0/resources/css/ext-all-gray.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/scripts/codemirror/codemirror.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>

Expand Down Expand Up @@ -130,8 +132,13 @@ <h2 class="normalise bold clearfix">Removing empty elements from an array using
disqus_identifier = "extjs/4.0.7/demos/Ext.Array.clean.1/",
disqus_url = document.location + "about.html";
</script>
<script src="/scripts/comments.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript"></script>
<script src="/scripts/disqus.js" type="text/javascript" defer></script>

<script src="http://cdn.sencha.io/try/extjs/4.1.0/ext-all.js" type="text/javascript"></script>
<script src="/scripts/codemirror/codemirror.js" type="text/javascript"></script>
<script src="/scripts/codemirror/javascript.js" type="text/javascript"></script>
<script src="/scripts/codemirror/htmlmixed.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript" defer></script>

</body>
</html>
11 changes: 9 additions & 2 deletions extjs/4.0.7/demos/Ext.Array.contains.1/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<meta name="keywords" content="Sencha, Ext JS, Ext JS 4.0.7, Ext.Array, contains()" />
<meta name="author" content="Sencha Inc." />
<link href="http://hollow-galaxy-2879.herokuapp.com/assets/application.css" media="screen" rel="stylesheet" type="text/css" />
<link href="http://cdn.sencha.io/try/extjs/4.1.0/resources/css/ext-all-gray.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/scripts/codemirror/codemirror.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>

Expand Down Expand Up @@ -130,8 +132,13 @@ <h2 class="normalise bold clearfix">Checking whether an array contains a specifi
disqus_identifier = "extjs/4.0.7/demos/Ext.Array.contains.1/",
disqus_url = document.location + "about.html";
</script>
<script src="/scripts/comments.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript"></script>
<script src="/scripts/disqus.js" type="text/javascript" defer></script>

<script src="http://cdn.sencha.io/try/extjs/4.1.0/ext-all.js" type="text/javascript"></script>
<script src="/scripts/codemirror/codemirror.js" type="text/javascript"></script>
<script src="/scripts/codemirror/javascript.js" type="text/javascript"></script>
<script src="/scripts/codemirror/htmlmixed.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript" defer></script>

</body>
</html>
11 changes: 9 additions & 2 deletions extjs/4.0.7/demos/Ext.Button.allowDepress.1/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<meta name="keywords" content="Sencha, Ext JS, Ext JS 4.0.7, Ext.Button, Ext.button.Button, allowDepress, button" />
<meta name="author" content="Sencha Inc." />
<link href="http://hollow-galaxy-2879.herokuapp.com/assets/application.css" media="screen" rel="stylesheet" type="text/css" />
<link href="http://cdn.sencha.io/try/extjs/4.1.0/resources/css/ext-all-gray.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/scripts/codemirror/codemirror.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>

Expand Down Expand Up @@ -132,8 +134,13 @@ <h2 class="normalise bold clearfix">Preventing an Ext.Button component from bein
disqus_identifier = "extjs/4.0.7/demos/Ext.Button.allowDepress.1/",
disqus_url = document.location + "about.html";
</script>
<script src="/scripts/comments.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript"></script>
<script src="/scripts/disqus.js" type="text/javascript" defer></script>

<script src="http://cdn.sencha.io/try/extjs/4.1.0/ext-all.js" type="text/javascript"></script>
<script src="/scripts/codemirror/codemirror.js" type="text/javascript"></script>
<script src="/scripts/codemirror/javascript.js" type="text/javascript"></script>
<script src="/scripts/codemirror/htmlmixed.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript" defer></script>

</body>
</html>
11 changes: 9 additions & 2 deletions extjs/4.0.7/demos/Ext.Button.arrowAlign.1/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<meta name="keywords" content="Sencha, Ext JS, Ext JS 4.0.7, Ext.Button, Ext.button.Button, arrowAlign, button" />
<meta name="author" content="Sencha Inc." />
<link href="http://hollow-galaxy-2879.herokuapp.com/assets/application.css" media="screen" rel="stylesheet" type="text/css" />
<link href="http://cdn.sencha.io/try/extjs/4.1.0/resources/css/ext-all-gray.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/scripts/codemirror/codemirror.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>

Expand Down Expand Up @@ -132,8 +134,13 @@ <h2 class="normalise bold clearfix">Setting the menu arrow alignment on an Ext.B
disqus_identifier = "extjs/4.0.7/demos/Ext.Button.arrowAlign.1/",
disqus_url = document.location + "about.html";
</script>
<script src="/scripts/comments.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript"></script>
<script src="/scripts/disqus.js" type="text/javascript" defer></script>

<script src="http://cdn.sencha.io/try/extjs/4.1.0/ext-all.js" type="text/javascript"></script>
<script src="/scripts/codemirror/codemirror.js" type="text/javascript"></script>
<script src="/scripts/codemirror/javascript.js" type="text/javascript"></script>
<script src="/scripts/codemirror/htmlmixed.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript" defer></script>

</body>
</html>
11 changes: 9 additions & 2 deletions extjs/4.0.7/demos/Ext.Button.disabled.1/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<meta name="keywords" content="Sencha, Ext JS, Ext JS 4.0.7, Ext.Button, Ext.button.Button, button, disabled, setDisabled()" />
<meta name="author" content="Sencha Inc." />
<link href="http://hollow-galaxy-2879.herokuapp.com/assets/application.css" media="screen" rel="stylesheet" type="text/css" />
<link href="http://cdn.sencha.io/try/extjs/4.1.0/resources/css/ext-all-gray.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/scripts/codemirror/codemirror.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>

Expand Down Expand Up @@ -133,8 +135,13 @@ <h2 class="normalise bold clearfix">Disabling an Ext.Button component in Ext JS<
disqus_identifier = "extjs/4.0.7/demos/Ext.Button.disabled.1/",
disqus_url = document.location + "about.html";
</script>
<script src="/scripts/comments.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript"></script>
<script src="/scripts/disqus.js" type="text/javascript" defer></script>

<script src="http://cdn.sencha.io/try/extjs/4.1.0/ext-all.js" type="text/javascript"></script>
<script src="/scripts/codemirror/codemirror.js" type="text/javascript"></script>
<script src="/scripts/codemirror/javascript.js" type="text/javascript"></script>
<script src="/scripts/codemirror/htmlmixed.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript" defer></script>

</body>
</html>
11 changes: 9 additions & 2 deletions extjs/4.0.7/demos/Ext.Button.enableToggle.1/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<meta name="keywords" content="Sencha, Ext JS, Ext JS 4.0.7, Ext.Button, Ext.button.Button, button, enableToggle" />
<meta name="author" content="Sencha Inc." />
<link href="http://hollow-galaxy-2879.herokuapp.com/assets/application.css" media="screen" rel="stylesheet" type="text/css" />
<link href="http://cdn.sencha.io/try/extjs/4.1.0/resources/css/ext-all-gray.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/scripts/codemirror/codemirror.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>

Expand Down Expand Up @@ -132,8 +134,13 @@ <h2 class="normalise bold clearfix">Creating a simple toggle Ext.Button componen
disqus_identifier = "extjs/4.0.7/demos/Ext.Button.enableToggle.1/",
disqus_url = document.location + "about.html";
</script>
<script src="/scripts/comments.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript"></script>
<script src="/scripts/disqus.js" type="text/javascript" defer></script>

<script src="http://cdn.sencha.io/try/extjs/4.1.0/ext-all.js" type="text/javascript"></script>
<script src="/scripts/codemirror/codemirror.js" type="text/javascript"></script>
<script src="/scripts/codemirror/javascript.js" type="text/javascript"></script>
<script src="/scripts/codemirror/htmlmixed.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript" defer></script>

</body>
</html>
11 changes: 9 additions & 2 deletions extjs/4.0.7/demos/Ext.Button.handler.1/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<meta name="keywords" content="Sencha, Ext JS, Ext JS 4.0.7, Ext.Button, Ext.button.Button, button, handler" />
<meta name="author" content="Sencha Inc." />
<link href="http://hollow-galaxy-2879.herokuapp.com/assets/application.css" media="screen" rel="stylesheet" type="text/css" />
<link href="http://cdn.sencha.io/try/extjs/4.1.0/resources/css/ext-all-gray.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/scripts/codemirror/codemirror.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>

Expand Down Expand Up @@ -132,8 +134,13 @@ <h2 class="normalise bold clearfix">Adding a click handler to an Ext.Button comp
disqus_identifier = "extjs/4.0.7/demos/Ext.Button.handler.1/",
disqus_url = document.location + "about.html";
</script>
<script src="/scripts/comments.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript"></script>
<script src="/scripts/disqus.js" type="text/javascript" defer></script>

<script src="http://cdn.sencha.io/try/extjs/4.1.0/ext-all.js" type="text/javascript"></script>
<script src="/scripts/codemirror/codemirror.js" type="text/javascript"></script>
<script src="/scripts/codemirror/javascript.js" type="text/javascript"></script>
<script src="/scripts/codemirror/htmlmixed.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript" defer></script>

</body>
</html>
11 changes: 9 additions & 2 deletions extjs/4.0.7/demos/Ext.Button.href.1/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<meta name="keywords" content="Sencha, Ext JS, Ext JS 4.0.7, Ext.Button, Ext.button.Button, button, href" />
<meta name="author" content="Sencha Inc." />
<link href="http://hollow-galaxy-2879.herokuapp.com/assets/application.css" media="screen" rel="stylesheet" type="text/css" />
<link href="http://cdn.sencha.io/try/extjs/4.1.0/resources/css/ext-all-gray.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/scripts/codemirror/codemirror.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>

Expand Down Expand Up @@ -132,8 +134,13 @@ <h2 class="normalise bold clearfix">Loading a new page when a user clicks an Ext
disqus_identifier = "extjs/4.0.7/demos/Ext.Button.href.1/",
disqus_url = document.location + "about.html";
</script>
<script src="/scripts/comments.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript"></script>
<script src="/scripts/disqus.js" type="text/javascript" defer></script>

<script src="http://cdn.sencha.io/try/extjs/4.1.0/ext-all.js" type="text/javascript"></script>
<script src="/scripts/codemirror/codemirror.js" type="text/javascript"></script>
<script src="/scripts/codemirror/javascript.js" type="text/javascript"></script>
<script src="/scripts/codemirror/htmlmixed.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript" defer></script>

</body>
</html>
11 changes: 9 additions & 2 deletions extjs/4.0.7/demos/Ext.Button.icon.1/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<meta name="keywords" content="Sencha, Ext JS, Ext JS 4.0.7, Ext.Button, Ext.button.Button, button, icon" />
<meta name="author" content="Sencha Inc." />
<link href="http://hollow-galaxy-2879.herokuapp.com/assets/application.css" media="screen" rel="stylesheet" type="text/css" />
<link href="http://cdn.sencha.io/try/extjs/4.1.0/resources/css/ext-all-gray.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/scripts/codemirror/codemirror.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>

Expand Down Expand Up @@ -133,8 +135,13 @@ <h2 class="normalise bold clearfix">Displaying an icon on a Button component usi
disqus_identifier = "extjs/4.0.7/demos/Ext.Button.icon.1/",
disqus_url = document.location + "about.html";
</script>
<script src="/scripts/comments.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript"></script>
<script src="/scripts/disqus.js" type="text/javascript" defer></script>

<script src="http://cdn.sencha.io/try/extjs/4.1.0/ext-all.js" type="text/javascript"></script>
<script src="/scripts/codemirror/codemirror.js" type="text/javascript"></script>
<script src="/scripts/codemirror/javascript.js" type="text/javascript"></script>
<script src="/scripts/codemirror/htmlmixed.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript" defer></script>

</body>
</html>
11 changes: 9 additions & 2 deletions extjs/4.0.7/demos/Ext.Button.icon.2/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<meta name="keywords" content="Sencha, Ext JS, Ext JS 4.0.7, Ext.Button, Ext.button.Button, button, icon" />
<meta name="author" content="Sencha Inc." />
<link href="http://hollow-galaxy-2879.herokuapp.com/assets/application.css" media="screen" rel="stylesheet" type="text/css" />
<link href="http://cdn.sencha.io/try/extjs/4.1.0/resources/css/ext-all-gray.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/scripts/codemirror/codemirror.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>

Expand Down Expand Up @@ -132,8 +134,13 @@ <h2 class="normalise bold clearfix">Displaying an icon on a Button component usi
disqus_identifier = "extjs/4.0.7/demos/Ext.Button.icon.2/",
disqus_url = document.location + "about.html";
</script>
<script src="/scripts/comments.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript"></script>
<script src="/scripts/disqus.js" type="text/javascript" defer></script>

<script src="http://cdn.sencha.io/try/extjs/4.1.0/ext-all.js" type="text/javascript"></script>
<script src="/scripts/codemirror/codemirror.js" type="text/javascript"></script>
<script src="/scripts/codemirror/javascript.js" type="text/javascript"></script>
<script src="/scripts/codemirror/htmlmixed.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript" defer></script>

</body>
</html>
11 changes: 9 additions & 2 deletions extjs/4.0.7/demos/Ext.Button.listeners.click.1/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<meta name="keywords" content="Sencha, Ext JS, Ext JS 4.0.7, Ext.Button, Ext.button.Button, button, click, listeners" />
<meta name="author" content="Sencha Inc." />
<link href="http://hollow-galaxy-2879.herokuapp.com/assets/application.css" media="screen" rel="stylesheet" type="text/css" />
<link href="http://cdn.sencha.io/try/extjs/4.1.0/resources/css/ext-all-gray.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/scripts/codemirror/codemirror.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>

Expand Down Expand Up @@ -133,8 +135,13 @@ <h2 class="normalise bold clearfix">Adding a click handler to an Ext.Button comp
disqus_identifier = "extjs/4.0.7/demos/Ext.Button.listeners.click.1/",
disqus_url = document.location + "about.html";
</script>
<script src="/scripts/comments.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript"></script>
<script src="/scripts/disqus.js" type="text/javascript" defer></script>

<script src="http://cdn.sencha.io/try/extjs/4.1.0/ext-all.js" type="text/javascript"></script>
<script src="/scripts/codemirror/codemirror.js" type="text/javascript"></script>
<script src="/scripts/codemirror/javascript.js" type="text/javascript"></script>
<script src="/scripts/codemirror/htmlmixed.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript" defer></script>

</body>
</html>
11 changes: 9 additions & 2 deletions extjs/4.0.7/demos/Ext.Button.menu.1/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<meta name="keywords" content="Sencha, Ext JS, Ext JS 4.0.7, Ext.Button, Ext.button.Button, button, menu" />
<meta name="author" content="Sencha Inc." />
<link href="http://hollow-galaxy-2879.herokuapp.com/assets/application.css" media="screen" rel="stylesheet" type="text/css" />
<link href="http://cdn.sencha.io/try/extjs/4.1.0/resources/css/ext-all-gray.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/scripts/codemirror/codemirror.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>

Expand Down Expand Up @@ -132,8 +134,13 @@ <h2 class="normalise bold clearfix">Adding a submenu to an Ext.Button component
disqus_identifier = "extjs/4.0.7/demos/Ext.Button.menu.1/",
disqus_url = document.location + "about.html";
</script>
<script src="/scripts/comments.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript"></script>
<script src="/scripts/disqus.js" type="text/javascript" defer></script>

<script src="http://cdn.sencha.io/try/extjs/4.1.0/ext-all.js" type="text/javascript"></script>
<script src="/scripts/codemirror/codemirror.js" type="text/javascript"></script>
<script src="/scripts/codemirror/javascript.js" type="text/javascript"></script>
<script src="/scripts/codemirror/htmlmixed.js" type="text/javascript"></script>
<script src="/scripts/analytics.js" type="text/javascript" defer></script>

</body>
</html>
Loading

0 comments on commit 63915e2

Please sign in to comment.