aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorTimo Tijhof <krinklemail@gmail.com>2017-08-01 09:52:45 -0700
committerTimmy Willison <4timmywil@gmail.com>2017-12-18 12:27:38 -0500
commitecd8ddea33dc40ae2a57e4340be03faf2ba2f99b (patch)
treed0f248befa82620226708059db84bc3a7f1ec076 /README.md
parente84d3bc02eddeb0e0ca0438952ac560a794ff463 (diff)
downloadjquery-ecd8ddea33dc40ae2a57e4340be03faf2ba2f99b.tar.gz
jquery-ecd8ddea33dc40ae2a57e4340be03faf2ba2f99b.zip
Tests: Add support for running unit tests via grunt with karma
- Update QUnit to 1.23.1 - Remove unused dl#dl from test/index.html - Remove unused map#imgmap from test/index.html - Ensure all urls to data use baseURI - Add the 'grunt karma:main' task - customContextFile & customDebugFile - Add 'npm run jenkins' script Close gh-3744 Fixes gh-1999
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 9e5b130c4..71ed006c1 100644
--- a/README.md
+++ b/README.md
@@ -323,20 +323,20 @@ fireNative( jQuery("#elem")[0], "click" );
### Add random number to url to stop caching ###
```js
-url( "some/url.php" );
+url( "some/url" );
```
Example:
```js
-url("data/test.html");
+url("index.html");
-=> "data/test.html?10538358428943"
+=> "data/index.html?10538358428943"
-url("data/test.php?foo=bar");
+url("mock.php?foo=bar");
-=> "data/test.php?foo=bar&10538358345554"
+=> "data/mock.php?foo=bar&10538358345554"
```