diff options
| author | Igor Minar | 2013-08-09 00:16:27 -0700 |
|---|---|---|
| committer | Igor Minar | 2013-08-09 00:39:31 -0700 |
| commit | b3087421f20241f9bcb9b1f00ee9a30efc8b0899 (patch) | |
| tree | 73ea7d976d1f56687db196e876f41e39fcdea209 /src | |
| parent | 3824e40011df1c0fdf5964d78776f1a12a29c144 (diff) | |
| download | angular.js-b3087421f20241f9bcb9b1f00ee9a30efc8b0899.tar.bz2 | |
docs(jqLite): update the minErr codes for on() and off()
Diffstat (limited to 'src')
| -rw-r--r-- | src/jqLite.js | 4 |
1 files changed, 2 insertions, 2 deletions
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'); |
