Skip to content
Browse files

Upgrade jQuery to 1.7.2. Use path from Microsoft CDN.

  • Loading branch information...
1 parent a178285 commit cb0233d04087a11ce9399d85d51b16ea22fe5690 @jbueza jbueza committed May 8, 2012
Showing with 6 additions and 6 deletions.
  1. +1 −1 demos/fonts/index.html
  2. +2 −2 demos/pivot/index.html
  3. +1 −1 demos/slides/index.html
  4. +1 −1 index.html
  5. +1 −1 node/metro.js
View
2 demos/fonts/index.html
@@ -6,7 +6,7 @@
body { width: 800px; margin: 0 auto; }
</style>
<script src="/scripts/less-1.2.1.min.js" type="text/javascript"></script>
- <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
+ <script src="//ajax.aspnetcdn.com/ajax/jquery/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/scripts/jquery.metro.js"></script>
</head>
<body>
View
4 demos/pivot/index.html
@@ -6,7 +6,7 @@
body { width: 800px; margin: 0 auto; }
</style>
<script src="/scripts/less-1.2.1.min.js" type="text/javascript"></script>
- <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
+ <script src="//ajax.aspnetcdn.com/ajax/jquery/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/scripts/jquery.metro.js"></script>
</head>
<body>
@@ -27,7 +27,7 @@ <h1 class="accent">jqMetro</h1>
To get started, reference the two JS files
-<pre>&lt;script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"&gt;&lt;/script&gt;
+<pre>&lt;script type="text/javascript" src="/ajax.aspnetcdn.com/ajax/jquery/jquery-1.7.2.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="/scripts/jquery.metro.js"&gt;&lt;/script&gt;</pre>
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.
View
2 demos/slides/index.html
@@ -92,7 +92,7 @@
<link rel="stylesheet/less" type="text/css" href="/less/metro.less" />
<script src="/scripts/less-1.2.1.min.js" type="text/javascript"></script>
- <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
+ <script src="//ajax.aspnetcdn.com/ajax/jquery/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/scripts/jquery.metro.js"></script>
</head>
<body>
View
2 index.html
@@ -6,7 +6,7 @@
body { width: 900px; margin: 0 auto; }
</style>
<script src="/scripts/less-1.2.1.min.js" type="text/javascript"></script>
- <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
+ <script src="//ajax.aspnetcdn.com/ajax/jquery/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/scripts/jquery.metro.js"></script>
<script type="text/javascript" src="/scripts/tilt.js"></script>
</head>
View
2 node/metro.js
@@ -85,7 +85,7 @@ var jadeLayout = [
, ' link(rel=\'stylesheet\', href=\'/css/metro.css\')'
, ' style'
, ' body { width: 800px; margin: 0 auto; }'
- , ' script(type=\'text/javascript\', src=\'http://code.jquery.com/jquery-1.5.1.min.js\')'
+ , ' script(type=\'text/javascript\', src=\'//ajax.aspnetcdn.com/ajax/jquery/jquery-1.7.2.min.js\')'
, ' script(type=\'text/javascript\', src=\'/js/jquery.metro.js\')'
, ' body.whitebg.blue!= body'
].join(eol);

0 comments on commit cb0233d

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