From b3087421f20241f9bcb9b1f00ee9a30efc8b0899 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Fri, 9 Aug 2013 00:16:27 -0700 Subject: docs(jqLite): update the minErr codes for on() and off() --- src/jqLite.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/jqLite.js b/src/jqLite.js index 76031182..6ac99987 100644 --- a/src/jqLite.js +++ b/src/jqLite.js @@ -194,7 +194,7 @@ function JQLiteDealoc(element){ } function JQLiteOff(element, type, fn, unsupported) { - if (isDefined(unsupported)) throw jqLiteMinErr('off_args', 'jqLite#off() does not support the `selector` argument'); + if (isDefined(unsupported)) throw jqLiteMinErr('offargs', 'jqLite#off() does not support the `selector` argument'); var events = JQLiteExpandoStore(element, 'events'), handle = JQLiteExpandoStore(element, 'handle'); @@ -633,7 +633,7 @@ forEach({ dealoc: JQLiteDealoc, on: function onFn(element, type, fn, unsupported){ - if (isDefined(unsupported)) throw jqLiteMinErr('on_args', 'jqLite#on() does not support the `selector` or `eventData` parameters'); + if (isDefined(unsupported)) throw jqLiteMinErr('onargs', 'jqLite#on() does not support the `selector` or `eventData` parameters'); var events = JQLiteExpandoStore(element, 'events'), handle = JQLiteExpandoStore(element, 'handle'); -- cgit v1.2.3