remove trailing whitespace

This commit is contained in:
Misko Hevery 2011-01-19 12:16:38 -08:00
parent 70c74a9c4e
commit 5d0d34ae72

View file

@ -841,20 +841,20 @@ function toKeyValue(obj) {
* *
* ## The angular distribution * ## The angular distribution
* Note that there are two versions of the angular javascript file that you can use: * Note that there are two versions of the angular javascript file that you can use:
* *
* * `angular.js` - the development version - this file is unobfuscated, uncompressed, and thus * * `angular.js` - the development version - this file is unobfuscated, uncompressed, and thus
* human-readable and useful when developing your angular applications. * human-readable and useful when developing your angular applications.
* * `angular.min.js` - the production version - this is a minified and obfuscated version of * * `angular.min.js` - the production version - this is a minified and obfuscated version of
* `angular.js`. You want to use this version when you want to load a smaller but functionally * `angular.js`. You want to use this version when you want to load a smaller but functionally
* equivalent version of the code in your application. We use the Closure compiler to create this * equivalent version of the code in your application. We use the Closure compiler to create this
* file. * file.
* *
* *
* ## Auto-bootstrap with `ng:autobind` * ## Auto-bootstrap with `ng:autobind`
* The simplest way to get an <angular/> application up and running is by inserting a script tag in * The simplest way to get an <angular/> application up and running is by inserting a script tag in
* your HTML file that bootstraps the `http://code.angularjs.org/angular-x.x.x.min.js` code and uses * your HTML file that bootstraps the `http://code.angularjs.org/angular-x.x.x.min.js` code and uses
* the special `ng:autobind` attribute, like in this snippet of HTML: * the special `ng:autobind` attribute, like in this snippet of HTML:
* *
* <pre> * <pre>
&lt;!doctype html&gt; &lt;!doctype html&gt;
&lt;html xmlns:ng="http://angularjs.org"&gt; &lt;html xmlns:ng="http://angularjs.org"&gt;
@ -916,11 +916,11 @@ function toKeyValue(obj) {
* ## Manual Bootstrap * ## Manual Bootstrap
* Using auto-bootstrap is a handy way to start using <angular/>, but advanced users who want more * Using auto-bootstrap is a handy way to start using <angular/>, but advanced users who want more
* control over the initialization process might prefer to use manual bootstrap instead. * control over the initialization process might prefer to use manual bootstrap instead.
* *
* The best way to get started with manual bootstraping is to look at the magic behind `ng:autobind` * The best way to get started with manual bootstraping is to look at the magic behind `ng:autobind`
* by writing out each step of the autobind process explicitly. Note that the following code is * by writing out each step of the autobind process explicitly. Note that the following code is
* equivalent to the code in the previous section. * equivalent to the code in the previous section.
* *
* <pre> * <pre>
&lt;!doctype html&gt; &lt;!doctype html&gt;
&lt;html xmlns:ng="http://angularjs.org"&gt; &lt;html xmlns:ng="http://angularjs.org"&gt;
@ -941,9 +941,9 @@ function toKeyValue(obj) {
&lt;/body&gt; &lt;/body&gt;
&lt;/html&gt; &lt;/html&gt;
* </pre> * </pre>
* *
* This is the sequence that your code should follow if you're bootstrapping angular on your own: * This is the sequence that your code should follow if you're bootstrapping angular on your own:
* *
* * After the page is loaded, find the root of the HTML template, which is typically the root of * * After the page is loaded, find the root of the HTML template, which is typically the root of
* the document. * the document.
* * Run the HTML compiler, which converts the templates into an executable, bi-directionally bound * * Run the HTML compiler, which converts the templates into an executable, bi-directionally bound
@ -953,7 +953,7 @@ function toKeyValue(obj) {
* ##XML Namespace * ##XML Namespace
* *IMPORTANT:* When using <angular/> you must declare the ng namespace using the xmlns tag. If you * *IMPORTANT:* When using <angular/> you must declare the ng namespace using the xmlns tag. If you
* don't declare the namespace, Internet Explorer does not render widgets properly. * don't declare the namespace, Internet Explorer does not render widgets properly.
* *
* <pre> * <pre>
* &lt;html xmlns:ng="http://angularjs.org"&gt; * &lt;html xmlns:ng="http://angularjs.org"&gt;
* </pre> * </pre>
@ -964,7 +964,7 @@ function toKeyValue(obj) {
* to form the fully qualified widget name. For example, you could map the alias `my` to your domain * to form the fully qualified widget name. For example, you could map the alias `my` to your domain
* and create a widget called my:widget. To create your own namespace, simply add another xmlsn tag * and create a widget called my:widget. To create your own namespace, simply add another xmlsn tag
* to your page, create an alias, and set it to your unique domain: * to your page, create an alias, and set it to your unique domain:
* *
* <pre> * <pre>
* &lt;html xmlns:ng="http://angularjs.org" xmlns:my="http://mydomain.com"&gt; * &lt;html xmlns:ng="http://angularjs.org" xmlns:my="http://mydomain.com"&gt;
* </pre> * </pre>
@ -973,7 +973,7 @@ function toKeyValue(obj) {
* ## Global Object * ## Global Object
* The <angular/> script creates a single global variable `angular` in the global namespace. All * The <angular/> script creates a single global variable `angular` in the global namespace. All
* APIs are bound to fields of this global object. * APIs are bound to fields of this global object.
* *
*/ */
function angularInit(config){ function angularInit(config){
if (config.autobind) { if (config.autobind) {