Skip to content
This repository
Browse code

Upgrade jQuery to 1.7.2. Use path from Microsoft CDN.

  • Loading branch information...
commit cb0233d04087a11ce9399d85d51b16ea22fe5690 1 parent a178285
Jaime Bueza jbueza authored
2  demos/fonts/index.html
@@ -6,7 +6,7 @@
6 6 body { width: 800px; margin: 0 auto; }
7 7 </style>
8 8 <script src="/scripts/less-1.2.1.min.js" type="text/javascript"></script>
9   - <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
  9 + <script src="//ajax.aspnetcdn.com/ajax/jquery/jquery-1.7.2.min.js"></script>
10 10 <script type="text/javascript" src="/scripts/jquery.metro.js"></script>
11 11 </head>
12 12 <body>
4 demos/pivot/index.html
@@ -6,7 +6,7 @@
6 6 body { width: 800px; margin: 0 auto; }
7 7 </style>
8 8 <script src="/scripts/less-1.2.1.min.js" type="text/javascript"></script>
9   - <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
  9 + <script src="//ajax.aspnetcdn.com/ajax/jquery/jquery-1.7.2.min.js"></script>
10 10 <script type="text/javascript" src="/scripts/jquery.metro.js"></script>
11 11 </head>
12 12 <body>
@@ -27,7 +27,7 @@ <h1 class="accent">jqMetro</h1>
27 27
28 28 To get started, reference the two JS files
29 29
30   -<pre>&lt;script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"&gt;&lt;/script&gt;
  30 +<pre>&lt;script type="text/javascript" src="/ajax.aspnetcdn.com/ajax/jquery/jquery-1.7.2.min.js"&gt;&lt;/script&gt;
31 31 &lt;script type="text/javascript" src="/scripts/jquery.metro.js"&gt;&lt;/script&gt;</pre>
32 32
33 33 Then define the the DOM for the tabs. The <code>metro-pivot</code> represents the container for the control, and the <code>pivot-item</code> represents each item in the collection.
2  demos/slides/index.html
@@ -92,7 +92,7 @@
92 92 <link rel="stylesheet/less" type="text/css" href="/less/metro.less" />
93 93
94 94 <script src="/scripts/less-1.2.1.min.js" type="text/javascript"></script>
95   - <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
  95 + <script src="//ajax.aspnetcdn.com/ajax/jquery/jquery-1.7.2.min.js"></script>
96 96 <script type="text/javascript" src="/scripts/jquery.metro.js"></script>
97 97 </head>
98 98 <body>
2  index.html
@@ -6,7 +6,7 @@
6 6 body { width: 900px; margin: 0 auto; }
7 7 </style>
8 8 <script src="/scripts/less-1.2.1.min.js" type="text/javascript"></script>
9   - <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
  9 + <script src="//ajax.aspnetcdn.com/ajax/jquery/jquery-1.7.2.min.js"></script>
10 10 <script type="text/javascript" src="/scripts/jquery.metro.js"></script>
11 11 <script type="text/javascript" src="/scripts/tilt.js"></script>
12 12 </head>
2  node/metro.js
@@ -85,7 +85,7 @@ var jadeLayout = [
85 85 , ' link(rel=\'stylesheet\', href=\'/css/metro.css\')'
86 86 , ' style'
87 87 , ' body { width: 800px; margin: 0 auto; }'
88   - , ' script(type=\'text/javascript\', src=\'http://code.jquery.com/jquery-1.5.1.min.js\')'
  88 + , ' script(type=\'text/javascript\', src=\'//ajax.aspnetcdn.com/ajax/jquery/jquery-1.7.2.min.js\')'
89 89 , ' script(type=\'text/javascript\', src=\'/js/jquery.metro.js\')'
90 90 , ' body.whitebg.blue!= body'
91 91 ].join(eol);

0 comments on commit cb0233d

Please sign in to comment.
Something went wrong with that request. Please try again.