diff options
Diffstat (limited to 'jquery.once.js')
-rw-r--r-- | jquery.once.js | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/jquery.once.js b/jquery.once.js index 87741f9..a13b9f8 100644 --- a/jquery.once.js +++ b/jquery.once.js @@ -1,10 +1,8 @@ /*! - * jQuery Once 2.0.0-alpha.9 - * http://github.com/robloach/jquery-once - * - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html + * jQuery Once v2.0.0-alpha.9 - http://github.com/robloach/jquery-once + * @license MIT, GPL-2.0 + * http://opensource.org/licenses/MIT + * http://opensource.org/licenses/GPL-2.0 */ /** @@ -55,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. |