summaryrefslogtreecommitdiffstats
path: root/jquery.once.js
diff options
context:
space:
mode:
authorRob Loach <robloach@gmail.com>2014-12-19 00:44:51 -0500
committerRob Loach <robloach@gmail.com>2014-12-19 00:44:51 -0500
commit041b74c37e5480c9273d0228e635ca34a9b7fa6d (patch)
treeb6915100762faf811e3c248ba43fe1d75b6b43c1 /jquery.once.js
parentbaea88a270eb2260a7b95d11e62164d9068f705f (diff)
downloadjquery-once-041b74c37e5480c9273d0228e635ca34a9b7fa6d.zip
jquery-once-041b74c37e5480c9273d0228e635ca34a9b7fa6d.tar.gz
jquery-once-041b74c37e5480c9273d0228e635ca34a9b7fa6d.tar.bz2
Add documentation
Diffstat (limited to 'jquery.once.js')
-rw-r--r--jquery.once.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jquery.once.js b/jquery.once.js
index c8e606c..a13b9f8 100644
--- a/jquery.once.js
+++ b/jquery.once.js
@@ -53,7 +53,7 @@
$.fn.once = function (id) {
id = id || "once";
if (typeof id !== "string") {
- throw new Error("jQuery.once() parameter MUST be a string");
+ throw new Error("jQuery.once() parameter must be a string");
}
// Build the name for the data identifier. Generate a new unique id if the
// id parameter is not provided.