Commits

David Chambers  committed 7da257d

Removed unnecessary `type` attributes.

  • Participants
  • Parent commits 4a27f31

Comments (0)

Files changed (4)

File templates/_base.dhtml

         <p>Powered by <a href="http://mango.io/">Mango</a></p>{% endblock %}
     </footer>{% block scripts %}{% for script in scripts %}
     {{ script|safe }}{% endfor %}
-    <script type="text/javascript">
+    <script>
         (function () {
 
             // thanks Douglas Crockford for this elegant function
 
         }());
     </script>{% if request|internal %}
-    <script type="text/javascript">
+    <script>
         (function () {
             var flushcache, link;
             flushcache = function (event) {
             };
         }());
     </script>{% endif %}{% endblock %}{% block analytics %}{% if GOOGLE_ANALYTICS_ID and not settings.DEBUG %}
-    <script type="text/javascript">
+    <script>
         var _gaq = _gaq || [];
         _gaq.push(['_setAccount', '{{ GOOGLE_ANALYTICS_ID }}']);
         _gaq.push(['_trackPageview']);

File templates/base.dhtml

 {% extends "_base.dhtml" %}
 {% block scripts %}
 {{ block.super }}
-    <script type="text/javascript">
+    <script>
         (function (undefined) {
             var top, wrap = document.getElementById('wrap'), style = wrap.style;
 

File templates/contact.dhtml

                 </div>{% endwith %}
                 <div><input type="submit" value="Send message" /></div>
             </form>
-            <script type="text/javascript">
+            <script>
                 (function () {
                     var element, i = arguments.length;
 

File templates/document.dhtml

                         </div>{% endwith %}{% endwith %}{% endif %}
                         <div><input type="submit" value="Submit comment" /></div>
                     </form>
-                    <script type="text/javascript">
+                    <script>
                         (function () {
                             var element, i = arguments.length;