diff options
| author | Timothée Jeannin | 2014-03-04 20:39:10 +0100 | 
|---|---|---|
| committer | Tobias Bosch | 2014-03-05 16:30:51 -0800 | 
| commit | 933537860247de35c21db060ae9ae1f87bb30d53 (patch) | |
| tree | 3a5ae308aa246de8e3d48d544b5250f1c80effc8 /src | |
| parent | de2ecb8a969aa4c96da59e94c0aa9fa84ab232e0 (diff) | |
| download | angular.js-933537860247de35c21db060ae9ae1f87bb30d53.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 | 
