Permalink
Browse files

Merge pull request #25 from jbueza/upgrade-jquery

Upgrade jQuery to 1.7.2. Use path from Microsoft CDN.
  • Loading branch information...
2 parents a4c82e8 + cb0233d commit 089f1a922cf6a78cc759dde1a154eaf71649b193 @shiftkey-tester shiftkey-tester committed May 10, 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
@@ -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
@@ -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 @@ <h3>usage</h3>
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
@@ -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
@@ -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
@@ -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 089f1a9

Please sign in to comment.