mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-24 13:53:43 +00:00
style: strip white space from files
This commit is contained in:
parent
9f4d99f4ea
commit
83fbaa54f1
2 changed files with 3 additions and 3 deletions
|
|
@ -17,7 +17,7 @@
|
||||||
* position within the DOM, such as the `:first-child` or `:last-child` pseudo-classes.
|
* position within the DOM, such as the `:first-child` or `:last-child` pseudo-classes.
|
||||||
*
|
*
|
||||||
* Note that when an element is removed using `ngIf` its scope is destroyed and a new scope
|
* Note that when an element is removed using `ngIf` its scope is destroyed and a new scope
|
||||||
* is created when the element is restored. The scope created within `ngIf` inherits from
|
* is created when the element is restored. The scope created within `ngIf` inherits from
|
||||||
* its parent scope using
|
* its parent scope using
|
||||||
* {@link https://github.com/angular/angular.js/wiki/The-Nuances-of-Scope-Prototypal-Inheritance prototypal inheritance}.
|
* {@link https://github.com/angular/angular.js/wiki/The-Nuances-of-Scope-Prototypal-Inheritance prototypal inheritance}.
|
||||||
* An important implication of this is if `ngModel` is used within `ngIf` to bind to
|
* An important implication of this is if `ngModel` is used within `ngIf` to bind to
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
* variable within the child scope will override (hide) the value in the parent scope.
|
* variable within the child scope will override (hide) the value in the parent scope.
|
||||||
*
|
*
|
||||||
* Also, `ngIf` recreates elements using their compiled state. An example of this behavior
|
* Also, `ngIf` recreates elements using their compiled state. An example of this behavior
|
||||||
* is if an element's class attribute is directly modified after it's compiled, using something like
|
* is if an element's class attribute is directly modified after it's compiled, using something like
|
||||||
* jQuery's `.addClass()` method, and the element is later removed. When `ngIf` recreates the element
|
* jQuery's `.addClass()` method, and the element is later removed. When `ngIf` recreates the element
|
||||||
* the added class will be lost because the original compiled state is used to regenerate the element.
|
* the added class will be lost because the original compiled state is used to regenerate the element.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
* you may either {@link ng.$sceDelegateProvider#resourceUrlWhitelist whitelist them} or
|
* you may either {@link ng.$sceDelegateProvider#resourceUrlWhitelist whitelist them} or
|
||||||
* {@link ng.$sce#trustAsResourceUrl wrap them} as trusted values. Refer to Angular's {@link
|
* {@link ng.$sce#trustAsResourceUrl wrap them} as trusted values. Refer to Angular's {@link
|
||||||
* ng.$sce Strict Contextual Escaping}.
|
* ng.$sce Strict Contextual Escaping}.
|
||||||
*
|
*
|
||||||
* In addition, the browser's
|
* In addition, the browser's
|
||||||
* {@link https://code.google.com/p/browsersec/wiki/Part2#Same-origin_policy_for_XMLHttpRequest
|
* {@link https://code.google.com/p/browsersec/wiki/Part2#Same-origin_policy_for_XMLHttpRequest
|
||||||
* Same Origin Policy} and {@link http://www.w3.org/TR/cors/ Cross-Origin Resource Sharing
|
* Same Origin Policy} and {@link http://www.w3.org/TR/cors/ Cross-Origin Resource Sharing
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue