diff options
| author | Igor Minar | 2013-07-01 16:04:08 -0700 | 
|---|---|---|
| committer | Igor Minar | 2013-07-01 16:04:08 -0700 | 
| commit | 52c538c26932816a1ea4805490dc2673f82bf901 (patch) | |
| tree | 6dcca40dcdea5d20a14f6d6e5ee97f389f3b350c /src/jqLite.js | |
| parent | c8fcf3b369dbe866815e18e0fa4d71f3e679bc5f (diff) | |
| download | angular.js-52c538c26932816a1ea4805490dc2673f82bf901.tar.bz2 | |
fix(jqLite): rename jqLiteError to jqLiteMinErr
Diffstat (limited to 'src/jqLite.js')
| -rw-r--r-- | src/jqLite.js | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/src/jqLite.js b/src/jqLite.js index 9e3bb013..b169d1b5 100644 --- a/src/jqLite.js +++ b/src/jqLite.js @@ -92,7 +92,7 @@ function jqNextId() { return ++jqId; }  var SPECIAL_CHARS_REGEXP = /([\:\-\_]+(.))/g;  var MOZ_HACK_REGEXP = /^moz([A-Z])/; -var jqLiteError = minErr('jqLite'); +var jqLiteMinErr = minErr('jqLite');  /**   * Converts snake_case to camelCase. @@ -156,7 +156,7 @@ function JQLite(element) {    }    if (!(this instanceof JQLite)) {      if (isString(element) && element.charAt(0) != '<') { -      throw jqLiteError('nosel', 'Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element'); +      throw jqLiteMinErr('nosel', 'Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element');      }      return new JQLite(element);    } @@ -187,7 +187,7 @@ function JQLiteDealoc(element){  }  function JQLiteOff(element, type, fn) { -  if ( arguments.length > 4 ) throw jqLiteError('off_args', 'jqLite#off() does not support the `selector` parameter'); +  if ( arguments.length > 4 ) throw jqLiteMinErr('off_args', 'jqLite#off() does not support the `selector` parameter');    var events = JQLiteExpandoStore(element, 'events'),        handle = JQLiteExpandoStore(element, 'handle'); @@ -615,8 +615,8 @@ forEach({    dealoc: JQLiteDealoc,    on: function onFn(element, type, fn, other1){ -    if ( isDefined(other1) ) throw jqLiteError('on_args', 'jqLite#on() does not support the `selector` or `eventData` parameters'); -     +    if ( isDefined(other1) ) throw jqLiteMinErr('on_args', 'jqLite#on() does not support the `selector` or `eventData` parameters'); +      var events = JQLiteExpandoStore(element, 'events'),          handle = JQLiteExpandoStore(element, 'handle'); | 
