Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 83fbaa5

Browse files
committedOct 12, 2013
style: strip white space from files
1 parent 9f4d99f commit 83fbaa5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎src/ng/directive/ngIf.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
* position within the DOM, such as the `:first-child` or `:last-child` pseudo-classes.
1818
*
1919
* Note that when an element is removed using `ngIf` its scope is destroyed and a new scope
20-
* is created when the element is restored. The scope created within `ngIf` inherits from
20+
* is created when the element is restored. The scope created within `ngIf` inherits from
2121
* its parent scope using
2222
* {@link https://github.com/angular/angular.js/wiki/The-Nuances-of-Scope-Prototypal-Inheritance prototypal inheritance}.
2323
* An important implication of this is if `ngModel` is used within `ngIf` to bind to
2424
* a javascript primitive defined in the parent scope. In this case any modifications made to the
2525
* variable within the child scope will override (hide) the value in the parent scope.
2626
*
2727
* Also, `ngIf` recreates elements using their compiled state. An example of this behavior
28-
* is if an element's class attribute is directly modified after it's compiled, using something like
28+
* is if an element's class attribute is directly modified after it's compiled, using something like
2929
* jQuery's `.addClass()` method, and the element is later removed. When `ngIf` recreates the element
3030
* the added class will be lost because the original compiled state is used to regenerate the element.
3131
*

‎src/ng/directive/ngInclude.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* you may either {@link ng.$sceDelegateProvider#resourceUrlWhitelist whitelist them} or
1515
* {@link ng.$sce#trustAsResourceUrl wrap them} as trusted values. Refer to Angular's {@link
1616
* ng.$sce Strict Contextual Escaping}.
17-
*
17+
*
1818
* In addition, the browser's
1919
* {@link https://code.google.com/p/browsersec/wiki/Part2#Same-origin_policy_for_XMLHttpRequest
2020
* Same Origin Policy} and {@link http://www.w3.org/TR/cors/ Cross-Origin Resource Sharing

0 commit comments

Comments
 (0)
This repository has been archived.