/[projects]/misc/horsensspejder-web/jquery/jquery-ui-1.10.3/tests/jquery.js
ViewVC logotype

Contents of /misc/horsensspejder-web/jquery/jquery-ui-1.10.3/tests/jquery.js

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2125 - (show annotations) (download) (as text)
Wed Mar 12 19:30:05 2014 UTC (10 years, 3 months ago) by torben
File MIME type: application/javascript
File size: 485 byte(s)
initial import
1 (function() {
2
3 var parts = document.location.search.slice( 1 ).split( "&" ),
4 length = parts.length,
5 i = 0,
6 current,
7 version,
8 url;
9
10 for ( ; i < length; i++ ) {
11 current = parts[ i ].split( "=" );
12 if ( current[ 0 ] === "jquery" ) {
13 version = current[ 1 ];
14 break;
15 }
16 }
17
18 if ( version === "git" ) {
19 url = "http://code.jquery.com/jquery-git.js";
20 } else {
21 url = "../../jquery-" + ( version || "1.9.1" ) + ".js";
22 }
23
24 document.write( "<script src='" + url + "'></script>" );
25
26 }() );

  ViewVC Help
Powered by ViewVC 1.1.20