summaryrefslogtreecommitdiffstats
path: root/jquery.once.js
diff options
context:
space:
mode:
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.