diff options
| author | Timothée Jeannin | 2014-03-04 20:39:10 +0100 | 
|---|---|---|
| committer | Brian Ford | 2014-03-07 15:05:22 -0800 | 
| commit | 8c7b9b8de432e4fa6267ce7c58fca85f68001b01 (patch) | |
| tree | 3a5ae308aa246de8e3d48d544b5250f1c80effc8 /src | |
| parent | f39ac571c4b21a90e8422206d0a5bb75846ebfca (diff) | |
| download | angular.js-8c7b9b8de432e4fa6267ce7c58fca85f68001b01.tar.bz2 | |
style: enable jscs requireLeftStickedOperators rule
Closed #6544.
Diffstat (limited to 'src')
| -rw-r--r-- | src/jqLite.js | 2 | ||||
| -rw-r--r-- | src/ngSanitize/sanitize.js | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/src/jqLite.js b/src/jqLite.js index 809ede03..ba613f21 100644 --- a/src/jqLite.js +++ b/src/jqLite.js @@ -457,7 +457,7 @@ forEach({      return jqLite(element).data('$isolateScope') || jqLite(element).data('$isolateScopeNoTemplate');    }, -  controller: jqLiteController , +  controller: jqLiteController,    injector: function(element) {      return jqLiteInheritedData(element, '$injector'); diff --git a/src/ngSanitize/sanitize.js b/src/ngSanitize/sanitize.js index 35dc8f10..38d088bb 100644 --- a/src/ngSanitize/sanitize.js +++ b/src/ngSanitize/sanitize.js @@ -254,7 +254,7 @@ function htmlParser( html, handler ) {          match = html.match( DOCTYPE_REGEXP );          if ( match ) { -          html = html.replace( match[0] , ''); +          html = html.replace( match[0], '');            chars = false;          }        // end tag | 
